public class StringIdentifier extends Object implements ComparableIdentifier
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Identifier o) |
boolean |
equals(Object o)
Checks that another object is equal to this object.
|
int |
hashCode()
Returns a hash code for the object.
|
String |
toString()
Returns a string representation of the object.
|
public int hashCode()
hashCode
in interface Identifier
hashCode
in class Object
public boolean equals(Object o)
equals
in interface Identifier
equals
in class Object
o
- another objectpublic String toString()
toString
in interface Identifier
toString
in class Object
public int compareTo(Identifier o)
compareTo
in interface Comparable<Identifier>
Copyright © 2016 The Apache Software Foundation. All rights reserved.