IntCollection, IntIterable, java.io.Serializable, java.lang.Iterable<java.lang.Integer>, java.util.Collection<java.lang.Integer>public static class IntCollections.IterableCollection extends AbstractIntCollection implements java.io.Serializable
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
isEmpty() |
|
IntIterator |
iterator() |
Returns a type-specific iterator on the elements of this collection.
|
int |
size() |
addAll, clear, containsAll, removeAll, retainAll, toArray, toArrayadd, add, addAll, contains, contains, containsAll, rem, remove, removeAll, retainAll, toArray, toIntArray, toIntArray, toStringaddAll, clear, containsAll, equals, hashCode, parallelStream, removeAll, retainAll, spliterator, stream, toArray, toArrayremoveIf, removeIfforEach, forEachpublic int size()
size in interface java.util.Collection<java.lang.Integer>size in class java.util.AbstractCollection<java.lang.Integer>public boolean isEmpty()
isEmpty in interface java.util.Collection<java.lang.Integer>isEmpty in class java.util.AbstractCollection<java.lang.Integer>public IntIterator iterator()
IntCollection
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 java.util.Collection<java.lang.Integer>iterator in interface IntCollectioniterator in interface IntIterableiterator in interface java.lang.Iterable<java.lang.Integer>iterator in class AbstractIntCollectionIterable.iterator()