public static class IntCollections.IterableCollection extends AbstractIntCollection implements Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEmpty()
Returns true if this collection contains no elements.
|
IntIterator |
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, toIntArray, toIntArray, 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<Integer>size in class AbstractCollection<Integer>public boolean isEmpty()
java.util.AbstractCollectionThis implementation returns size() == 0.
isEmpty in interface Collection<Integer>isEmpty in class AbstractCollection<Integer>public IntIterator iterator()
java.util.AbstractCollectioniterator in interface IntCollectioniterator in interface IntIterableiterator in interface Iterable<Integer>iterator in interface Collection<Integer>iterator in class AbstractIntCollectionIterable.iterator()