public char get( int index ) { synchronized( mutex ) { return list.get( index ); } } public char set( int index, char element) {
@Override public Character get( int index ) { char value = list.get( index ); if ( value == list.getNoEntryValue() ) return null; else return Character.valueOf( value ); }
@Override public Character get( int index ) { char value = list.get( index ); if ( value == list.getNoEntryValue() ) return null; else return Character.valueOf( value ); }
public char get( int index ) { return list.get( index ); } public int indexOf( char o ) { return list.indexOf( o ); }
@Override public Character get( int index ) { char value = list.get( index ); if ( value == list.getNoEntryValue() ) return null; else return Character.valueOf( value ); }
@Override public char get( int index ) { synchronized( mutex ) { return list.get( index ); } } @Override
@Override public Character get( int index ) { char value = list.get( index ); if ( value == list.getNoEntryValue() ) return null; else return Character.valueOf( value ); }
public char get( int index ) { synchronized( mutex ) { return list.get( index ); } } public char set( int index, char element) {
@Override public Character get( int index ) { char value = list.get( index ); if ( value == list.getNoEntryValue() ) return null; else return Character.valueOf( value ); }
public char get( int index ) { synchronized( mutex ) { return list.get( index ); } } public char set( int index, char element) {
public char get( int index ) { synchronized( mutex ) { return list.get( index ); } } public char set( int index, char element) {
@Override public char get( int index ) { return list.get( index ); } @Override
public char get( int index ) { return list.get( index ); } public int indexOf( char o ) { return list.indexOf( o ); }
public char get( int index ) { return list.get( index ); } public int indexOf( char o ) { return list.indexOf( o ); }
public char get( int index ) { return list.get( index ); } public int indexOf( char o ) { return list.indexOf( o ); }
/** {@inheritDoc} */ @Override public boolean equals( Object other ) { if ( other == this ) { return true; } if ( !( other instanceof TCharList ) ) return false; if ( other instanceof TCharArrayList ) { TCharArrayList that = ( TCharArrayList )other; if ( that.size() != this.size() ) return false; for ( int i = _pos; i-- > 0; ) { if ( this._data[ i ] != that._data[ i ] ) { return false; } } return true; } else { TCharList that = ( TCharList )other; if ( that.size() != this.size() ) return false; for( int i = 0; i < _pos; i++ ) { if ( this._data[ i ] != that.get( i ) ) { return false; } } return true; } }