public final class NodeAndContext<ContextType extends IContext<?>>
extends java.lang.Object
| Constructor and Description |
|---|
NodeAndContext(AbstractNode n,
ContextType c)
Constructs a new pair.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Checks whether this object and the given object are equal.
|
ContextType |
getContext()
Returns the context.
|
AbstractNode |
getNode()
Returns the node.
|
int |
hashCode()
Computes the hash code for this object.
|
java.lang.String |
toString() |
public NodeAndContext(AbstractNode n, ContextType c)
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic ContextType getContext()
public AbstractNode getNode()
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2009-2019 Aarhus University