Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

jeops.rete
Class PairIntReteNode  view PairIntReteNode download PairIntReteNode.java

java.lang.Object
  extended byjeops.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

Field Summary
private  int intValue
          The integer value.
private  ReteNode node
          The rete node.
 
Constructor Summary
PairIntReteNode(int intValue, ReteNode node)
          Class constructor.
 
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, wait, wait, wait
 

Field Detail

intValue

private int intValue
The integer value.


node

private ReteNode node
The rete node.

Constructor Detail

PairIntReteNode

public PairIntReteNode(int intValue,
                       ReteNode node)
Class constructor.

Method Detail

equals

public boolean equals(java.lang.Object obj)
Compares the given object with this one.


getIntValue

public int getIntValue()
Returns the integer value of this pair.


getNode

public ReteNode getNode()
Returns the rete node of this pair.


hashCode

public int hashCode()
Returns a hash code for this object.


toString

public java.lang.String toString()
Returns a string representation of this object. Useful for debugging.