public List<Token> get(int start, int stop) {if ( start<0 || stop<0 ) return null;lazyInit();List<Token> subset = new ArrayList<Token>();if ( stop>=tokens.size() ) stop = tokens.size()-1;for (int i = start; i <= stop; i++) {Token t = tokens.get(i);if ( t.getType()==Token.EOF ) break;subset.add(t);}return subset;}

public List < Token > get ( int start , int stop ) { if ( start < 0 || stop < 0 ) return null ; lazyInit ( ) ; List < Token > subset = new ArrayList < Token > ( ) ; if ( stop >= tokens . size ( ) ) stop = tokens . size ( ) - 1 ; for ( int i = start ; i <= stop ; i ++ ) { Token t = tokens . get ( i ) ; if ( t . getType ( ) == Token . EOF ) break ; subset . add ( t ) ; } return subset ; }
public virtual IList<IToken> Get(int start, int stop){if (start < 0 || stop < 0){return null;}LazyInit();IList<IToken> subset = new List<IToken>();if (stop >= tokens.Count){stop = tokens.Count - 1;}for (int i = start; i <= stop; i++){IToken t = tokens[i];if (t.Type == TokenConstants.EOF){break;}subset.Add(t);}return subset;}
