-
- All Implemented Interfaces:
-
java.util.Comparator
public class BarRenderer.BarComparator implements Comparator<BarRenderer.Bar>
Used to determine the order in which bars of the same group will be drawn.
-
-
Constructor Summary
Constructors Constructor Description BarRenderer.BarComparator(BarRenderer.BarOrientation barOrientation, float rangeOriginPx)
-
Method Summary
Modifier and Type Method Description int
compare(BarRenderer.Bar bar1, BarRenderer.Bar bar2)
-
Methods inherited from class java.util.Comparator
compare, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reverseOrder, reversed, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
BarRenderer.BarComparator
BarRenderer.BarComparator(BarRenderer.BarOrientation barOrientation, float rangeOriginPx)
-
-
Method Detail
-
compare
int compare(BarRenderer.Bar bar1, BarRenderer.Bar bar2)
-
-
-
-