All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface optionCalc.KeyInterface

public interface KeyInterface

Method Index

 o isEqual(KeyInterface)
Checks whether or not two key objects are equal
 o isLessThan(KeyInterface)
Checks whether this key is less than the given key
 o printKey()
Interface for printing a key.

Methods

 o isEqual
 public abstract boolean isEqual(KeyInterface key)
Checks whether or not two key objects are equal

Parameters:
k - the (KeyInterface) to the comparison object
 o 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
 o printKey
 public abstract void printKey()
Interface for printing a key.


All Packages  Class Hierarchy  This Package  Previous  Next  Index