|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<java.lang.Byte>
it.unimi.dsi.fastutil.bytes.AbstractByteCollection
it.unimi.dsi.fastutil.bytes.ByteCollections.IterableCollection
public static class ByteCollections.IterableCollection
A collection wrapper class for iterables.
Method Summary | |
---|---|
ByteIterator |
byteIterator()
Deprecated. |
boolean |
isEmpty()
|
ByteIterator |
iterator()
Returns a type-specific iterator on the elements of this collection. |
int |
size()
|
Methods inherited from class it.unimi.dsi.fastutil.bytes.AbstractByteCollection |
---|
add, add, addAll, addAll, contains, contains, containsAll, containsAll, rem, rem, remove, removeAll, removeAll, retainAll, retainAll, toArray, toArray, toArray, toByteArray, toByteArray, toString |
Methods inherited from class java.util.AbstractCollection |
---|
clear |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Collection |
---|
clear, equals, hashCode |
Method Detail |
---|
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 AbstractByteCollection
public ByteIterator iterator()
ByteCollection
Note 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 ByteCollection
iterator
in interface ByteIterable
iterator
in interface java.lang.Iterable<java.lang.Byte>
iterator
in interface java.util.Collection<java.lang.Byte>
iterator
in class AbstractByteCollection
@Deprecated public ByteIterator byteIterator()
AbstractByteCollection
byteIterator
in interface ByteCollection
byteIterator
in class AbstractByteCollection
ByteCollection.iterator()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |