public class IntPropertySorter<E extends rescuecore2.standard.entities.StandardEntity>
extends java.lang.Object
implements java.util.Comparator<E>
コンストラクタと説明 |
---|
IntPropertySorter(rescuecore2.standard.entities.StandardPropertyURN urn)
省略コンストラクタ
自動的に昇順にソートされる
|
IntPropertySorter(rescuecore2.standard.entities.StandardPropertyURN urn,
OrderBy order)
標準コンストラクタ
|
修飾子とタイプ | メソッドと説明 |
---|---|
int |
compare(rescuecore2.standard.entities.StandardEntity a,
rescuecore2.standard.entities.StandardEntity b) |
public IntPropertySorter(rescuecore2.standard.entities.StandardPropertyURN urn, OrderBy order)
urn
- ソートの基準にするPropertyのURNorder
- 昇順か降順かpublic IntPropertySorter(rescuecore2.standard.entities.StandardPropertyURN urn)
urn
- ソートの基準にするPropertyのURNpublic int compare(rescuecore2.standard.entities.StandardEntity a, rescuecore2.standard.entities.StandardEntity b)
compare
インタフェース内 java.util.Comparator<E extends rescuecore2.standard.entities.StandardEntity>