it.unimi.dsi.fastutil.chars
Class AbstractChar2ByteSortedMap.ValuesCollection
java.lang.Object
java.util.AbstractCollection<Byte>
it.unimi.dsi.fastutil.bytes.AbstractByteCollection
it.unimi.dsi.fastutil.chars.AbstractChar2ByteSortedMap.ValuesCollection
- All Implemented Interfaces:
- ByteCollection, ByteIterable, Iterable<Byte>, Collection<Byte>
- Enclosing class:
- AbstractChar2ByteSortedMap
protected class AbstractChar2ByteSortedMap.ValuesCollection
- extends AbstractByteCollection
A wrapper exhibiting the values of a map.
Methods inherited from class it.unimi.dsi.fastutil.bytes.AbstractByteCollection |
add, add, addAll, addAll, byteIterator, contains, containsAll, containsAll, isEmpty, rem, rem, remove, removeAll, removeAll, retainAll, retainAll, toArray, toArray, toArray, toByteArray, toByteArray, toString |
AbstractChar2ByteSortedMap.ValuesCollection
protected AbstractChar2ByteSortedMap.ValuesCollection()
iterator
public ByteIterator iterator()
- Description copied from interface:
ByteCollection
- Returns a type-specific iterator on the elements of this collection.
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
.
- Specified by:
iterator
in interface ByteCollection
- Specified by:
iterator
in interface ByteIterable
- Specified by:
iterator
in interface Iterable<Byte>
- Specified by:
iterator
in interface Collection<Byte>
- Specified by:
iterator
in class AbstractByteCollection
- Returns:
- a type-specific iterator on the elements of this collection.
contains
public boolean contains(byte k)
- Specified by:
contains
in interface ByteCollection
- Overrides:
contains
in class AbstractByteCollection
- See Also:
Collection.contains(Object)
size
public int size()
- Specified by:
size
in interface Collection<Byte>
- Specified by:
size
in class AbstractCollection<Byte>
clear
public void clear()
- Specified by:
clear
in interface Collection<Byte>
- Overrides:
clear
in class AbstractCollection<Byte>
Copyright © 2011. All Rights Reserved.