Package edu.uiuc.ncsa.security.util.cli
Class BasicSorter
- java.lang.Object
-
- edu.uiuc.ncsa.security.util.cli.BasicSorter
-
- All Implemented Interfaces:
Sortable
public class BasicSorter extends Object implements Sortable
A very basic sorter. This will just sortIdentifiable
objects on their unique identifier.Created by Jeff Gaynor
on 5/22/14 at 9:52 AM
-
-
Constructor Summary
Constructors Constructor Description BasicSorter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setState(String args)
Given a string of arguments, set the internal state.ArrayList<Identifiable>
sort(List<Identifiable> arg)
Does the actual sorting.
-
-
-
Method Detail
-
sort
public ArrayList<Identifiable> sort(List<Identifiable> arg)
Description copied from interface:Sortable
Does the actual sorting. The returnedArrayList
is sorted according to the current internal state of the object.
-
-