public static class ByteCollections.IterableCollection extends AbstractByteCollection implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected ByteIterable |
iterable |
| Modifier | Constructor and Description |
|---|---|
protected |
IterableCollection(ByteIterable iterable) |
| Modifier and Type | Method and Description |
|---|---|
it.unimi.dsi.fastutil.ints.IntIterator |
intIterator()
Returns a widened primitive iterator on the elements of this collection.
|
it.unimi.dsi.fastutil.ints.IntSpliterator |
intSpliterator()
Returns widened primitive spliterator on the elements of this collection.
|
boolean |
isEmpty() |
it.unimi.dsi.fastutil.bytes.ByteIterator |
iterator()
Returns a type-specific iterator on the elements of this collection.
|
int |
size() |
it.unimi.dsi.fastutil.bytes.ByteSpliterator |
spliterator()
Returns a type-specific spliterator on the elements of this collection.
|
add, add, addAll, addAll, contains, contains, containsAll, containsAll, rem, remove, removeAll, removeAll, retainAll, retainAll, toArray, toByteArray, toByteArray, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitintParallelStream, intStream, parallelStream, removeIf, removeIf, removeIf, streamforEach, forEach, forEachprotected final ByteIterable iterable
protected IterableCollection(ByteIterable iterable)
public int size()
size in interface java.util.Collection<java.lang.Byte>size in class java.util.AbstractCollection<java.lang.Byte>public boolean isEmpty()
isEmpty in interface java.util.Collection<java.lang.Byte>isEmpty in class java.util.AbstractCollection<java.lang.Byte>public it.unimi.dsi.fastutil.bytes.ByteIterator iterator()
ByteCollectioniterator in interface ByteCollectioniterator in interface ByteIterableiterator in interface java.lang.Iterable<java.lang.Byte>iterator in interface java.util.Collection<java.lang.Byte>iterator in class AbstractByteCollectionIterable.iterator()public it.unimi.dsi.fastutil.bytes.ByteSpliterator spliterator()
ByteCollectionSee Collection.spliterator() for more documentation on the requirements
of the returned spliterator.
spliterator in interface ByteCollectionspliterator in interface ByteIterablespliterator in interface java.lang.Iterable<java.lang.Byte>spliterator in interface java.util.Collection<java.lang.Byte>public it.unimi.dsi.fastutil.ints.IntIterator intIterator()
ByteCollection
This method is provided for the purpose of APIs that expect only the JDK's
primitive iterators, of which there are only int, long, and double.
intIterator in interface ByteCollectionintIterator in interface ByteIterablepublic it.unimi.dsi.fastutil.ints.IntSpliterator intSpliterator()
ByteCollection
This method is provided for the purpose of APIs that expect only the JDK's
primitive spliterators, of which there are only int, long, and double.
intSpliterator in interface ByteCollectionintSpliterator in interface ByteIterable