public static class ObjectCollections.IterableCollection<K> extends AbstractObjectCollection<K> implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected ObjectIterable<K> |
iterable |
| Modifier | Constructor and Description |
|---|---|
protected |
IterableCollection(ObjectIterable<K> iterable) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEmpty() |
it.unimi.dsi.fastutil.objects.ObjectIterator<K> |
iterator()
Returns a type-specific iterator on the elements of this collection.
|
int |
size() |
it.unimi.dsi.fastutil.objects.ObjectSpliterator<K> |
spliterator()
Returns a type-specific spliterator on the elements of this collection.
|
toStringadd, addAll, clear, contains, containsAll, remove, removeAll, retainAll, toArray, toArrayclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprotected final ObjectIterable<K> iterable
protected IterableCollection(ObjectIterable<K> iterable)
public int size()
public boolean isEmpty()
public it.unimi.dsi.fastutil.objects.ObjectIterator<K> iterator()
ObjectCollectioniterator in interface ObjectCollection<K>iterator in interface ObjectIterable<K>iterator in interface java.lang.Iterable<K>iterator in interface java.util.Collection<K>iterator in class AbstractObjectCollection<K>Iterable.iterator()public it.unimi.dsi.fastutil.objects.ObjectSpliterator<K> spliterator()
ObjectCollectionSee Collection.spliterator() for more documentation on the requirements
of the returned spliterator.
spliterator in interface ObjectCollection<K>spliterator in interface ObjectIterable<K>spliterator in interface java.lang.Iterable<K>spliterator in interface java.util.Collection<K>