org.vizzini.ai.logic
Class ConnectiveType
java.lang.Object
org.vizzini.util.AbstractEnumeratedType
org.vizzini.ai.logic.ConnectiveType
- All Implemented Interfaces:
- Comparable, IEnumeratedType
public class ConnectiveType
- extends AbstractEnumeratedType
Provides an enumeration of connective types.
- Since:
- v0.2
- Version:
- v0.3
- Author:
- Jeffrey M. Thompson
Method Summary |
static ConnectiveType |
get(int i)
Get the connective type which corresponds to the given integer. |
static int |
size()
Return the number of enumerated values. |
static ConnectiveType |
valueOf(String name)
Get the connective type which corresponds to the given string. |
NOT
public static final ConnectiveType NOT
AND
public static final ConnectiveType AND
OR
public static final ConnectiveType OR
IMPLIES
public static final ConnectiveType IMPLIES
IFF
public static final ConnectiveType IFF
get
public static ConnectiveType get(int i)
- Get the connective 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 ConnectiveType valueOf(String name)
- Get the connective type which corresponds to the given string.
- Since:
- v0.2
Copyright © 2007 Vizzini.org. All Rights Reserved.
|
2007.12.25.03.00.02 |