public boolean add( char e ) { synchronized (mutex ) { return c.add( e ); } } public boolean remove( char o ) {
public boolean addAll( Collection<? extends Character> coll ) { synchronized( mutex ) { return c.addAll( coll ); } } public boolean addAll( TCharCollection coll ) {
public void clear() { synchronized( mutex ) { c.clear(); } } public String toString() {
public boolean contains( char o ) { synchronized( mutex ) { return c.contains( o ); } } public char[] toArray() {
public boolean containsAll( Collection<?> coll ) { synchronized( mutex ) { return c.containsAll( coll );} } public boolean containsAll( TCharCollection coll ) {
public TCharIterator iterator() { return new TCharIterator() { TCharIterator i = c.iterator(); public boolean hasNext() { return i.hasNext(); } public char next() { return i.next(); } public void remove() { throw new UnsupportedOperationException(); } }; }
public boolean isEmpty() { synchronized( mutex ) { return c.isEmpty(); } } public boolean contains( char o ) {
public boolean forEach( TCharProcedure procedure ) { synchronized( mutex ) { return c.forEach( procedure ); } }
public char getNoEntryValue() { return c.getNoEntryValue(); } public boolean forEach( TCharProcedure procedure ) {
public boolean remove( char o ) { synchronized( mutex ) { return c.remove( o ); } }
/** {@inheritDoc} */ public boolean retainAll(TCharCollection collection) { boolean modified = false; TCharIterator iter = iterator(); while (iter.hasNext()) { if (!collection.contains(iter.next())) { iter.remove(); modified = true; } } return modified; }
public boolean containsAll( TCharCollection coll ) { synchronized( mutex ) { return c.containsAll( coll );} } public boolean containsAll( char[] array ) {
/** {@inheritDoc} */ public boolean containsAll( TCharCollection collection ) { TCharIterator iter = collection.iterator(); while ( iter.hasNext() ) { if ( ! TCharShortHashMap.this.containsKey( iter.next() ) ) { return false; } } return true; }
public boolean isEmpty() { return c.isEmpty(); } public boolean contains( char o ) { return c.contains( o ); }
public boolean forEach( TCharProcedure procedure ) { return c.forEach( procedure ); }
public char getNoEntryValue() { return c.getNoEntryValue(); } public boolean forEach( TCharProcedure procedure ) { return c.forEach( procedure ); }
@Override public boolean remove( char o ) { synchronized( mutex ) { return c.remove( o ); } }
/** {@inheritDoc} */ public boolean removeAll(TCharCollection collection) { boolean modified = false; TCharIterator iter = iterator(); while (iter.hasNext()) { if (collection.contains(iter.next())) { iter.remove(); modified = true; } } return modified; }
public boolean addAll( TCharCollection coll ) { synchronized( mutex ) { return c.addAll( coll ); } } public boolean addAll( char[] array ) {
public boolean containsAll( char[] array ) { synchronized( mutex ) { return c.containsAll( array );} }