org.openorb.notify.queue
Class ComparatorElement
java.lang.Object
|
+--org.openorb.notify.queue.ComparatorElement
- public class ComparatorElement
- extends java.lang.Object
To be used with the sorted orderer.
- Author:
- Olivier Modica
|
Constructor Summary |
ComparatorElement(java.lang.Object key,
java.lang.Object contents)
Constructor |
|
Method Summary |
java.lang.Object |
getContents()
Get the contents |
java.lang.Object |
getKey()
Get the key |
void |
setContents(java.lang.Object contents)
Set the contents |
void |
setKey(java.lang.Object key)
Set the key |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComparatorElement
public ComparatorElement(java.lang.Object key,
java.lang.Object contents)
- Constructor
setKey
public void setKey(java.lang.Object key)
- Set the key
getKey
public java.lang.Object getKey()
- Get the key
setContents
public void setContents(java.lang.Object contents)
- Set the contents
getContents
public java.lang.Object getContents()
- Get the contents