public static class Sort.TypedSort<T> extends Sort
Sort.Direction, Sort.NullHandling, Sort.Order, Sort.TypedSort<T>DEFAULT_DIRECTION| Modifier and Type | Method and Description |
|---|---|
Sort |
ascending()
Returns a new
Sort with the current setup but ascending order direction. |
<S> Sort.TypedSort<S> |
by(Function<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 |
descending()
Returns a new
Sort with the current setup but descending order direction. |
Iterator<Sort.Order> |
iterator() |
String |
toString() |
and, by, by, by, by, equals, getOrderFor, hashCode, isSorted, isUnsorted, sort, unsortedclone, finalize, getClass, notify, notifyAll, wait, wait, waitand, and, and, and, empty, filter, flatMap, get, isEmpty, map, of, of, of, stream, toList, toSet, toStreamable, toStreamableforEach, spliteratorpublic <S> Sort.TypedSort<S> by(Function<T,S> property)
public <S> Sort.TypedSort<S> by(MethodInvocationRecorder.Recorded.ToCollectionConverter<T,S> collectionProperty)
public <S> Sort.TypedSort<S> by(MethodInvocationRecorder.Recorded.ToMapConverter<T,S> mapProperty)
public Sort ascending()
SortSort with the current setup but ascending order direction.public Sort descending()
SortSort with the current setup but descending order direction.descending in class Sortpublic Iterator<Sort.Order> iterator()
iterator in interface Iterable<Sort.Order>iterator in class SortCopyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.