All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface key.Enum

public interface Enum

Method Index

 o availableValues()
For a gender, for instance, returns male, female, and neuter
 o setValue(String)
Sets the value to a specific one.
 o toString()
Should return the value of this

Methods

 o availableValues
 public abstract String[] availableValues()
For a gender, for instance, returns male, female, and neuter

 o setValue
 public abstract void setValue(String v)
Sets the value to a specific one. eg, gender should accept male, female, or neuter.

 o toString
 public abstract String toString()
Should return the value of this

Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index