Package it.tidalwave.util
Class Finder.InMemorySortCriterion.DefaultInMemorySortCriterion<T>
- java.lang.Object
-
- it.tidalwave.util.Finder.InMemorySortCriterion.DefaultInMemorySortCriterion<T>
-
- All Implemented Interfaces:
Finder.InMemorySortCriterion<T>
,Finder.SortCriterion
,java.io.Serializable
- Enclosing interface:
- Finder.InMemorySortCriterion<TYPE>
public static class Finder.InMemorySortCriterion.DefaultInMemorySortCriterion<T> extends java.lang.Object implements Finder.InMemorySortCriterion<T>, java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface it.tidalwave.util.Finder.InMemorySortCriterion
Finder.InMemorySortCriterion.DefaultInMemorySortCriterion<T>
-
-
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 T> 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 T> results, @Nonnull Finder.SortDirection sortDirection)
Description copied from interface:Finder.InMemorySortCriterion
Performs the sort of results.- Specified by:
sort
in interfaceFinder.InMemorySortCriterion<T>
- Parameters:
results
- the list of objects to be sorted in placesortDirection
- the sort direction
-
-