de.fuberlin.wiwiss.d2rq.fastpath
Class VariableIndex

java.lang.Object
  extended by de.fuberlin.wiwiss.d2rq.fastpath.VariableIndex
All Implemented Interfaces:
Comparable

public class VariableIndex
extends Object
implements Comparable

Helper class for storing the index of a node within a query.

Version:
$Id: VariableIndex.java,v 1.1 2006/09/18 16:59:26 cyganiak Exp $
Author:
jgarbers

Field Summary
 int nodeNr
           
 int tripleNr
           
 
Constructor Summary
VariableIndex(int triple, int node)
           
 
Method Summary
 int compareTo(Object obj)
           
 boolean equals(Object obj)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

tripleNr

public int tripleNr

nodeNr

public int nodeNr
Constructor Detail

VariableIndex

public VariableIndex(int triple,
                     int node)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

compareTo

public int compareTo(Object obj)
Specified by:
compareTo in interface Comparable

toString

public String toString()
Overrides:
toString in class Object