/** {@inheritDoc} */ public boolean containsAll(TFloatCollection collection) { TFloatIterator iter = collection.iterator(); while (iter.hasNext()) { if (!TLongFloatHashMap.this.containsValue(iter.next())) { return false; } } return true; }
/** {@inheritDoc} */ public boolean removeAll(TFloatCollection collection) { if (this == collection) { clear(); return true; } boolean changed = false; TFloatIterator iter = collection.iterator(); while (iter.hasNext()) { float element = iter.next(); if (remove(element)) { changed = true; } } return changed; }