E - public class MutableTwoElementSet<E> extends AbstractSet<E>
FlowFunction| Constructor and Description |
|---|
MutableTwoElementSet() |
MutableTwoElementSet(E first,
E second) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E item) |
Iterator<E> |
iterator() |
int |
size() |
static <E> MutableTwoElementSet<E> |
twoElementSet(E first,
E second) |
equals, hashCode, removeAlladdAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, clear, contains, containsAll, isEmpty, remove, retainAll, spliterator, toArray, toArrayparallelStream, removeIf, streampublic boolean add(E item)
add in interface Collection<E>add in interface Set<E>add in class AbstractCollection<E>public static <E> MutableTwoElementSet<E> twoElementSet(E first, E second)
public int size()
size in interface Collection<E>size in interface Set<E>size in class AbstractCollection<E>Copyright © 2021 Fraunhofer SIT. All rights reserved.