it.unimi.dsi.fastutil.longs
Class AbstractLong2DoubleSortedMap.ValuesCollection
java.lang.Object
java.util.AbstractCollection<Double>
it.unimi.dsi.fastutil.doubles.AbstractDoubleCollection
it.unimi.dsi.fastutil.longs.AbstractLong2DoubleSortedMap.ValuesCollection
- All Implemented Interfaces:
- DoubleCollection, DoubleIterable, Iterable<Double>, Collection<Double>
- Enclosing class:
- AbstractLong2DoubleSortedMap
protected class AbstractLong2DoubleSortedMap.ValuesCollection
- extends AbstractDoubleCollection
A wrapper exhibiting the values of a map.
Methods inherited from class it.unimi.dsi.fastutil.doubles.AbstractDoubleCollection |
add, add, addAll, addAll, contains, containsAll, containsAll, doubleIterator, isEmpty, rem, rem, remove, removeAll, removeAll, retainAll, retainAll, toArray, toArray, toArray, toDoubleArray, toDoubleArray, toString |
AbstractLong2DoubleSortedMap.ValuesCollection
protected AbstractLong2DoubleSortedMap.ValuesCollection()
iterator
public DoubleIterator iterator()
- Description copied from interface:
DoubleCollection
- 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 DoubleCollection
- Specified by:
iterator
in interface DoubleIterable
- Specified by:
iterator
in interface Iterable<Double>
- Specified by:
iterator
in interface Collection<Double>
- Specified by:
iterator
in class AbstractDoubleCollection
- Returns:
- a type-specific iterator on the elements of this collection.
contains
public boolean contains(double k)
- Specified by:
contains
in interface DoubleCollection
- Overrides:
contains
in class AbstractDoubleCollection
- See Also:
Collection.contains(Object)
size
public int size()
- Specified by:
size
in interface Collection<Double>
- Specified by:
size
in class AbstractCollection<Double>
clear
public void clear()
- Specified by:
clear
in interface Collection<Double>
- Overrides:
clear
in class AbstractCollection<Double>
Copyright © 2011. All Rights Reserved.