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