it.unimi.dsi.fastutil.ints
Class AbstractInt2BooleanSortedMap.ValuesCollection
java.lang.Object
java.util.AbstractCollection<Boolean>
it.unimi.dsi.fastutil.booleans.AbstractBooleanCollection
it.unimi.dsi.fastutil.ints.AbstractInt2BooleanSortedMap.ValuesCollection
- All Implemented Interfaces:
- BooleanCollection, BooleanIterable, Iterable<Boolean>, Collection<Boolean>
- Enclosing class:
- AbstractInt2BooleanSortedMap
protected class AbstractInt2BooleanSortedMap.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 |
AbstractInt2BooleanSortedMap.ValuesCollection
protected AbstractInt2BooleanSortedMap.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.