btree
Class IntegerKey

java.lang.Object
  extended bybtree.KeyClass
      extended bybtree.IntegerKey

public class IntegerKey
extends KeyClass

IntegerKey: It extends the KeyClass. It defines the integer Key.


Constructor Summary
IntegerKey(int value)
          Class constructor
IntegerKey(java.lang.Integer value)
          Class constructor
 
Method Summary
 java.lang.Integer getKey()
          get a copy of the integer key
 void setKey(java.lang.Integer value)
          set the integer key value
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IntegerKey

public IntegerKey(java.lang.Integer value)
Class constructor

Parameters:
value - the value of the integer key to be set

IntegerKey

public IntegerKey(int value)
Class constructor

Parameters:
value - the value of the integer key to be set
Method Detail

toString

public java.lang.String toString()

getKey

public java.lang.Integer getKey()
get a copy of the integer key

Returns:
the reference of the copy

setKey

public void setKey(java.lang.Integer value)
set the integer key value