Package org.junit.runners.model
Class TestClass.FieldComparator
java.lang.Object
org.junit.runners.model.TestClass.FieldComparator
- All Implemented Interfaces:
Comparator<Field>
- Enclosing class:
- TestClass
Compares two fields by its name.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
FieldComparator
private FieldComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<Field>
-