public boolean containsSymbol(String symbol){
  int bucket=hash(symbol) % fTableSize;
  int length=symbol.length();
  OUTER:   for (Entry entry=fBuckets[bucket]; entry != null; entry=entry.next) {
    if (length == entry.characters.length) {
      for (int i=0; i < length; i++) {
        if (symbol.charAt(i) != entry.characters[i]) {
          continue OUTER;
        }
      }
      return true;
    }
  }
  return false;
}

public boolean containsSymbol ( String symbol ) { int bucket = hash ( symbol ) % fTableSize ; int length = symbol . length ( ) ; OUTER : for ( Entry entry = fBuckets [ bucket ] ; entry != null ; entry = entry . next ) { if ( length == entry . characters . length ) { for ( int i = 0 ; i < length ; i ++ ) { if ( symbol . charAt ( i ) != entry . characters [ i ] ) { continue OUTER ; } } return true ; } } return false ; }
returns true if the symbol table already contains the specified symbol .
