weka.core
Class MathematicalExpression.Tokenizer

java.lang.Object
  extended by java.io.StreamTokenizer
      extended by weka.core.MathematicalExpression.Tokenizer
Enclosing class:
MathematicalExpression

public static class MathematicalExpression.Tokenizer
extends java.io.StreamTokenizer

A tokenizer for MathematicalExpression

Version:
$Revision: 1.3 $
Author:
Eibe Frank (eibe@cs.waikato.ac.nz), Prados Julien (julien.prados@cui.unige.ch)

Field Summary
 
Fields inherited from class java.io.StreamTokenizer
nval, sval, TT_EOF, TT_EOL, TT_NUMBER, TT_WORD, ttype
 
Constructor Summary
MathematicalExpression.Tokenizer(java.io.Reader r)
          Constructor
 
Method Summary
 int nextToken()
          returns the next token
 
Methods inherited from class java.io.StreamTokenizer
commentChar, eolIsSignificant, lineno, lowerCaseMode, ordinaryChar, ordinaryChars, parseNumbers, pushBack, quoteChar, resetSyntax, slashSlashComments, slashStarComments, toString, whitespaceChars, wordChars
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MathematicalExpression.Tokenizer

public MathematicalExpression.Tokenizer(java.io.Reader r)
Constructor

Parameters:
r - the reader to use
Method Detail

nextToken

public int nextToken()
              throws java.io.IOException
returns the next token

Overrides:
nextToken in class java.io.StreamTokenizer
Returns:
the next token
Throws:
java.io.IOException - if something goes wrong