it.unimi.dsi.fastutil.doubles
Class AbstractDouble2ReferenceSortedMap.ValuesCollection
java.lang.Object
java.util.AbstractCollection<K>
it.unimi.dsi.fastutil.objects.AbstractReferenceCollection<V>
it.unimi.dsi.fastutil.doubles.AbstractDouble2ReferenceSortedMap.ValuesCollection
- All Implemented Interfaces:
- ObjectIterable<V>, ReferenceCollection<V>, Iterable<V>, Collection<V>
- Enclosing class:
- AbstractDouble2ReferenceSortedMap<V>
protected class AbstractDouble2ReferenceSortedMap.ValuesCollection
- extends AbstractReferenceCollection<V>
A wrapper exhibiting the values of a map.
AbstractDouble2ReferenceSortedMap.ValuesCollection
protected AbstractDouble2ReferenceSortedMap.ValuesCollection()
iterator
public ObjectIterator<V> iterator()
- Description copied from interface:
ReferenceCollection
- 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 ObjectIterable<V>- Specified by:
iterator in interface ReferenceCollection<V>- Specified by:
iterator in interface Iterable<V>- Specified by:
iterator in interface Collection<V>- Specified by:
iterator in class AbstractReferenceCollection<V>
- Returns:
- a type-specific iterator on the elements of this collection.
contains
public boolean contains(Object k)
- Specified by:
contains in interface Collection<V>- Overrides:
contains in class AbstractCollection<V>
size
public int size()
- Specified by:
size in interface Collection<V>- Specified by:
size in class AbstractCollection<V>
clear
public void clear()
- Specified by:
clear in interface Collection<V>- Overrides:
clear in class AbstractCollection<V>
Copyright © 2011. All Rights Reserved.