Package com.randomnoun.common.timer
Class Benchmark.BenchmarkComparator
java.lang.Object
com.randomnoun.common.timer.Benchmark.BenchmarkComparator
- All Implemented Interfaces:
Comparator<Benchmark>
- Enclosing class:
Benchmark
A Comparator which performs comparisons between two Benchmarks.
-
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
-
BenchmarkComparator
public BenchmarkComparator()Create a new BenchmarkComparator object
-
-
Method Details
-
compare
Compare two structured list elements- Specified by:
compare
in interfaceComparator<Benchmark>
- Throws:
IllegalArgumentException
- See Also:
-