theory.smart.foundation
Class  EmptySmartKey
java.lang.Object
  |
  +--theory.smart.foundation.SmartKey
        |
        +--theory.smart.foundation.EmptySmartKey
- public class EmptySmartKey
- extends SmartKey
  
EmptySmartKey is equivalent to a "null" SmartKey.  
 If one wants to store a SmartKey to a datastore, the SmartKey
 can never be null.  Hence an EmptySmartKey is needed.
- See Also: 
 SmartKey, Serialized Form
 
| 
Method Summary | 
 int | 
compareTo(java.lang.Object o)
 
          Compare always returns equal. | 
 java.lang.String | 
toString()
 
          toString always returns an empty string. | 
 
 
| Methods inherited from class java.lang.Object | 
getClass, 
hashCode, 
notify, 
notifyAll, 
wait, 
wait, 
wait | 
 
EmptySmartKey
public EmptySmartKey()
- Default Constructor.
 
compareTo
public int compareTo(java.lang.Object o)
- Compare always returns equal.
- Overrides:
 - compareTo in class SmartKey
 
 
- Returns:
 - (0)
 
 
 
toString
public java.lang.String toString()
- toString always returns an empty string.
- Overrides:
 - toString in class SmartKey
 
 
- Returns:
 - ""
 
 
 
Copyright © 2000 BEA Systems, Inc. All Rights Reserved