it.unimi.dsi.fastutil.floats
Class AbstractFloat2FloatSortedMap.ValuesCollection

java.lang.Object
  extended by java.util.AbstractCollection<Float>
      extended by it.unimi.dsi.fastutil.floats.AbstractFloatCollection
          extended by it.unimi.dsi.fastutil.floats.AbstractFloat2FloatSortedMap.ValuesCollection
All Implemented Interfaces:
FloatCollection, FloatIterable, Iterable<Float>, Collection<Float>
Enclosing class:
AbstractFloat2FloatSortedMap

protected class AbstractFloat2FloatSortedMap.ValuesCollection
extends AbstractFloatCollection

A wrapper exhibiting the values of a map.


Constructor Summary
protected AbstractFloat2FloatSortedMap.ValuesCollection()
           
 
Method Summary
 void clear()
           
 boolean contains(float k)
           
 FloatIterator iterator()
          Returns a type-specific iterator on the elements of this collection.
 int size()
           
 
Methods inherited from class it.unimi.dsi.fastutil.floats.AbstractFloatCollection
add, add, addAll, addAll, contains, containsAll, containsAll, floatIterator, isEmpty, rem, rem, remove, removeAll, removeAll, retainAll, retainAll, toArray, toArray, toArray, toFloatArray, toFloatArray, 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

AbstractFloat2FloatSortedMap.ValuesCollection

protected AbstractFloat2FloatSortedMap.ValuesCollection()
Method Detail

iterator

public FloatIterator iterator()
Description copied from interface: FloatCollection
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 FloatCollection
Specified by:
iterator in interface FloatIterable
Specified by:
iterator in interface Iterable<Float>
Specified by:
iterator in interface Collection<Float>
Specified by:
iterator in class AbstractFloatCollection
Returns:
a type-specific iterator on the elements of this collection.

contains

public boolean contains(float k)
Specified by:
contains in interface FloatCollection
Overrides:
contains in class AbstractFloatCollection
See Also:
Collection.contains(Object)

size

public int size()
Specified by:
size in interface Collection<Float>
Specified by:
size in class AbstractCollection<Float>

clear

public void clear()
Specified by:
clear in interface Collection<Float>
Overrides:
clear in class AbstractCollection<Float>


Copyright © 2011. All Rights Reserved.