Code example for Hashtable

Methods: elements

0
   *  as keys.  
   */ 
  protected Hashtable _all = new Hashtable(11);
 
  /** Access to all elements of the set. */ 
  public Enumeration all() {return _all.elements();}
 
  /*. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .*/ 
 
  /** Cached hashcode for this set. */ 
  protected Integer hashcode_cache = null;
 
  /*. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .*/ 
 
  /** Size of the set */ 
  public int size() {return _all.size();}
 
  /*-----------------------------------------------------------*/ 
  /*--- Set Operation Methods ---------------------------------*/ 
  /*-----------------------------------------------------------*/