it.unimi.dsi.fastutil.objects
Class AbstractObject2BooleanSortedMap.ValuesCollection

java.lang.Object
  extended by java.util.AbstractCollection<Boolean>
      extended by it.unimi.dsi.fastutil.booleans.AbstractBooleanCollection
          extended by it.unimi.dsi.fastutil.objects.AbstractObject2BooleanSortedMap.ValuesCollection
All Implemented Interfaces:
BooleanCollection, BooleanIterable, Iterable<Boolean>, Collection<Boolean>
Enclosing class:
AbstractObject2BooleanSortedMap<K>

protected class AbstractObject2BooleanSortedMap.ValuesCollection
extends AbstractBooleanCollection

A wrapper exhibiting the values of a map.


Constructor Summary
protected AbstractObject2BooleanSortedMap.ValuesCollection()
           
 
Method Summary
 void clear()
           
 boolean contains(boolean k)
           
 BooleanIterator iterator()
          Returns a type-specific iterator on the elements of this collection.
 int size()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Collection
equals, hashCode
 

Constructor Detail

AbstractObject2BooleanSortedMap.ValuesCollection

protected AbstractObject2BooleanSortedMap.ValuesCollection()
Method Detail

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.