org.openorb.notify.queue

Class ComparatorElement

public class ComparatorElement extends Object

To be used with the sorted orderer.

Author: Olivier Modica

Constructor Summary
ComparatorElement(Object key, Object contents)
Constructor
Method Summary
ObjectgetContents()
Get the contents
ObjectgetKey()
Get the key
voidsetContents(Object contents)
Set the contents
voidsetKey(Object key)
Set the key

Constructor Detail

ComparatorElement

public ComparatorElement(Object key, Object contents)
Constructor

Method Detail

getContents

public Object getContents()
Get the contents

getKey

public Object getKey()
Get the key

setContents

public void setContents(Object contents)
Set the contents

setKey

public void setKey(Object key)
Set the key