public boolean remove(Object key) { return (null != THashMap.this.remove(key)); }
/** * remove a row from the hash table. * <p> * a remove of a duplicate removes the entire duplicate list. * * @param key The key of the row to remove. * * @exception StandardException Standard exception policy. **/ public Object remove( Object key) throws StandardException { Object obj = hash_table.remove(key); if( obj != null || diskHashtable == null) return obj; return diskHashtable.remove(key); }
/** * remove a row from the hash table. * <p> * a remove of a duplicate removes the entire duplicate list. * * @param key The key of the row to remove. * * @exception StandardException Standard exception policy. **/ public Object remove( Object key) throws StandardException { Object obj = hash_table.remove(key); if( obj != null || diskHashtable == null) return obj; return diskHashtable.remove(key); }
/** * remove a row from the hash table. * <p> * a remove of a duplicate removes the entire duplicate list. * * @param key The key of the row to remove. * * @exception StandardException Standard exception policy. **/ public Object remove( Object key) throws StandardException { Object obj = hash_table.remove(key); if( obj != null || diskHashtable == null) return obj; return diskHashtable.remove(key); }
@Override public final boolean execute(Object mbr, Object data) { THashMap memberData = (THashMap)((ArrayList<?>)data).get(0); Map<String, TObjectLongHashMapDSFID> memberEvents = eventsToBeDispatched.get(mbr); if (memberEvents != null && !memberEvents.isEmpty()) { // remove events that member itself sent final Set<?> primaryBuckets = memberEvents.keySet(); for (Object b : primaryBuckets) { memberData.remove(b); } } // populate all other bucket data final THashMap.EntryIterator miter = memberData .entryIterator(); while (miter.hasNext()) { Object map = tailKeys.get(miter.nextKey()); if (map != null) { miter.setValueAtCurrent(map); } } return true; } });
public boolean execute(Object a, Object b) { if (((String)b).equalsIgnoreCase(id)) { uid_idmap.remove(a); GfxdAsyncEventListenerDescriptor asyncD = new GfxdAsyncEventListenerDescriptor(id, (UUID)a); try { dd.getDependencyManager().clearDependencies(lcc, asyncD); } catch (StandardException e) { // can ignore exception here Misc.getCacheLogWriter().warning("problem while removing dependencies of: " + id, e); } return false; } return true; } });
public boolean execute(Object a, Object b) { if (((String)b).equalsIgnoreCase(id)) { uid_idmap.remove(a); GfxdAsyncEventListenerDescriptor asyncD = new GfxdAsyncEventListenerDescriptor(id, (UUID)a); try { dd.getDependencyManager().clearDependencies(lcc, asyncD); } catch (StandardException e) { // can ignore exception here Misc.getCacheLogWriter().warning("problem while removing dependencies of: " + id, e); } return false; } return true; } });
public boolean execute(Object a, Object b) { if (((String)b).equalsIgnoreCase(id)) { uid_idmap.remove(a); GfxdAsyncEventListenerDescriptor asyncD = new GfxdAsyncEventListenerDescriptor(id, (UUID)a); try { dd.getDependencyManager().clearDependencies(lcc, asyncD); } catch (StandardException e) { // can ignore exception here Misc.getCacheLogWriter().warning("problem while removing dependencies of: " + id, e); } return false; } return true; } });
.equals(Boolean.TRUE)) { if (oldKeysMap != null) { oldKeysMap.remove(entry);