javax.faces.model
Class ResultSetDataModel.WrapResultSetMap

java.lang.Object
java.util.AbstractMap
java.util.TreeMap
javax.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 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 |
Fields inherited from class java.util.TreeMap |
|
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
_currentIndex
private int _currentIndex
ResultSetDataModel.WrapResultSetMap
public ResultSetDataModel.WrapResultSetMap(java.util.Comparator comparator)
throws java.sql.SQLException
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()