E
- the element typepublic class SplittableSet<E> extends AbstractSet<E> implements HasSplittable
O(n)
insertion
/ lookup performance since computing hashcodes for the elements would require
up-front reification.Constructor and Description |
---|
SplittableSet(Splittable data,
AutoBeanCodexImpl.Coder elementCoder,
AutoBeanCodexImpl.EncodeState state) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(E e) |
void |
clear() |
Splittable |
getSplittable() |
Iterator<E> |
iterator() |
boolean |
remove(Object o) |
int |
size() |
equals, hashCode, removeAll
addAll, contains, containsAll, isEmpty, retainAll, toArray, toArray, toString
spliterator
addAll, contains, containsAll, isEmpty, parallelStream, removeIf, retainAll, stream, toArray, toArray
public SplittableSet(Splittable data, AutoBeanCodexImpl.Coder elementCoder, AutoBeanCodexImpl.EncodeState state)
public boolean add(E e)
add
in interface Collection<E>
add
in class AbstractCollection<E>
public void clear()
clear
in interface Collection<E>
clear
in class AbstractCollection<E>
public Splittable getSplittable()
getSplittable
in interface HasSplittable
public boolean remove(Object o)
remove
in interface Collection<E>
remove
in class AbstractCollection<E>
public int size()
size
in interface Collection<E>
Copyright © 2016. All rights reserved.