BackingStoreHashtableValues() { memoryIterator = hash_table.values().iterator(); }
BackingStoreHashtableValues() { memoryIterator = hash_table.values().iterator(); }
BackingStoreHashtableValues() { memoryIterator = hash_table.values().iterator(); }
BackingStoreHashtableEnumeration() { memoryIterator = hash_table.values().iterator(); if( diskHashtable != null) { try { diskEnumeration = diskHashtable.elements(); } catch( StandardException se) { diskEnumeration = null; } } }
BackingStoreHashtableEnumeration() { memoryIterator = hash_table.values().iterator(); if( diskHashtable != null) { try { diskEnumeration = diskHashtable.elements(); } catch( StandardException se) { diskEnumeration = null; } } }
BackingStoreHashtableEnumeration() { memoryIterator = hash_table.values().iterator(); if( diskHashtable != null) { try { diskEnumeration = diskHashtable.elements(); } catch( StandardException se) { diskEnumeration = null; } } }
/** * Return an Enumeration that can be used to scan entire table. * <p> * RESOLVE - is it worth it to support this routine when we have a * disk overflow hash table? * * @return The Enumeration. * * @exception StandardException Standard exception policy. **/ public Enumeration elements() throws StandardException { if( diskHashtable == null) return Collections.enumeration(hash_table.values()); return new BackingStoreHashtableEnumeration(); }
/** * Return an Enumeration that can be used to scan entire table. * <p> * RESOLVE - is it worth it to support this routine when we have a * disk overflow hash table? * * @return The Enumeration. * * @exception StandardException Standard exception policy. **/ public Enumeration elements() throws StandardException { if( diskHashtable == null) return Collections.enumeration(hash_table.values()); return new BackingStoreHashtableEnumeration(); }
/** * Return an Enumeration that can be used to scan entire table. * <p> * RESOLVE - is it worth it to support this routine when we have a * disk overflow hash table? * * @return The Enumeration. * * @exception StandardException Standard exception policy. **/ public Enumeration elements() throws StandardException { if( diskHashtable == null) return Collections.enumeration(hash_table.values()); return new BackingStoreHashtableEnumeration(); }