public static class IntCollections.IterableCollection extends AbstractIntCollection implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected IntIterable |
iterable |
static long |
serialVersionUID |
| Modifier | Constructor and Description |
|---|---|
protected |
IntCollections.IterableCollection(IntIterable iterable) |
| Modifier and Type | Method and Description |
|---|---|
IntIterator |
intIterator()
Deprecated.
|
boolean |
isEmpty() |
IntIterator |
iterator()
Returns a type-specific iterator on the elements of this collection.
|
int |
size() |
add, add, addAll, addAll, contains, contains, containsAll, containsAll, rem, rem, remove, removeAll, removeAll, retainAll, retainAll, toArray, toArray, toArray, toIntArray, toIntArray, toStringclearclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclear, equals, hashCodepublic static final long serialVersionUID
protected final IntIterable iterable
protected IntCollections.IterableCollection(IntIterable iterable)
public int size()
size in interface Collection<Integer>size in class AbstractCollection<Integer>public boolean isEmpty()
isEmpty in interface Collection<Integer>isEmpty in class AbstractIntCollectionpublic IntIterator iterator()
IntCollectionNote 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 IntCollectioniterator in interface IntIterableiterator in interface Iterable<Integer>iterator in interface Collection<Integer>iterator in class AbstractIntCollection@Deprecated public IntIterator intIterator()
AbstractIntCollectionintIterator in interface IntCollectionintIterator in class AbstractIntCollectionIntCollection.iterator()Copyright © 2013. All Rights Reserved.