All Packages Class Hierarchy This Package Previous Next Index
Class org.ifarchive.glk.IntConstant
java.lang.Object
|
+----org.ifarchive.glk.IntConstant
- public class IntConstant
- extends Object
A Glk dispatch integer constant.
-
name
- The name of this constant.
-
value
- And its value.
-
count()
- Return the number of integer constants.
-
get(int)
- Retrieve an integer constant.
name
public String name
- The name of this constant.
value
public long value
- And its value.
count
public static int count()
- Return the number of integer constants.
- Returns:
- The number of integer constants in this Glk library.
get
public static IntConstant get(int index)
- Retrieve an integer constant.
- Parameters:
- index - The number of the integer constant, 0 - count
- Returns:
- The requested constant, or null if index is out of range
- See Also:
- count
All Packages Class Hierarchy This Package Previous Next Index