org.vizzini.ai.logic
Class ConnectiveType

java.lang.Object
  extended by org.vizzini.util.AbstractEnumeratedType
      extended by 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

Field Summary
static ConnectiveType AND
           
static ConnectiveType IFF
           
static ConnectiveType IMPLIES
           
static ConnectiveType NOT
           
static ConnectiveType OR
           
 
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.
 
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

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
Method Detail

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