Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.faces.model
Class ResultSetDataModel.WrapResultSetMap  view ResultSetDataModel.WrapResultSetMap download ResultSetDataModel.WrapResultSetMap.java

java.lang.Object
  extended byjava.util.AbstractMap
      extended byjava.util.TreeMap
          extended byjavax.faces.model.ResultSetDataModel.WrapResultSetMap
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable, java.util.SortedMap
Enclosing class:
ResultSetDataModel

private class ResultSetDataModel.WrapResultSetMap
extends java.util.TreeMap


Nested Class Summary
 
Nested classes inherited from class java.util.TreeMap
 
Nested classes inherited from class java.util.AbstractMap
 
Nested classes inherited from class java.util.Map
java.util.Map.Entry
 
Field Summary
private  int _currentIndex
           
private static long serialVersionUID
           
 
Fields inherited from class java.util.TreeMap
 
Fields inherited from class java.util.AbstractMap
 
Constructor Summary
ResultSetDataModel.WrapResultSetMap(java.util.Comparator comparator)
           
 
Method Summary
private  java.lang.Object basicGet(java.lang.Object key)
           
 void clear()
          Clears the Map so it has no keys.
 boolean containsValue(java.lang.Object value)
          Returns true if the map contains at least one mapping to the given value.
 java.util.Set entrySet()
          Returns a "set view" of this TreeMap's entries.
 java.lang.Object get(java.lang.Object key)
          Return the value in this TreeMap associated with the supplied key, or null if the key maps to nothing.
(package private)  java.lang.Object getUnderlyingKey(java.lang.Object key)
           
(package private)  java.util.Iterator getUnderlyingKeys()
           
 java.util.Set keySet()
          Returns a "set view" of this TreeMap's keys.
 java.lang.Object put(java.lang.Object key, java.lang.Object value)
          Puts the supplied value into the Map, mapped by the supplied key.
 void putAll(java.util.Map map)
          Copies all elements of the given map into this TreeMap.
 java.lang.Object remove(java.lang.Object key)
          Removes from the TreeMap and returns the value which is mapped by the supplied key.
 java.util.Collection values()
          Returns a "collection view" (or "bag view") of this TreeMap's values.
 
Methods inherited from class java.util.TreeMap
clone, comparator, containsKey, firstKey, headMap, lastKey, size, subMap, tailMap
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, isEmpty, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode, isEmpty
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

_currentIndex

private int _currentIndex
Constructor Detail

ResultSetDataModel.WrapResultSetMap

public ResultSetDataModel.WrapResultSetMap(java.util.Comparator comparator)
                                    throws java.sql.SQLException
Method Detail

clear

public void clear()
Description copied from class: java.util.TreeMap
Clears the Map so it has no keys. This is O(1).


containsValue

public boolean containsValue(java.lang.Object value)
Description copied from class: java.util.TreeMap
Returns true if the map contains at least one mapping to the given value. This requires linear time.


entrySet

public java.util.Set entrySet()
Description copied from class: java.util.TreeMap
Returns a "set view" of this TreeMap's entries. The set is backed by the TreeMap, so changes in one show up in the other. The set supports element removal, but not element addition.

Note that the iterators for all three views, from keySet(), entrySet(), and values(), traverse the TreeMap in sorted sequence.


get

public java.lang.Object get(java.lang.Object key)
Description copied from class: java.util.TreeMap
Return the value in this TreeMap associated with the supplied key, or null if the key maps to nothing. NOTE: Since the value could also be null, you must use containsKey to see if this key actually maps to something.


basicGet

private java.lang.Object basicGet(java.lang.Object key)

keySet

public java.util.Set keySet()
Description copied from class: java.util.TreeMap
Returns a "set view" of this TreeMap's keys. The set is backed by the TreeMap, so changes in one show up in the other. The set supports element removal, but not element addition.


put

public java.lang.Object put(java.lang.Object key,
                            java.lang.Object value)
Description copied from class: java.util.TreeMap
Puts the supplied value into the Map, mapped by the supplied key. The value may be retrieved by any object which equals() this key. NOTE: Since the prior value could also be null, you must first use containsKey if you want to see if you are replacing the key's mapping.


putAll

public void putAll(java.util.Map map)
Description copied from class: java.util.TreeMap
Copies all elements of the given map into this TreeMap. If this map already has a mapping for a key, the new mapping replaces the current one.


remove

public java.lang.Object remove(java.lang.Object key)
Description copied from class: java.util.TreeMap
Removes from the TreeMap and returns the value which is mapped by the supplied key. If the key maps to nothing, then the TreeMap remains unchanged, and null is returned. NOTE: Since the value could also be null, you must use containsKey to see if you are actually removing a mapping.


values

public java.util.Collection values()
Description copied from class: java.util.TreeMap
Returns a "collection view" (or "bag view") of this TreeMap's values. The collection is backed by the TreeMap, so changes in one show up in the other. The collection supports element removal, but not element addition.


getUnderlyingKey

java.lang.Object getUnderlyingKey(java.lang.Object key)

getUnderlyingKeys

java.util.Iterator getUnderlyingKeys()