absurdist
Class Link

java.lang.Object
  extended byabsurdist.Link

public class Link
extends java.lang.Object

Node pair (i,j). This is an auxiliary class used to store information about link similarity in Absurdist.


Field Summary
(package private) static Link EMPTY
          Special value; used to form keys for storing "similarity with an empty link".
 int i
           
 int j
           
 
Constructor Summary
Link(int i, int j)
           
 
Method Summary
 boolean equals(java.lang.Object _z)
          (Looks like you got to have your own equals() if you use this class as a Hashtable key.)
 int hashCode()
          Just something...
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

i

public int i

j

public int j

EMPTY

static final Link EMPTY
Special value; used to form keys for storing "similarity with an empty link".

Constructor Detail

Link

public Link(int i,
            int j)
Method Detail

hashCode

public int hashCode()
Just something... I am afraid the standard hashCode() does not work right


equals

public boolean equals(java.lang.Object _z)
(Looks like you got to have your own equals() if you use this class as a Hashtable key.)


toString

public java.lang.String toString()