@Override public V remove(final int index) { return this.parent.remove(index); } }
@Override @SuppressWarnings("unchecked") public boolean remove(final Object obj) { if (obj instanceof Map.Entry == false) { return false; } if (getEntrySet().contains(obj)) { final Object key = ((Map.Entry<K, V>) obj).getKey(); parent.remove(key); return true; } return false; }
/** * Removes the element at the specified index. * * @param index the index of the object to remove * @return the removed value, or <code>null</code> if none existed * @throws IndexOutOfBoundsException if the index is invalid */ public V remove(final int index) { return remove(get(index)); }
/** * Remove the stamp from stack (when resuming) */ private static void popTransactionStartStamp() { ListOrderedMap<Transaction, Timestamp> map = suspendedTxStartStamps.get(); if (map.size() > 0) { transactionStartStamp.set(map.remove(map.lastKey())); } else { Debug.logError("Error in transaction handling - no saved start stamp found - using NOW.", module); transactionStartStamp.set(UtilDateTime.nowTimestamp()); } }