Package it.tidalwave.util
Class Finder.InMemorySortCriterion.DefaultInMemorySortCriterion<U>
- java.lang.Object
-
- it.tidalwave.util.Finder.InMemorySortCriterion.DefaultInMemorySortCriterion<U>
-
- All Implemented Interfaces:
Finder.InMemorySortCriterion<U>
,Finder.SortCriterion
,java.io.Serializable
- Enclosing interface:
- Finder.InMemorySortCriterion<U>
public static class Finder.InMemorySortCriterion.DefaultInMemorySortCriterion<U> extends java.lang.Object implements Finder.InMemorySortCriterion<U>, java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface it.tidalwave.util.Finder.InMemorySortCriterion
Finder.InMemorySortCriterion.DefaultInMemorySortCriterion<U>
-
-
Field Summary
-
Fields inherited from interface it.tidalwave.util.Finder.SortCriterion
_SortCriterion_, DEFAULT, UNSORTED
-
-
Constructor Summary
Constructors Constructor Description DefaultInMemorySortCriterion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
sort(java.util.List<? extends U> results, Finder.SortDirection sortDirection)
Performs the sort of results.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface it.tidalwave.util.Finder.InMemorySortCriterion
sort
-
-
-
-
Method Detail
-
sort
public void sort(@Nonnull java.util.List<? extends U> results, @Nonnull Finder.SortDirection sortDirection)
Description copied from interface:Finder.InMemorySortCriterion
Performs the sort of results.- Specified by:
sort
in interfaceFinder.InMemorySortCriterion<U>
- Parameters:
results
- the list of objects to be sorted in placesortDirection
- the sort direction
-
-