public static class LongCollections.IterableCollection extends AbstractLongCollection implements Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEmpty()
Returns true if this collection contains no elements.
|
LongIterator |
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, toLongArray, toLongArray, 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<Long>size in class AbstractCollection<Long>public boolean isEmpty()
java.util.AbstractCollectionThis implementation returns size() == 0.
isEmpty in interface Collection<Long>isEmpty in class AbstractCollection<Long>public LongIterator iterator()
java.util.AbstractCollectioniterator in interface LongCollectioniterator in interface LongIterableiterator in interface Iterable<Long>iterator in interface Collection<Long>iterator in class AbstractLongCollectionIterable.iterator()