I have to filter and to sort a ArrayList wíth objects.
- Every object has 2 integer pairs => 4 ints per Object.
- Every value of Column_1 < Column_2 and
- Every ...
Is there any Compareable<Collection<T extends Compareable<T>>> implementation in Java (which behaves as C++'s std::list<T>::operator<() or std::set<T>::operator<())?
Joda's AbstractInstant interface extends the raw type Comparable, instead of Comparable<AbstractInstant>, which seems to violate Java best practices. In particular, it means that I cannot use DateTime ...