public TByteIterator iterator() { return new TByteIterator() { TByteIterator i = c.iterator(); public boolean hasNext() { return i.hasNext(); } public byte next() { return i.next(); } public void remove() { throw new UnsupportedOperationException(); } }; }
/** {@inheritDoc} */ public boolean addAll( TByteCollection collection ) { boolean changed = false; TByteIterator iter = collection.iterator(); while ( iter.hasNext() ) { byte element = iter.next(); if ( add( element ) ) { changed = true; } } return changed; }
/** {@inheritDoc} */ public boolean addAll(TByteCollection collection) { boolean ret = false; for (TByteIterator it = collection.iterator(); it.hasNext();) { byte i = it.next(); if (add(i)) ret = true; } return ret; }
/** {@inheritDoc} */ public boolean containsAll( TByteCollection collection ) { TByteIterator iter = collection.iterator(); while ( iter.hasNext() ) { if ( ! TByteShortHashMap.this.containsKey( iter.next() ) ) { return false; } } return true; }
/** {@inheritDoc} */ public boolean containsAll( TByteCollection collection ) { TByteIterator iter = collection.iterator(); while ( iter.hasNext() ) { if ( ! TByteFloatHashMap.this.containsKey( iter.next() ) ) { return false; } } return true; }
/** {@inheritDoc} */ public boolean containsAll( TByteCollection collection ) { TByteIterator iter = collection.iterator(); while ( iter.hasNext() ) { if ( ! TDoubleByteHashMap.this.containsValue( iter.next() ) ) { return false; } } return true; }
/** {@inheritDoc} */ public boolean containsAll( TByteCollection collection ) { TByteIterator iter = collection.iterator(); while ( iter.hasNext() ) { if ( ! TByteByteHashMap.this.containsValue( iter.next() ) ) { return false; } } return true; }
/** {@inheritDoc} */ public boolean containsAll( TByteCollection collection ) { TByteIterator iter = collection.iterator(); while ( iter.hasNext() ) { if ( ! TIntByteHashMap.this.containsValue( iter.next() ) ) { return false; } } return true; }
/** {@inheritDoc} */ public boolean containsAll( TByteCollection collection ) { TByteIterator iter = collection.iterator(); while ( iter.hasNext() ) { if ( ! TByteDoubleHashMap.this.containsKey( iter.next() ) ) { return false; } } return true; }
/** {@inheritDoc} */ public boolean containsAll( TByteCollection collection ) { TByteIterator iter = collection.iterator(); while ( iter.hasNext() ) { if ( ! TShortByteHashMap.this.containsValue( iter.next() ) ) { return false; } } return true; }
/** {@inheritDoc} */ public boolean containsAll( TByteCollection collection ) { TByteIterator iter = collection.iterator(); while ( iter.hasNext() ) { if ( ! TLongByteHashMap.this.containsValue( iter.next() ) ) { return false; } } return true; }
/** {@inheritDoc} */ public boolean containsAll( TByteCollection collection ) { TByteIterator iter = collection.iterator(); while ( iter.hasNext() ) { if ( ! TFloatByteHashMap.this.containsValue( iter.next() ) ) { return false; } } return true; }
/** {@inheritDoc} */ public boolean addAll( TByteCollection collection ) { boolean changed = false; TByteIterator iter = collection.iterator(); while ( iter.hasNext() ) { byte element = iter.next(); if ( add( element ) ) { changed = true; } } return changed; }
/** {@inheritDoc} */ public boolean removeAll( TByteCollection collection ) { boolean changed = false; TByteIterator iter = collection.iterator(); while ( iter.hasNext() ) { byte element = iter.next(); if ( remove( element ) ) { changed = true; } } return changed; }
/** {@inheritDoc} */ public boolean containsAll( TByteCollection collection ) { TByteIterator iter = collection.iterator(); while ( iter.hasNext() ) { if ( ! TByteIntHashMap.this.containsKey( iter.next() ) ) { return false; } } return true; }
/** {@inheritDoc} */ public boolean containsAll( TByteCollection collection ) { TByteIterator iter = collection.iterator(); while ( iter.hasNext() ) { if ( ! TByteLongHashMap.this.containsKey( iter.next() ) ) { return false; } } return true; }
/** {@inheritDoc} */ public boolean containsAll( TByteCollection collection ) { TByteIterator iter = collection.iterator(); while ( iter.hasNext() ) { if ( ! TByteCharHashMap.this.containsKey( iter.next() ) ) { return false; } } return true; }
/** {@inheritDoc} */ public boolean containsAll( TByteCollection collection ) { TByteIterator iter = collection.iterator(); while ( iter.hasNext() ) { if ( ! TByteByteHashMap.this.containsKey( iter.next() ) ) { return false; } } return true; }
/** {@inheritDoc} */ public boolean containsAll( TByteCollection collection ) { TByteIterator iter = collection.iterator(); while ( iter.hasNext() ) { if ( ! TCharByteHashMap.this.containsValue( iter.next() ) ) { return false; } } return true; }
/** {@inheritDoc} */ public boolean containsAll(TByteCollection collection) { if (isEmpty()) return false; for (TByteIterator it = collection.iterator(); it.hasNext();) { byte i = it.next(); if (!(contains(i))) return false; } return true; }