public static class ByteCollections.IterableCollection extends AbstractByteCollection implements Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEmpty()
Returns true if this collection contains no elements.
|
ByteIterator |
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, toByteArray, toByteArray, 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<Byte>size in class AbstractCollection<Byte>public boolean isEmpty()
java.util.AbstractCollectionThis implementation returns size() == 0.
isEmpty in interface Collection<Byte>isEmpty in class AbstractCollection<Byte>public ByteIterator iterator()
java.util.AbstractCollectioniterator in interface ByteCollectioniterator in interface ByteIterableiterator in interface Iterable<Byte>iterator in interface Collection<Byte>iterator in class AbstractByteCollectionIterable.iterator()