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,Serializable
- Enclosing interface:
Finder.InMemorySortCriterion<U>
public static class Finder.InMemorySortCriterion.DefaultInMemorySortCriterion<U>
extends Object
implements Finder.InMemorySortCriterion<U>, Serializable
- See Also:
-
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 -
Method Summary
Modifier and TypeMethodDescriptionvoidsort(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, waitMethods inherited from interface it.tidalwave.util.Finder.InMemorySortCriterion
sort
-
Constructor Details
-
DefaultInMemorySortCriterion
public DefaultInMemorySortCriterion()
-
-
Method Details
-
sort
Description copied from interface:Finder.InMemorySortCriterionPerforms the sort of results.- Specified by:
sortin interfaceFinder.InMemorySortCriterion<U>- Parameters:
results- the list of objects to be sorted in placesortDirection- the sort direction
-