org.sablecc.sablecc
Class LR0Item

java.lang.Object
  extended by org.sablecc.sablecc.LR0Item
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable

final class LR0Item
extends java.lang.Object
implements java.lang.Cloneable, java.lang.Comparable


Field Summary
(package private)  int position
           
(package private)  int production
           
 
Constructor Summary
LR0Item(int production, int position)
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(java.lang.Object object)
           
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

production

final int production

position

final int position
Constructor Detail

LR0Item

LR0Item(int production,
        int position)
Method Detail

compareTo

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

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object