ma ktoś może pomysł jak mam zaimplementować coś takiego ?
protected static <T> boolean less(T o1, T o2, Comparator<? super T> comparator) {}