com.sun.electric.tool.io.input
Class ELIB.Header

java.lang.Object
  extended by com.sun.electric.tool.io.input.ELIB.Header
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable
Enclosing class:
ELIB

public static class ELIB.Header
extends java.lang.Object
implements java.lang.Comparable, java.io.Serializable

See Also:
Serialized Form

Method Summary
 int compareTo(java.lang.Object o)
          Compares two Header objects.
 boolean equals(java.lang.Object obj)
          Compares this Header object to the specified object.
 int hashCode()
          Returns a hash code for this Header.
 java.lang.String toString()
          Returns string description of this Header.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

hashCode

public int hashCode()
Returns a hash code for this Header.

Overrides:
hashCode in class java.lang.Object
Returns:
a hash code value for this Header.

equals

public boolean equals(java.lang.Object obj)
Compares this Header object to the specified object. The result is true if and only if the argument is not null and is an Header object that contains the same version, view and case-insensitive name as this Header.

Overrides:
equals in class java.lang.Object
Parameters:
obj - the object to compare with.
Returns:
true if the objects are the same; false otherwise.

compareTo

public int compareTo(java.lang.Object o)
Compares two Header objects.

Specified by:
compareTo in interface java.lang.Comparable
Parameters:
o - the object to be compared.
Returns:
the result of comparision.

toString

public java.lang.String toString()
Returns string description of this Header.

Overrides:
toString in class java.lang.Object
Returns:
the string description of this Header.