de.jface.util
Class Key

java.lang.Object
  |
  +--de.jface.util.Key
All Implemented Interfaces:
java.lang.Comparable

public class Key
extends java.lang.Object
implements java.lang.Comparable

Class Key of project RemotePostIt.

Version:
$Revision: 1.1.1.1 $
Author:
Moritz Petersen

Method Summary
 int compareTo(java.lang.Object o)
           
 boolean equals(java.lang.Object o)
           
 Key getKey(java.lang.String name)
          Returns the child-key with the given name.
 int hashCode()
           
 java.lang.String toString()
          Returns the whole key structure, containing the names of the parents separated by a dot.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getKey

public Key getKey(java.lang.String name)
Returns the child-key with the given name.
Parameters:
name - The name of the child key
Returns:
The child key.

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable

toString

public java.lang.String toString()
Returns the whole key structure, containing the names of the parents separated by a dot.
Overrides:
toString in class java.lang.Object


Copyright © 2002-2002 Moritz Petersen. All Rights Reserved.