org.garret.heap
Class Relation

java.lang.Object
  extended byorg.garret.heap.Relation
All Implemented Interfaces:
java.lang.Comparable

public class Relation
extends java.lang.Object
implements java.lang.Comparable

Class representing relation between two classes


Field Summary
 int count
          Number of links between instances of these classes
 java.lang.Class dst
          Class of referenced objects
 java.lang.Class src
          Class of object containing the reference
 
Method Summary
 int compareTo(java.lang.Object o)
           
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

count

public int count
Number of links between instances of these classes


dst

public final java.lang.Class dst
Class of referenced objects


src

public final java.lang.Class src
Class of object containing the reference

Method Detail

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable

equals

public boolean equals(java.lang.Object obj)

hashCode

public int hashCode()