public static final class CollectionsX.OneCollection<E> extends AbstractCollection<E>
| Constructor and Description |
|---|
OneCollection(E one) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<E> |
iterator() |
int |
size() |
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequals, hashCode, parallelStream, removeIf, spliterator, streampublic OneCollection(E one)
public final int size()
size in interface Collection<E>size in class AbstractCollection<E>Copyright © 2018. All rights reserved.