Package net.splitcells.dem.data.set
Class SetI<T>
- java.lang.Object
-
- net.splitcells.dem.data.set.SetI<T>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
add(T t)
boolean
addAll(Collection<? extends T> collection)
void
clear()
boolean
contains(Object o)
boolean
containsAll(Collection<?> collection)
void
ensureContains(T e)
boolean
isEmpty()
Iterator<T>
iterator()
static Set
make()
boolean
remove(Object o)
boolean
removeAll(Collection<?> collection)
boolean
retainAll(Collection<?> collection)
int
size()
Object[]
toArray()
<T1> T1[]
toArray(T1[] t1s)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.Set
equals, hashCode, spliterator
-
Methods inherited from interface net.splitcells.dem.data.set.Set
_isDeterministic, addAll, assertSizeIs, containsAny, containsAny, delete, hasOnlyOnce, with, with
-
Methods inherited from interface net.splitcells.dem.data.set.SetT
flatMapped, hasDuplicates, mapped, reduced, requireSizeOf, requireUniqueness
-
-
-
-
Method Detail
-
make
public static Set make()
-
size
public int size()
-
isEmpty
public boolean isEmpty()
-
contains
public boolean contains(Object o)
-
toArray
public Object[] toArray()
-
toArray
public <T1> T1[] toArray(T1[] t1s)
-
add
public boolean add(T t)
-
ensureContains
public void ensureContains(T e)
- Specified by:
ensureContains
in interfaceSet<T>
-
remove
public boolean remove(Object o)
-
containsAll
public boolean containsAll(Collection<?> collection)
- Specified by:
containsAll
in interfaceCollection<T>
- Specified by:
containsAll
in interfaceSet<T>
-
addAll
public boolean addAll(Collection<? extends T> collection)
-
retainAll
public boolean retainAll(Collection<?> collection)
-
removeAll
public boolean removeAll(Collection<?> collection)
-
-