Class Overview
A Sorter
orders tests. In general you will not need
to use a Sorter
directly. Instead, use sortWith(Comparator)
.
Summary
Fields |
public
static
Sorter |
NULL |
NULL is a Sorter that leaves elements in an undefined order
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
java.util.Comparator
abstract
int
|
compare(T arg0, T arg1)
|
abstract
boolean
|
equals(Object arg0)
|
|
Fields
public
static
Sorter
NULL
NULL is a Sorter
that leaves elements in an undefined order
Public Constructors
Creates a Sorter
that uses comparator
to sort tests
Parameters
comparator
| the Comparator to use when sorting tests
|
Public Methods
public
void
apply
(Object object)
Sorts the test in runner
using comparator