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
public SplittableSet(Splittable data, AutoBeanCodexImpl.Coder elementCoder, AutoBeanCodexImpl.EncodeState state)
public boolean add(E e)
add
in interface Collection<E>
add
in interface Set<E>
add
in class AbstractCollection<E>
public void clear()
clear
in interface Collection<E>
clear
in interface Set<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 interface Set<E>
remove
in class AbstractCollection<E>
public int size()
size
in interface Collection<E>
size
in interface Set<E>
size
in class AbstractCollection<E>
Copyright © 2016. All rights reserved.