public static class ShortCollections.IterableCollection extends AbstractShortCollection implements java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEmpty() |
ShortIterator |
iterator()
Returns a type-specific iterator on the elements of this collection.
|
ShortIterator |
shortIterator()
Deprecated.
|
int |
size() |
add, add, addAll, addAll, contains, contains, containsAll, containsAll, rem, rem, remove, removeAll, removeAll, retainAll, retainAll, toArray, toArray, toArray, toShortArray, toShortArray, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic int size()
size in interface java.util.Collection<java.lang.Short>size in class java.util.AbstractCollection<java.lang.Short>public boolean isEmpty()
isEmpty in interface java.util.Collection<java.lang.Short>isEmpty in class AbstractShortCollectionpublic ShortIterator iterator()
ShortCollectionNote that this specification strengthens the one given in
Iterable.iterator(), which was already
strengthened in the corresponding type-specific class,
but was weakened by the fact that this interface extends Collection.
iterator in interface ShortCollectioniterator in interface ShortIterableiterator in interface java.lang.Iterable<java.lang.Short>iterator in interface java.util.Collection<java.lang.Short>iterator in class AbstractShortCollection@Deprecated public ShortIterator shortIterator()
AbstractShortCollectionshortIterator in interface ShortCollectionshortIterator in class AbstractShortCollectionShortCollection.iterator()