com.ibm.dtfj.analyzer.j2se.wrappers.jre160
Class HashSetWrapper

java.lang.Object
  extended by TranslatableAnalyzer
      extended by com.ibm.dtfj.analyzer.base.SimpleAnalyzerBean
          extended by com.ibm.dtfj.analyzer.helpers.ValueWrapper
              extended by com.ibm.dtfj.analyzer.helpers.objectwrapper.ObjectWrapper
                  extended by com.ibm.dtfj.analyzer.helpers.base.CollectionWrapperBase
                      extended by com.ibm.dtfj.analyzer.j2se.wrappers.HashSetWrapper
                          extended by com.ibm.dtfj.analyzer.j2se.wrappers.jre160.HashSetWrapper
All Implemented Interfaces:
IAnalyzerBase, IReport, IWrapper, java.lang.Iterable, java.util.Collection

public class HashSetWrapper
extends HashSetWrapper

Extract information from a JavaObject that represents an instance of java.util.HashSet.


Nested Class Summary
 class HashSetWrapper.Data160
          An inner class used to represent the data contained in the original HashSet.
 
Nested classes/interfaces inherited from class com.ibm.dtfj.analyzer.j2se.wrappers.HashSetWrapper
HashSetWrapper.Data
 
Field Summary
 
Fields inherited from class com.ibm.dtfj.analyzer.helpers.objectwrapper.ObjectWrapper
MODE_ALL, MODE_DEFAULT, MODE_INCLUDE_HEADER, MODE_INCLUDE_SIGNATURE, MODE_NONE, MODE_SHOW_INSTANCE_FINAL_FIELDS, MODE_SHOW_INSTANCE_NONFINAL_FIELDS, MODE_SHOW_STATIC_FINAL_FIELDS, MODE_SHOW_STATIC_NONFINAL_FIELDS, MODE_SPECIAL_FULL_REPORT
 
Constructor Summary
HashSetWrapper()
          Null constructor for use as JavaBean
 
Method Summary
 HashSetWrapper.Data getData()
          Return an object that represents the data contained in the original HashSet.
 java.util.Iterator iterator()
           
 void setParent(java.lang.Object parent)
          Set the parent JavaObject underlying this analyzer bean.
 int size()
           
 
Methods inherited from class com.ibm.dtfj.analyzer.j2se.wrappers.HashSetWrapper
getInstance
 
Methods inherited from class com.ibm.dtfj.analyzer.helpers.base.CollectionWrapperBase
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, produceReport, remove, removeAll, retainAll, toArray, toArray
 
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
getBooleanValue, getByteValue, getCharacterValue, getDoubleValue, getFloatValue, getIntegerValue, getJavaClassValue, getJavaObjectValue, getLongValue, getObjectWrapper, getObjectWrapper, getOneJavaClassValue, getOneJavaObjectValue, getRawValue, getShortValue, getStringValue, getTypeSignature, getValueWrapperInstance, 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
 

Constructor Detail

HashSetWrapper

public HashSetWrapper()
Null constructor for use as JavaBean

Method Detail

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 HashSetWrapper
Parameters:
parent - The parent object to set. Must be of type JavaObject, and this JavaObject must represent an instance of a HashSet.
See Also:
IWrapper.setParent(java.lang.Object)

getData

public HashSetWrapper.Data getData()
                            throws com.ibm.dtfj.image.DTFJException
Return an object that represents the data contained in the original HashSet. See HashSetWrapper.Data160.

Overrides:
getData in class HashSetWrapper
Returns:
an object that represents the data contained in the original HashSet.
Throws:
com.ibm.dtfj.image.DTFJException

iterator

public java.util.Iterator iterator()
Specified by:
iterator in interface java.lang.Iterable
Specified by:
iterator in interface java.util.Collection
Overrides:
iterator in class HashSetWrapper
See Also:
Collection.iterator()

size

public int size()
Specified by:
size in interface java.util.Collection
Overrides:
size in class HashSetWrapper
See Also:
Collection.size()


© 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.