public class BasicSorter extends Object implements Sortable
Identifiable
objects on their
unique identifier.
Created by Jeff Gaynor
on 5/22/14 at 9:52 AM
Constructor and Description |
---|
BasicSorter() |
Modifier and Type | Method and Description |
---|---|
void |
setState(String args)
Given a string of arguments, set the internal state.
|
ArrayList<Identifiable> |
sort(List<Identifiable> arg)
Does the actual sorting.
|
public ArrayList<Identifiable> sort(List<Identifiable> arg)
Sortable
ArrayList
is sorted according to the
current internal state of the object.Copyright © 2019. All Rights Reserved.