private void sortValues() { // it's important to use a stable sort here, otherwise // renderValues() will skip the wrong values Collections.sort(recorder.getValues(), new Comparator<Value>() { public int compare(Value v1, Value v2) { return v2.getColumn() - v1.getColumn(); } } ); }
private void renderValues() { List<Value> values = recorder.getValues(); int valuesSize = values.size();
private void sortValues() { // it's important to use a stable sort here, otherwise // renderValues() will skip the wrong values Collections.sort(recorder.getValues(), new Comparator<Value>() { public int compare(Value v1, Value v2) { return v2.getColumn() - v1.getColumn(); } } ); }
private void renderValues() { List<Value> values = recorder.getValues();