| Constructor and Description |
|---|
SortKey(int column,
SortOrder sortOrder)
Creates a
SortKey for the specified column with
the specified sort order. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Returns true if this object equals the specified object.
|
int |
getColumn()
Returns the index of the column.
|
SortOrder |
getSortOrder()
Returns the sort order of the column.
|
int |
hashCode()
Returns the hash code for this
SortKey. |
public SortKey(int column,
SortOrder sortOrder)
SortKey for the specified column with
the specified sort order.IllegalArgumentException - if sortOrder is
nullcolumn - index of the column, in terms of the modelsortOrder - the sorter orderpublic final int getColumn()
public final SortOrder getSortOrder()
public int hashCode()
SortKey.hashCode in class ObjectObject.equals(java.lang.Object),
System.identityHashCode(java.lang.Object)public boolean equals(Object o)
SortKey and
references the same column and sort order, the two objects
are equal.equals in class Objecto - the object to compare too is equal to this SortKeyObject.hashCode(),
HashMapaicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2017 aicas GmbH. All Rights Reserved.