Constructor and Description |
---|
SortKey(int column, SortOrder sortOrder)
使用指定的排序顺序为指定的列创建
SortKey 。
|
public SortKey(int column, SortOrder sortOrder)
SortKey
。
column
- 列的索引,在模型方面
sortOrder
- 分拣机订单
IllegalArgumentException
- 如果
sortOrder
是
null
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.