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

java.lang.Object
  extended by com.ibm.dtfj.analyzer.j2se.wrappers.HashSetWrapper.Data
      extended by com.ibm.dtfj.analyzer.j2se.wrappers.jre160.HashSetWrapper.Data160
Enclosing class:
HashSetWrapper

public class HashSetWrapper.Data160
extends HashSetWrapper.Data

An inner class used to represent the data contained in the original HashSet. This object implements several methods similar to those of a real HashSet, but not all and not exactly the same. In particular, every key and and every value from the original HashSet is represented by a ObjectWrapper object here, not the original Object.


Constructor Summary
HashSetWrapper.Data160()
           
 
Method Summary
 java.util.Iterator iterator()
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HashSetWrapper.Data160

public HashSetWrapper.Data160()
Method Detail

size

public int size()
Overrides:
size in class HashSetWrapper.Data
Returns:
the number of entries in the original HashSet

iterator

public java.util.Iterator iterator()
Overrides:
iterator in class HashSetWrapper.Data
Returns:
an iterator over the values in the original HashSet (each represented as a ObjectWrapper)


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