org.vizzini.ai.logic
Class OperatorType
java.lang.Object
org.vizzini.util.AbstractEnumeratedType
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
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. |
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
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 |