it.unimi.dsi.fastutil.chars
Class AbstractChar2ObjectSortedMap.ValuesCollection
java.lang.Object
java.util.AbstractCollection<K>
it.unimi.dsi.fastutil.objects.AbstractObjectCollection<V>
it.unimi.dsi.fastutil.chars.AbstractChar2ObjectSortedMap.ValuesCollection
- All Implemented Interfaces:
- ObjectCollection<V>, ObjectIterable<V>, Iterable<V>, Collection<V>
- Enclosing class:
- AbstractChar2ObjectSortedMap<V>
protected class AbstractChar2ObjectSortedMap.ValuesCollection
- extends AbstractObjectCollection<V>
A wrapper exhibiting the values of a map.
AbstractChar2ObjectSortedMap.ValuesCollection
protected AbstractChar2ObjectSortedMap.ValuesCollection()
iterator
public ObjectIterator<V> iterator()
- Description copied from interface:
ObjectCollection
- 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 ObjectCollection<V>- Specified by:
iterator in interface ObjectIterable<V>- Specified by:
iterator in interface Iterable<V>- Specified by:
iterator in interface Collection<V>- Specified by:
iterator in class AbstractObjectCollection<V>
- Returns:
- a type-specific iterator on the elements of this collection.
contains
public boolean contains(Object k)
- Specified by:
contains in interface Collection<V>- Overrides:
contains in class AbstractCollection<V>
size
public int size()
- Specified by:
size in interface Collection<V>- Specified by:
size in class AbstractCollection<V>
clear
public void clear()
- Specified by:
clear in interface Collection<V>- Overrides:
clear in class AbstractCollection<V>
Copyright © 2011. All Rights Reserved.