com.ibm.dtfj.analyzer.j2se.wrappers
Class TreeMapWrapper
java.lang.Object
TranslatableAnalyzer
com.ibm.dtfj.analyzer.base.SimpleAnalyzerBean
com.ibm.dtfj.analyzer.helpers.ValueWrapper
com.ibm.dtfj.analyzer.helpers.objectwrapper.ObjectWrapper
com.ibm.dtfj.analyzer.helpers.base.MapWrapperBase
com.ibm.dtfj.analyzer.j2se.wrappers.TreeMapWrapper
- All Implemented Interfaces:
- IAnalyzerBase, IReport, IWrapper, java.util.Map
public class TreeMapWrapper
- extends MapWrapperBase
Extract information from a JavaObject that represents an instance of java.util.TreeMap.
Nested Class Summary |
class |
TreeMapWrapper.Data
An inner class used to represent the data contained in the original TreeMap. |
Nested classes/interfaces inherited from interface java.util.Map |
java.util.Map.Entry<K,V> |
Constructor Summary |
TreeMapWrapper()
Null constructor for use as JavaBean |
Method Summary |
java.util.Set |
entrySet()
|
TreeMapWrapper.Data |
getData()
Return an object that represents the data contained in the original TreeMap. |
static TreeMapWrapper |
getInstance(IAnalyzerContext context,
com.ibm.dtfj.java.JavaObject parent)
Find the TreeMapWrapper bean instance associated with a given parent JavaObject
(create it if necessary) |
void |
setParent(java.lang.Object parent)
Set the parent JavaObject underlying this analyzer bean. |
Methods inherited from class com.ibm.dtfj.analyzer.helpers.base.MapWrapperBase |
clear, containsKey, containsValue, get, isEmpty, keySet, produceReport, put, putAll, remove, size, values |
Methods inherited from class com.ibm.dtfj.analyzer.helpers.objectwrapper.ObjectWrapper |
checkMaskedField, endPrintGroup, getCachingPriority, getInstance, getValueAtPath, getValueAtPath, getVersion, printCollectionEntriesAtPath, printCollectionEntriesAtPath, printCollectionMapEntryReportsAtPath, printCollectionSizeAtPath, printCollectionValueReportsAtPath, printReportAtPath, printValueAtPath, printValueAtPath, setMaskedFieldPattern, startPrintGroup, toString |
Methods inherited from class com.ibm.dtfj.analyzer.helpers.ValueWrapper |
equals, getBooleanValue, getByteValue, getCharacterValue, getDoubleValue, getFloatValue, getIntegerValue, getJavaClassValue, getJavaObjectValue, getLongValue, getObjectWrapper, getObjectWrapper, getOneJavaClassValue, getOneJavaObjectValue, getRawValue, getShortValue, getStringValue, getTypeSignature, getValueWrapperInstance, hashCode, isBoolean, isByte, isCharacter, isDouble, isFloat, isInstanceOf, isInteger, isJavaClass, isJavaObject, isLong, isShort, isString |
Methods inherited from class com.ibm.dtfj.analyzer.base.SimpleAnalyzerBean |
allocateReport, allocateReportOptions, allocateSecondaryReport, getCategories, getContext, getIdentityString, getInstance, getLogger, getLongDescription, getName, getNextValidObject, getParent, getReportExtensionHelper, getResourceBundleName, getShortDescription, isPrimaryAnalyzer, printEmbeddedReport, printEmbeddedReport, printEmbeddedReportWithOptions, printEmbeddedReportWithOptions, printReportInfoHeader, recordInternalExceptionStatic, setContext |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
TreeMapWrapper
public TreeMapWrapper()
- Null constructor for use as JavaBean
getInstance
public static TreeMapWrapper getInstance(IAnalyzerContext context,
com.ibm.dtfj.java.JavaObject parent)
- Find the TreeMapWrapper bean instance associated with a given parent JavaObject
(create it if necessary)
- Parameters:
context
- the AnalyzerContext in which to locate this bean instanceparent
- the parent JavaObject underlying this analyzer bean
- Returns:
- the desired TreeMapWrapper analyzer bean
setParent
public void setParent(java.lang.Object parent)
- Set the parent JavaObject underlying this analyzer bean.
- Specified by:
setParent
in interface IWrapper
- Overrides:
setParent
in class ValueWrapper
- Parameters:
parent
- The parent object to set. Must be of type JavaObject,
and this JavaObject must represent an instance of a TreeMap.- See Also:
IWrapper.setParent(java.lang.Object)
getData
public TreeMapWrapper.Data getData()
throws com.ibm.dtfj.image.DTFJException
- Return an object that represents the data contained in the original TreeMap. See
TreeMapWrapper.Data
.
- Returns:
- an object that represents the data contained in the original TreeMap.
- Throws:
com.ibm.dtfj.image.DTFJException
entrySet
public java.util.Set entrySet()
- Specified by:
entrySet
in interface java.util.Map
- Specified by:
entrySet
in class MapWrapperBase
- See Also:
Map.entrySet()
© 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.