org.xnap.pkg
Class AbstractToken

java.lang.Object
  extended by org.xnap.pkg.AbstractToken
All Implemented Interfaces:
java.lang.Comparable
Direct Known Subclasses:
CommaToken, PackageToken, PipeToken

public abstract class AbstractToken
extends java.lang.Object
implements java.lang.Comparable


Constructor Summary
AbstractToken()
           
AbstractToken(AbstractToken[] depends, java.lang.String separator)
           
AbstractToken(java.lang.String token)
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractToken

public AbstractToken(AbstractToken[] depends,
                     java.lang.String separator)

AbstractToken

public AbstractToken(java.lang.String token)

AbstractToken

public AbstractToken()
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 o)
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


Copyright © 2001-2005 XNap Team. All Rights Reserved.