クラス Sort.TypedSort<T>
java.lang.ObjectSE
org.springframework.data.domain.Sort
org.springframework.data.domain.Sort.TypedSort<T>
- 実装されたすべてのインターフェース:
SerializableSE
、IterableSE<Sort.Order>
、SupplierSE<StreamSE<Sort.Order>>
、Streamable<Sort.Order>
- 含まれているクラス:
- Sort
メソッドハンドルを使用してソートするプロパティを定義するための Sort の拡張。
- 導入:
- 2.2
- 作成者:
- Oliver Gierke
- 関連事項:
ネストされたクラスのサマリー
クラス org.springframework.data.domain.Sort から継承されたネストクラス / インターフェース
Sort.Direction, Sort.NullHandling, Sort.Order, Sort.TypedSort<T>
フィールドサマリー
クラス org.springframework.data.domain.Sort から継承されたフィールド
DEFAULT_DIRECTION
方法の概要
修飾子と型メソッド説明現在の設定で昇順の新しいSort
を返します。<S> Sort.TypedSort<S>
by
(FunctionSE<T, S> property) <S> Sort.TypedSort<S>
by
(MethodInvocationRecorder.Recorded.ToCollectionConverter<T, S> collectionProperty) <S> Sort.TypedSort<S>
by
(MethodInvocationRecorder.Recorded.ToMapConverter<T, S> mapProperty) 現在の設定で降順方向が新しいSort
を返します。boolean
isEmpty()
現在のStreamable
が空かどうかを返します。iterator()
toString()
クラス org.springframework.data.domain.Sort から継承されたメソッド
and, by, by, by, by, doReverse, equals, getOrderFor, hashCode, isSorted, isUnsorted, reverse, sort, unsorted
クラス java.lang.ObjectSE から継承されたメソッド
clone, finalize, getClass, notify, notifyAll, wait, waitSE, waitSE
インターフェース java.lang.IterableSE から継承されたメソッド
forEachSE, spliterator
メソッドの詳細
by
by
public <S> Sort.TypedSort<S> by(MethodInvocationRecorder.Recorded.ToCollectionConverter<T, S> collectionProperty) by
ascending
クラスからコピーされた説明:Sort
現在の設定で昇順の新しいSort
を返します。descending
クラスからコピーされた説明:Sort
現在の設定で降順方向が新しいSort
を返します。- オーバーライド:
- クラス
Sort
のdescending
- 戻り値:
- 現在の設定で降順の方向の新しい
Sort
。
iterator
- 次で指定:
- インターフェース
IterableSE<T>
のiterator
- オーバーライド:
- クラス
Sort
のiterator
isEmpty
public boolean isEmpty()インターフェースからコピーされた説明:Streamable
現在のStreamable
が空かどうかを返します。- 次で指定:
- インターフェース
Streamable<T>
のisEmpty
- オーバーライド:
- クラス
Sort
のisEmpty
- 戻り値:
toString