static class FileOptionTag.ModifiedComparator extends Object implements Comparator, Serializable
更新日順でのソート順を指定する Comparator の実体内部クラス
コンストラクタと説明 |
---|
ModifiedComparator(boolean desc)
更新日順での比較を行うオブジェクトを作成します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
int |
compare(File o1,
File o2)
Comparator インターフェースの compare( File,File ) メソッド。
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public ModifiedComparator(boolean desc)
desc
- 表示順逆順 [true:昇順/false:降順]public int compare(File o1, File o2)
compare
インタフェース内 Comparator
o1
- 比較元1のファイルオブジェクトo2
- 比較元2のファイルオブジェクトWebアプリケーションフレームワーク openGionCopyright (c) 2009 The openGion Project.