@Override public boolean removeAll(Collection<?> c) { boolean changed = false; for (Object o : c) { changed |= removeFast(asElementType(o)); } return changed; }
@Override public final boolean remove(Object o) { return removeFast(asElementType(o)); }
@Override public final boolean contains(Object o) { return containsFast(asElementType(o)); }
@Override public boolean containsAll(Collection<?> collection) { if ( collection instanceof Array2DHashSet ) { Array2DHashSet<?> s = (Array2DHashSet<?>)collection; for (Object[] bucket : s.buckets) { if ( bucket==null ) continue; for (Object o : bucket) { if ( o==null ) break; if ( !this.containsFast(asElementType(o)) ) return false; } } } else { for (Object o : collection) { if ( !this.containsFast(asElementType(o)) ) return false; } } return true; }
@Override public boolean removeAll(Collection<?> c) { boolean changed = false; for (Object o : c) { changed |= removeFast(asElementType(o)); } return changed; }
@Override public boolean removeAll(Collection<?> c) { boolean changed = false; for (Object o : c) { changed |= removeFast(asElementType(o)); } return changed; }
@Override public boolean removeAll(Collection<?> c) { boolean changed = false; for (Object o : c) { changed |= removeFast(asElementType(o)); } return changed; }
@Override public final boolean contains(Object o) { return containsFast(asElementType(o)); }
@Override public final boolean remove(Object o) { return removeFast(asElementType(o)); }
@Override public boolean removeAll(Collection<?> c) { boolean changed = false; for (Object o : c) { changed |= removeFast(asElementType(o)); } return changed; }
@Override public final boolean remove(Object o) { return removeFast(asElementType(o)); }
@Override public final boolean contains(Object o) { return containsFast(asElementType(o)); }
@Override public final boolean remove(Object o) { return removeFast(asElementType(o)); }
@Override public final boolean remove(Object o) { return removeFast(asElementType(o)); }
@Override public final boolean contains(Object o) { return containsFast(asElementType(o)); }
@Override public final boolean contains(Object o) { return containsFast(asElementType(o)); }
@Override public boolean containsAll(Collection<?> collection) { if ( collection instanceof Array2DHashSet ) { Array2DHashSet<?> s = (Array2DHashSet<?>)collection; for (Object[] bucket : s.buckets) { if ( bucket==null ) continue; for (Object o : bucket) { if ( o==null ) break; if ( !this.containsFast(asElementType(o)) ) return false; } } } else { for (Object o : collection) { if ( !this.containsFast(asElementType(o)) ) return false; } } return true; }
@Override public boolean containsAll(Collection<?> collection) { if ( collection instanceof Array2DHashSet ) { Array2DHashSet<?> s = (Array2DHashSet<?>)collection; for (Object[] bucket : s.buckets) { if ( bucket==null ) continue; for (Object o : bucket) { if ( o==null ) break; if ( !this.containsFast(asElementType(o)) ) return false; } } } else { for (Object o : collection) { if ( !this.containsFast(asElementType(o)) ) return false; } } return true; }
@Override public boolean containsAll(Collection<?> collection) { if ( collection instanceof Array2DHashSet ) { Array2DHashSet<?> s = (Array2DHashSet<?>)collection; for (Object[] bucket : s.buckets) { if ( bucket==null ) continue; for (Object o : bucket) { if ( o==null ) break; if ( !this.containsFast(asElementType(o)) ) return false; } } } else { for (Object o : collection) { if ( !this.containsFast(asElementType(o)) ) return false; } } return true; }
@Override public boolean containsAll(Collection<?> collection) { if ( collection instanceof Array2DHashSet ) { Array2DHashSet<?> s = (Array2DHashSet<?>)collection; for (Object[] bucket : s.buckets) { if ( bucket==null ) continue; for (Object o : bucket) { if ( o==null ) break; if ( !this.containsFast(asElementType(o)) ) return false; } } } else { for (Object o : collection) { if ( !this.containsFast(asElementType(o)) ) return false; } } return true; }