core.types
Class SearchType
java.lang.Object
core.types.SearchType
- public final class SearchType
- extends java.lang.Object
Adapted from Adam's PresenceType.java
- Author:
- schmitth
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ord
public final int ord
GET
public static final SearchType GET
RESULT
public static final SearchType RESULT
ERROR
public static final SearchType ERROR
elements
public static java.util.Enumeration elements()
- Creates an enumeration from all available types.
- Returns:
- the Enumeration
toString
public java.lang.String toString()
- Returns:
- String representation of this type
size
public static int size()
- Returns:
- Number of types available
first
public static SearchType first()
- Returns:
- first element of an Enumeration of SearchTypes
last
public static SearchType last()
- Returns:
- last element of an Enumeration of SearchTypes
prev
public SearchType prev()
- Returns:
- previous element of an Enumeration of SearchTypes
next
public SearchType next()
- Returns:
- next element of an Enumeration of SearchTypes