edu.buffalo.fs7.mathlib
Class Delimiter

java.lang.Object
  |
  +--edu.buffalo.fs7.mathlib.MathObject
        |
        +--edu.buffalo.fs7.mathlib.Delimiter
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
CloseDelimiter, OpenDelimiter

public class Delimiter
extends MathObject

Class representing a generic delimiter. It is not instantiated directly, but the child classes OpenDeimiter and CloseDelimiter are.

See Also:
OpenDelimiter, CloseDelimiter, Tokenizer, Parse

Fields inherited from class edu.buffalo.fs7.mathlib.MathObject
mathlib
 
Constructor Summary
Delimiter(char c)
          creates a delimiter specified by c.
 
Method Summary
 java.lang.String toString()
          returns the string representation of the delimiter
 
Methods inherited from class edu.buffalo.fs7.mathlib.MathObject
clone, toParseableString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Delimiter

public Delimiter(char c)
creates a delimiter specified by c.
Parameters:
c - the char representation of the delimiter
Method Detail

toString

public java.lang.String toString()
returns the string representation of the delimiter
Overrides:
toString in class MathObject
Following copied from class: edu.buffalo.fs7.mathlib.MathObject
See Also:
MathObject.toParseableString()