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