public static class ByteCollections.IterableCollection extends AbstractByteCollection implements Serializable
| Modifier and Type | Method and Description |
|---|---|
ByteIterator |
byteIterator()
Deprecated.
|
boolean |
isEmpty() |
ByteIterator |
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, toByteArray, toByteArray, toStringclearequals, getClass, hashCode, notify, notifyAll, wait, wait, waitclear, equals, hashCodepublic int size()
size in interface Collection<Byte>size in class AbstractCollection<Byte>public boolean isEmpty()
isEmpty in interface Collection<Byte>isEmpty in class AbstractByteCollectionpublic ByteIterator iterator()
ByteCollectionNote 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 ByteCollectioniterator in interface ByteIterableiterator in interface Iterable<Byte>iterator in interface Collection<Byte>iterator in class AbstractByteCollection@Deprecated public ByteIterator byteIterator()
AbstractByteCollectionbyteIterator in interface ByteCollectionbyteIterator in class AbstractByteCollectionByteCollection.iterator()