Package edu.uiuc.ncsa.security.util.cli
Interface Sortable
-
- All Known Implementing Classes:
BasicSorter
public interface SortableCreated by Jeff Gaynor
on 5/22/14 at 9:42 AM
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetState(String args)Given a string of arguments, set the internal state.ArrayList<Identifiable>sort(List<Identifiable> arg)Does the actual sorting.
-
-
-
Method Detail
-
sort
ArrayList<Identifiable> sort(List<Identifiable> arg)
Does the actual sorting. The returnedArrayListis sorted according to the current internal state of the object.- Parameters:
arg-- Returns:
-
setState
void setState(String args)
Given a string of arguments, set the internal state. Alternately, you can set the state manually.- Parameters:
args-
-
-