public static class LongCollections.IterableCollection extends AbstractLongCollection implements Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEmpty() |
LongIterator |
iterator()
Returns a type-specific iterator on the elements of this collection.
|
LongIterator |
longIterator()
Deprecated.
|
int |
size() |
add, add, addAll, addAll, contains, contains, containsAll, containsAll, rem, rem, remove, removeAll, removeAll, retainAll, retainAll, toArray, toArray, toArray, toLongArray, toLongArray, toStringclearequals, getClass, hashCode, notify, notifyAll, wait, wait, waitclear, equals, hashCodepublic int size()
size in interface Collection<Long>size in class AbstractCollection<Long>public boolean isEmpty()
isEmpty in interface Collection<Long>isEmpty in class AbstractLongCollectionpublic LongIterator iterator()
LongCollectionNote 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 Iterable<Long>iterator in interface Collection<Long>iterator in class AbstractLongCollection@Deprecated public LongIterator longIterator()
AbstractLongCollectionlongIterator in interface LongCollectionlongIterator in class AbstractLongCollectionLongCollection.iterator()