org.vizzini.ai.logic
Class OperatorType

java.lang.Object
  extended by org.vizzini.util.AbstractEnumeratedType
      extended by org.vizzini.ai.logic.OperatorType
All Implemented Interfaces:
Comparable, IEnumeratedType

public class OperatorType
extends AbstractEnumeratedType

Provides an enumeration of operator types.

Since:
v0.2
Version:
v0.3
Author:
Jeffrey M. Thompson

Field Summary
static OperatorType EQ
           
static OperatorType GE
           
static OperatorType GT
           
static OperatorType LE
           
static OperatorType LT
           
static OperatorType NE
           
 
Method Summary
static OperatorType get(int i)
          Return the operator type which corresponds to the given integer.
static int size()
          Return the number of enumerated values.
static OperatorType valueOf(String name)
          Return the operator type which corresponds to the given string.
 
Methods inherited from class org.vizzini.util.AbstractEnumeratedType
compareTo, equals, getDisplayName, getName, hashCode, intValue, setOrdinal, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

EQ

public static final OperatorType EQ

NE

public static final OperatorType NE

GT

public static final OperatorType GT

LT

public static final OperatorType LT

GE

public static final OperatorType GE

LE

public static final OperatorType LE
Method Detail

get

public static OperatorType get(int i)
Return the operator type which corresponds to the given integer.

Since:
v0.2

size

public static final int size()
Return the number of enumerated values.

Since:
v0.2

valueOf

public static OperatorType valueOf(String name)
Return the operator type which corresponds to the given string.

Since:
v0.2


Copyright 2007 Vizzini.org. All Rights Reserved. 2007.12.25.03.00.02