All Packages Class Hierarchy This Package Previous Next Index
Interface optionCalc.KeyInterface
- public interface KeyInterface
-
isEqual(KeyInterface)
- Checks whether or not two key objects are equal
-
isLessThan(KeyInterface)
- Checks whether this key is less than the given key
-
printKey()
- Interface for printing a key.
isEqual
public abstract boolean isEqual(KeyInterface key)
- Checks whether or not two key objects are equal
- Parameters:
- k - the (KeyInterface) to the comparison object
isLessThan
public abstract boolean isLessThan(KeyInterface key)
- Checks whether this key is less than the given key
- Parameters:
- k - the (KeyInterface) to the comparison object
printKey
public abstract void printKey()
- Interface for printing a key.
All Packages Class Hierarchy This Package Previous Next Index