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