Top Description Fields Constructors Methods
uk.ac.ed.ph.snuggletex.semantics

public final Class MathNumberInterpretation

extends Object
implements MathInterpretation
Class Inheritance
All Implemented Interfaces
uk.ac.ed.ph.snuggletex.semantics.MathInterpretation, uk.ac.ed.ph.snuggletex.semantics.Interpretation
Imports
uk.ac.ed.ph.snuggletex.internal.util.ObjectUtilities

Represents the interpretation of a mathematical number.
Author
David McKain
Version
$Revision$

Field Summary

Modifier and TypeField and Description
private final CharSequence

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public CharSequence
public InterpretationType
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

numberback to summary
private final CharSequence number

Constructor Detail

MathNumberInterpretationback to summary
public MathNumberInterpretation(final CharSequence number)

Method Detail

getNumberback to summary
public CharSequence getNumber()
getTypeback to summary
public InterpretationType getType()

Implements uk.ac.ed.ph.snuggletex.semantics.Interpretation.getType.

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override