Build 1.0_r1(from source)

java.util
Class TreeMap.SubMapValuesCollection<K,V>

java.lang.Object
  extended by java.util.AbstractCollection<V>
      extended by java.util.TreeMap.SubMapValuesCollection<K,V>
All Implemented Interfaces:
Iterable<V>, Collection<V>
Enclosing class:
TreeMap<K,V>

static class TreeMap.SubMapValuesCollection<K,V>
extends AbstractCollection<V>


Field Summary
(package private)  TreeMap.SubMap<K,V> subMap
           
 
Constructor Summary
TreeMap.SubMapValuesCollection(TreeMap.SubMap<K,V> subMap)
           
 
Method Summary
 boolean isEmpty()
          Returns true if the collection has no element, otherwise false.
 Iterator<V> iterator()
          Returns an Iterator on the elements of this Collection.
 int size()
          Returns the number of elements in this Collection.
 
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, contains, containsAll, remove, removeAll, retainAll, toArray, toArray, 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
 

Field Detail

subMap

TreeMap.SubMap<K,V> subMap
Constructor Detail

TreeMap.SubMapValuesCollection

public TreeMap.SubMapValuesCollection(TreeMap.SubMap<K,V> subMap)
Method Detail

isEmpty

public boolean isEmpty()
Description copied from class: AbstractCollection
Returns true if the collection has no element, otherwise false.

Specified by:
isEmpty in interface Collection<V>
Overrides:
isEmpty in class AbstractCollection<V>
Returns:
true if the collection has no element.
See Also:
Collection.size()

iterator

public Iterator<V> iterator()
Description copied from class: AbstractCollection
Returns an Iterator on the elements of this Collection. A subclass must implement the abstract methods iterator() and size().

Specified by:
iterator in interface Iterable<V>
Specified by:
iterator in interface Collection<V>
Specified by:
iterator in class AbstractCollection<V>
Returns:
an Iterator on the elements of this Collection
See Also:
Iterator

size

public int size()
Description copied from class: AbstractCollection
Returns the number of elements in this Collection.

Specified by:
size in interface Collection<V>
Specified by:
size in class AbstractCollection<V>
Returns:
the number of elements in this Collection

Build 1.0_r1(from source)

Please submit a feedback, bug or feature