public static class BarRenderer.BarComparator extends java.lang.Object implements java.util.Comparator<BarRenderer.Bar>
Constructor and Description |
---|
BarComparator(BarRenderer.BarOrientation barOrientation,
float rangeOriginPx) |
Modifier and Type | Method and Description |
---|---|
int |
compare(BarRenderer.Bar bar1,
BarRenderer.Bar bar2) |
public BarComparator(BarRenderer.BarOrientation barOrientation, float rangeOriginPx)
public int compare(BarRenderer.Bar bar1, BarRenderer.Bar bar2)
compare
in interface java.util.Comparator<BarRenderer.Bar>