cox.jmatt.java.MathTools
Enum MathXML.MathSymbol

java.lang.Object
  extended by java.lang.Enum<MathXML.MathSymbol>
      extended by cox.jmatt.java.MathTools.MathXML.MathSymbol
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MathXML.MathSymbol>
Enclosing class:
MathXML

public static enum MathXML.MathSymbol
extends java.lang.Enum<MathXML.MathSymbol>

This enum is used to hold Unicode math symbols and to provide them and their values in an easily accessible way. The names are the ones Unicode uses for the symbols with some of them slightly abbreviated. For letter symbols (e.g. Greek) the '_LC' denotes the lowercase letter, unadorned is uppercase.


Enum Constant Summary
ALPHA_LC
           
BETA_LC
           
CIRCLE_DOT
           
CIRCLE_MINUS
           
CIRCLE_PLUS
           
CIRCLE_SLASH
           
CIRCLE_TIMES
           
COMPLEX_NUMS
           
CUBE_ROOT
           
DELTA
           
DELTA_LC
           
DIVIDE_BY
           
ELEMENT
           
FOR_ALL
           
FOURTH_ROOT
           
GAMMA
           
INFINITY
           
INTEGER_NUMS
           
INTEGRAL
           
INTERSECTION
           
LAMBDA_LC
           
MU_LC
           
N_ARY_PRODUCT
          Large uppercase PI.
N_ARY_SUM
          Large uppercase sigma.
NATURAL_NUMS
           
NOT_ELEMENT
           
NOT_EXIST
          This is the 'does not exist' character (backward 'E' with a slash) but is also used for unknown.
NOT_SUBSET
           
NOT_SUPERSET
           
PI_LC
           
PLUS_MINUS
           
RADICAL
           
RATIONAL_NUMS
           
REAL_NUMS
           
SIGMA_LC
           
SUBSET
           
SUPERSET
           
THETA_LC
           
UNION
           
 
Method Summary
 char charValue()
          Fetch the symbol as type char.
 int decValue()
          Fetch the decimal value of the symbol.
static MathXML.MathSymbol valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MathXML.MathSymbol[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NOT_EXIST

public static final MathXML.MathSymbol NOT_EXIST
This is the 'does not exist' character (backward 'E' with a slash) but is also used for unknown.


FOR_ALL

public static final MathXML.MathSymbol FOR_ALL

INTEGRAL

public static final MathXML.MathSymbol INTEGRAL

INFINITY

public static final MathXML.MathSymbol INFINITY

UNION

public static final MathXML.MathSymbol UNION

INTERSECTION

public static final MathXML.MathSymbol INTERSECTION

N_ARY_SUM

public static final MathXML.MathSymbol N_ARY_SUM
Large uppercase sigma.


N_ARY_PRODUCT

public static final MathXML.MathSymbol N_ARY_PRODUCT
Large uppercase PI.


CIRCLE_PLUS

public static final MathXML.MathSymbol CIRCLE_PLUS

CIRCLE_MINUS

public static final MathXML.MathSymbol CIRCLE_MINUS

CIRCLE_TIMES

public static final MathXML.MathSymbol CIRCLE_TIMES

CIRCLE_SLASH

public static final MathXML.MathSymbol CIRCLE_SLASH

CIRCLE_DOT

public static final MathXML.MathSymbol CIRCLE_DOT

SUBSET

public static final MathXML.MathSymbol SUBSET

SUPERSET

public static final MathXML.MathSymbol SUPERSET

NOT_SUBSET

public static final MathXML.MathSymbol NOT_SUBSET

NOT_SUPERSET

public static final MathXML.MathSymbol NOT_SUPERSET

ELEMENT

public static final MathXML.MathSymbol ELEMENT

NOT_ELEMENT

public static final MathXML.MathSymbol NOT_ELEMENT

PLUS_MINUS

public static final MathXML.MathSymbol PLUS_MINUS

GAMMA

public static final MathXML.MathSymbol GAMMA

DELTA

public static final MathXML.MathSymbol DELTA

ALPHA_LC

public static final MathXML.MathSymbol ALPHA_LC

BETA_LC

public static final MathXML.MathSymbol BETA_LC

DELTA_LC

public static final MathXML.MathSymbol DELTA_LC

THETA_LC

public static final MathXML.MathSymbol THETA_LC

LAMBDA_LC

public static final MathXML.MathSymbol LAMBDA_LC

MU_LC

public static final MathXML.MathSymbol MU_LC

PI_LC

public static final MathXML.MathSymbol PI_LC

SIGMA_LC

public static final MathXML.MathSymbol SIGMA_LC

RADICAL

public static final MathXML.MathSymbol RADICAL

CUBE_ROOT

public static final MathXML.MathSymbol CUBE_ROOT

FOURTH_ROOT

public static final MathXML.MathSymbol FOURTH_ROOT

NATURAL_NUMS

public static final MathXML.MathSymbol NATURAL_NUMS

INTEGER_NUMS

public static final MathXML.MathSymbol INTEGER_NUMS

RATIONAL_NUMS

public static final MathXML.MathSymbol RATIONAL_NUMS

REAL_NUMS

public static final MathXML.MathSymbol REAL_NUMS

COMPLEX_NUMS

public static final MathXML.MathSymbol COMPLEX_NUMS

DIVIDE_BY

public static final MathXML.MathSymbol DIVIDE_BY
Method Detail

values

public static MathXML.MathSymbol[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (MathXML.MathSymbol c : MathXML.MathSymbol.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static MathXML.MathSymbol valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

decValue

public int decValue()
Fetch the decimal value of the symbol.


charValue

public char charValue()
Fetch the symbol as type char.