class ContextKey extends Object
Modifier and Type | Field and Description |
---|---|
private Item |
item |
private String |
subContext |
Constructor and Description |
---|
ContextKey(Item item,
String subContext)
Create a new ContextKey object from
Item and it's subcontext. |
public Item getItem()
Item
that belongs to this object.public String getSubContext()
String
with the subcontext.public boolean equals(Object o)
ContextKey
object. They are equal if both have the same item and subcontext.