Overview | Package | Class | Tree | Deprecated | Index | Help
| bea Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Constructor Summary
`EmptySmartKey()` Default Constructor.

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 theory.smart.foundation.SmartKey
`equals`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### EmptySmartKey

    public EmptySmartKey()

  Default Constructor.

Method Detail

### 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:
    ""

Overview | Package | Class | Tree | Deprecated | Index | Help
| bea Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

© Copyright 2000 bea Systems, Inc. All rights reserved.