public static class ELIB.Header
extends java.lang.Object
implements java.lang.Comparable, java.io.Serializable
Modifier and Type | Method and Description |
---|---|
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.
|
public int hashCode()
Header
.hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
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.equals
in class java.lang.Object
obj
- the object to compare with.true
if the objects are the same;
false
otherwise.public int compareTo(java.lang.Object o)
Header
objects.compareTo
in interface java.lang.Comparable
o
- the object to be compared.public java.lang.String toString()
toString
in class java.lang.Object