public void init(int maxCharCode,LexScan scanner){
  if (maxCharCode < 0) {
    throw new IllegalArgumentException("maxCharCode " + maxCharCode + " is negative.");
  }
 else   if (maxCharCode > maxChar) {
    throw new IllegalArgumentException("maxCharCode " + Integer.toHexString(maxCharCode) + " is larger than maxChar "+ Integer.toHexString(maxChar));
  }
  maxCharUsed=maxCharCode;
  this.scanner=scanner;
  classes=new ArrayList<IntCharSet>();
  classes.add(new IntCharSet(new Interval(0,maxCharCode)));
}

public void init ( int maxCharCode , LexScan scanner ) { if ( maxCharCode < 0 ) { throw new IllegalArgumentException ( "maxCharCode " + maxCharCode + " is negative." ) ; } else if ( maxCharCode > maxChar ) { throw new IllegalArgumentException ( "maxCharCode " + Integer . toHexString ( maxCharCode ) + " is larger than maxChar " + Integer . toHexString ( maxChar ) ) ; } maxCharUsed = maxCharCode ; this . scanner = scanner ; classes = new ArrayList < IntCharSet > ( ) ; classes . add ( new IntCharSet ( new Interval ( 0 , maxCharCode ) ) ) ; }
provides space for classes of characters from 0 to maxcharcode . initially all characters are in class 0 .
