|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageComparableKeyManager
Calculates keys for messages. Keys are Comparable
objects that can be
used to order messages in a buffer.
MessageKeyManager
Field Summary | |
---|---|
static String |
ITF_NAME
The commonly used name to refer to an interface with this signature. |
Method Summary | |
---|---|
Comparable |
createComparableKey()
Returns a new empty comparable key object. |
void |
deleteComparableKey(Comparable key)
Delete the given comparable key instance. |
Comparable |
duplicateComparableKey(Comparable key)
Clones the given comparable key. |
void |
fillComparableKey(Comparable key,
Message message)
Fills the given comparable key to match the given message. |
Field Detail |
---|
static final String ITF_NAME
Method Detail |
---|
Comparable createComparableKey()
null
.void fillComparableKey(Comparable key, Message message)
key
- the comparable key to calculate; must not be null
.message
- the message to which the comparable key will be associated;
must not be null
Comparable duplicateComparableKey(Comparable key)
key
- the comparable key to clone; never null
.
null
.void deleteComparableKey(Comparable key)
key
- the comparable key to delete; never null
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |