com.ibm.dtfj.analyzer.j2se.wrappers
Class TreeMapWrapper.Data
java.lang.Object
com.ibm.dtfj.analyzer.j2se.wrappers.TreeMapWrapper.Data
- Enclosing class:
- TreeMapWrapper
public class TreeMapWrapper.Data
- extends java.lang.Object
An inner class used to represent the data contained in the original TreeMap. This
object implements several methods similar to those of a real TreeMap, but not all and not
exactly the same.
In particular, every key and and every value from the original TreeMap is
represented by an ObjectWrapper object here, not the original Object.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeMapWrapper.Data
protected TreeMapWrapper.Data()
size
public int size()
- Returns:
- the number of entries in the original TreeMap
get
public ObjectWrapper get(ObjectWrapper key)
- Lookup one entry from the original TreeMap
- Parameters:
key
- a ObjectWrapper that represents a key from the original TreeMap
- Returns:
- a ObjectWrapper that represents the value associated with the key in the
original TreeMap
keySet
public java.util.Set keySet()
- Returns:
- a Set containing one ObjectWrapper for each of the keys in the original TreeMap
entrySet
public java.util.Set entrySet()
- Returns:
- a Set containing one Map.entry for each of the entries in the original TreeMap,
which itself contains ObjectWrappers for the key and value
© Copyright IBM Corp. 2007, 2008 All Rights Reserved.
US Government Users Restricted Rights - Use, duplication or disclosure restricted
by GSA ADP Schedule Contract with IBM Corp.