jeops.rete
Class PairIntReteNode
java.lang.Object
|
+--jeops.rete.PairIntReteNode
- class PairIntReteNode
- extends java.lang.Object
Auxiliar class used to group pairs of integers and rete nodes.
- Version:
- 1.0 13 Jul 2000
- Author:
- Carlos Figueira Filho (csff@cin.ufpe.br)
Method Summary |
boolean |
equals(java.lang.Object obj)
Compares the given object with this one. |
int |
getIntValue()
Returns the integer value of this pair. |
ReteNode |
getNode()
Returns the rete node of this pair. |
int |
hashCode()
Returns a hash code for this object. |
java.lang.String |
toString()
Returns a string representation of this object. |
Methods inherited from class java.lang.Object |
,
clone,
finalize,
getClass,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
intValue
private int intValue
- The integer value.
node
private ReteNode node
- The rete node.
PairIntReteNode
public PairIntReteNode(int intValue,
ReteNode node)
- Class constructor.
- Parameters:
intValue
- the integer value.node
- the rete node.
equals
public boolean equals(java.lang.Object obj)
- Compares the given object with this one.
- Overrides:
- equals in class java.lang.Object
- Returns:
true
if they are the same object;
false
otherwise.
getIntValue
public int getIntValue()
- Returns the integer value of this pair.
- Returns:
- the integer value of this pair.
getNode
public ReteNode getNode()
- Returns the rete node of this pair.
- Returns:
- the rete node of this pair.
hashCode
public int hashCode()
- Returns a hash code for this object.
- Overrides:
- hashCode in class java.lang.Object
- Returns:
- a hash code for this object.
toString
public java.lang.String toString()
- Returns a string representation of this object. Useful
for debugging.
- Overrides:
- toString in class java.lang.Object
- Returns:
- a string representation of this object.