Package com.spun.util.timers
Class EventTime.SortEventTimers
java.lang.Object
com.spun.util.timers.EventTime.SortEventTimers
- All Implemented Interfaces:
Serializable,Comparator<EventTime>
- Enclosing class:
- EventTime
public static class EventTime.SortEventTimers extends Object implements Comparator<EventTime>, Serializable
For use with java.util.Arrays.sort(Trade[], Trade.SortAddDate).
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description SortEventTimers(EventTime.SortBy type, boolean asc) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
SortEventTimers
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<EventTime>- Throws:
ClassCastException
-