btree
Class StringKey

java.lang.Object
  extended bybtree.KeyClass
      extended bybtree.StringKey

public class StringKey
extends KeyClass

StringKey: It extends the KeyClass. It defines the string Key.


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

Constructor Detail

StringKey

public StringKey(java.lang.String s)
Class constructor

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

toString

public java.lang.String toString()

getKey

public java.lang.String getKey()
get a copy of the istring key

Returns:
the reference of the copy

setKey

public void setKey(java.lang.String s)
set the string key value