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