public static class LongCollections.IterableCollection extends AbstractLongCollection implements java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEmpty() |
LongIterator |
iterator()
Returns a type-specific iterator on the elements of this collection.
|
int |
size() |
add, add, addAll, contains, contains, containsAll, rem, remove, removeAll, retainAll, toArray, toLongArray, toLongArray, toStringaddAll, clear, containsAll, removeAll, retainAll, toArray, toArrayequals, getClass, hashCode, notify, notifyAll, wait, wait, waitremoveIf, removeIfaddAll, clear, containsAll, equals, hashCode, parallelStream, removeAll, retainAll, spliterator, stream, toArray, toArrayforEach, forEachpublic int size()
size in interface java.util.Collection<java.lang.Long>size in class java.util.AbstractCollection<java.lang.Long>public boolean isEmpty()
isEmpty in interface java.util.Collection<java.lang.Long>isEmpty in class java.util.AbstractCollection<java.lang.Long>public LongIterator iterator()
LongCollection
Note 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 LongCollectioniterator in interface LongIterableiterator in interface java.lang.Iterable<java.lang.Long>iterator in interface java.util.Collection<java.lang.Long>iterator in class AbstractLongCollectionIterable.iterator()