mondrian.util
Interface LockBox.Entry

Enclosing class:
LockBox

public static interface LockBox.Entry

Entry in a LockBox.

Entries are created using LockBox.register(Object).

The object can be retrieved using getValue() if you have the entry, or LockBox.get(String) if you only have the string key.


Method Summary
 String getMoniker()
          String key by which to identify this object.
 Object getValue()
          Returns the value in this lock box entry.
 

Method Detail

getValue

Object getValue()
Returns the value in this lock box entry.

Returns:
Value in this lock box entry.

getMoniker

String getMoniker()
String key by which to identify this object. Not null, not easily forged, and unique within the lock box.

Returns:
String key

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads