public boolean add( byte e ) { synchronized (mutex ) { return c.add( e ); } } public boolean remove( byte o ) {
public boolean addAll( Collection<? extends Byte> coll ) { synchronized( mutex ) { return c.addAll( coll ); } } public boolean addAll( TByteCollection coll ) {
public void clear() { synchronized( mutex ) { c.clear(); } } public String toString() {
public boolean contains( byte o ) { synchronized( mutex ) { return c.contains( o ); } } public byte[] toArray() {
public boolean containsAll( Collection<?> coll ) { synchronized( mutex ) { return c.containsAll( coll );} } public boolean containsAll( TByteCollection coll ) {
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(); } }; }
public boolean isEmpty() { synchronized( mutex ) { return c.isEmpty(); } } public boolean contains( byte o ) {
public boolean forEach( TByteProcedure procedure ) { synchronized( mutex ) { return c.forEach( procedure ); } }
public byte getNoEntryValue() { return c.getNoEntryValue(); } public boolean forEach( TByteProcedure procedure ) { return c.forEach( procedure ); }
public boolean remove( byte o ) { synchronized( mutex ) { return c.remove( o ); } }
public boolean contains( byte o ) { return c.contains( o ); } public byte[] toArray() { return c.toArray(); }
public boolean containsAll( TByteCollection coll ) { synchronized( mutex ) { return c.containsAll( coll );} } public boolean containsAll( byte[] array ) {
/** {@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; }
public boolean isEmpty() { return c.isEmpty(); } public boolean contains( byte o ) { return c.contains( o ); }
public boolean forEach( TByteProcedure procedure ) { return c.forEach( procedure ); }
public byte getNoEntryValue() { return c.getNoEntryValue(); } public boolean forEach( TByteProcedure procedure ) {
@Override public boolean remove( byte o ) { synchronized( mutex ) { return c.remove( o ); } }
/** {@inheritDoc} */ public boolean removeAll(TByteCollection collection) { boolean modified = false; TByteIterator iter = iterator(); while (iter.hasNext()) { if (collection.contains(iter.next())) { iter.remove(); modified = true; } } return modified; }
public boolean addAll( TByteCollection coll ) { synchronized( mutex ) { return c.addAll( coll ); } } public boolean addAll( byte[] array ) {
public boolean containsAll( byte[] array ) { synchronized( mutex ) { return c.containsAll( array );} }