-
- All Implemented Interfaces:
- Comparator<javax.measure.Quantity<T>>
public class NaturalOrder<T extends javax.measure.Quantity<T>>
extends Object
implements Comparator<javax.measure.Quantity<T>>
Comparator to sort by natural order, looking both the unit and the value.
- Since:
- 1.0
- Version:
- 1.0.1
- Author:
- Werner Keil, Otavio Santana
-
-
Method Summary
Methods
Modifier and Type |
Method and Description |
int |
compare(javax.measure.Quantity<T> q1,
javax.measure.Quantity<T> q2) |
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Copyright © 2005–2017 Jean-Marie Dautelle, Werner Keil, V2COM. All rights reserved.