public class Sortable
extends java.lang.Object
Constructor and Description |
---|
Sortable() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isSorted(java.util.ArrayList<Card> theRack)
A template function to check whether an iterable list is in
consecutive order.
|
public static boolean isSorted(java.util.ArrayList<Card> theRack)
theRack
- The Iterable Object itself