public static class ShortCollections.IterableCollection extends AbstractShortCollection implements Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEmpty()
Returns true if this collection contains no elements.
|
ShortIterator |
iterator()
Returns an iterator over the elements contained in this collection.
|
int |
size()
Returns the number of elements in this collection.
|
add, add, addAll, contains, contains, containsAll, rem, remove, removeAll, retainAll, toArray, toShortArray, toShortArray, toStringaddAll, clear, containsAll, removeAll, retainAll, toArray, toArrayequals, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAll, clear, containsAll, equals, hashCode, parallelStream, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArrayforEach, forEachpublic int size()
java.util.Collectionsize in interface Collection<Short>size in class AbstractCollection<Short>public boolean isEmpty()
java.util.AbstractCollectionThis implementation returns size() == 0.
isEmpty in interface Collection<Short>isEmpty in class AbstractCollection<Short>public ShortIterator iterator()
java.util.AbstractCollectioniterator in interface ShortCollectioniterator in interface ShortIterableiterator in interface Iterable<Short>iterator in interface Collection<Short>iterator in class AbstractShortCollectionIterable.iterator()