/** * Returns an enumeration of the keys in this hashtable. * * @return an enumeration of the keys in this hashtable. * @see java.util.Enumeration * @see java.util.Hashtable#elements() * @since JDK1.0 */ public Enumeration<Object> keys() { return new IdentityHashtableEnumerator(table, true); }
/** * Returns an enumeration of the keys in this hashtable. * * @return an enumeration of the keys in this hashtable. * @see java.util.Enumeration * @see java.util.Hashtable#elements() * @since JDK1.0 */ public Enumeration<Object> keys() { return new IdentityHashtableEnumerator(table, true); }
/** * Returns an enumeration of the values in this hashtable. Use the Enumeration methods on the returned object to * fetch the elements sequentially. * * @return an enumeration of the values in this hashtable. * @see java.util.Enumeration * @see java.util.Hashtable#keys() * @since JDK1.0 */ public Enumeration<Object> elements() { return new IdentityHashtableEnumerator(table, false); }
/** * Returns an enumeration of the values in this hashtable. Use the Enumeration methods on the returned object to * fetch the elements sequentially. * * @return an enumeration of the values in this hashtable. * @see java.util.Enumeration * @see java.util.Hashtable#keys() * @since JDK1.0 */ public Enumeration<Object> elements() { return new IdentityHashtableEnumerator(table, false); }