Code example for Hashtable

Methods: keys

0
        if (prefixTable == null) {
            return EMPTY_ENUMERATION;
        } else { 
            return prefixTable.keys();
        } 
    } 
         
    //////////////////////////////////////////////////////////////// 
    // Internal methods. 
    //////////////////////////////////////////////////////////////// 
 
    /** 
     * Copy on write for the internal tables in this context. 
     * 
     * <p>This class is optimized for the normal case where most 
     * elements do not contain Namespace declarations. In that case, 
     * the Context2 will share data structures with its parent. 
     * New tables are obtained only when new declarations are issued, 
     * so they can be popped off the stack.</p> 
     * 
     * <p> JJK: **** Alternative: each Context2 might declare