private static class IndexHelper.SortKey
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
entity
DMO entity name
|
private java.lang.String |
sort
Sort phrase
|
Constructor and Description |
---|
SortKey(java.lang.String entity,
java.lang.String sort)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Override the default implementation.
|
int |
hashCode()
Override the default implementation.
|
java.lang.String |
toString()
Provide a string representation of this object's state.
|
private final java.lang.String entity
private final java.lang.String sort
SortKey(java.lang.String entity, java.lang.String sort)
entity
- DMO entity name.sort
- Sort phrase.public int hashCode()
equals(Object)
.hashCode
in class java.lang.Object
Object.hashCode()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- Another instance of this class to compare with this one.true
if o
is equivalent to this
object, else false
.Object.equals(java.lang.Object)
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()