public class Address<T extends Node>
extends java.lang.Object
Constructor and Description |
---|
Address(ReteContainer container,
java.lang.Long nodeId)
General constructor.
|
Address(T node)
Local-only constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
ReteContainer |
getContainer() |
T |
getNodeCache() |
java.lang.Long |
getNodeId() |
int |
hashCode() |
static <N extends Node> |
of(N node)
Address of local node (use only for containers in the same VM!)
|
void |
setContainer(ReteContainer container) |
void |
setNodeCache(T nodeCache) |
void |
setNodeId(java.lang.Long nodeId) |
java.lang.String |
toString() |
public Address(ReteContainer container, java.lang.Long nodeId)
container
- nodeId
- public Address(T node)
node
- the node to addresspublic static <N extends Node> Address<N> of(N node)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public ReteContainer getContainer()
public void setContainer(ReteContainer container)
public java.lang.Long getNodeId()
public void setNodeId(java.lang.Long nodeId)
public T getNodeCache()
public void setNodeCache(T nodeCache)
public java.lang.String toString()
toString
in class java.lang.Object