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