| Constructor and Description |
|---|
SortKey(int column, SortOrder sortOrder)
创建一个指定的列指定排序顺序
SortKey。
|
public SortKey(int column,
SortOrder sortOrder)
SortKey。
column -列的索引,从模型
sortOrder -分拣订单
null
sortOrder
IllegalArgumentException
public final int getColumn()
public final SortOrder getSortOrder()
public int hashCode()
SortKey哈希代码。
hashCode 方法重写,继承类
Object
Object.equals(java.lang.Object),
System.identityHashCode(java.lang.Object)
public boolean equals(Object o)
SortKey和引用相同的列和排序顺序的两个对象是相等的。
equals 方法重写,继承类
Object
o -对象比较
o等于这
SortKey
Object.hashCode(),
HashMap
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.