-
Deprecated Classes
-
Deprecated MethodsMethodDescriptionUse
#lastOrNull(Iterable<T>)instead: in Java 21, the method getLast has been introduced to some collection classes and would be preferred to this one by the Xbase/Xtend compiler, breaking the semantics of the original code: The Java 21 getLast method throws aNoSuchElementExceptionwhen the collection is empty, instead of returning null.UseIterableExtensions.sortWith(Iterable, Comparator)instead.Use#lastOrNull(Iterator<T>)instead. To be aligned withIterableExtensions.lastOrNull(Iterable)(see the deprecation reason ofIterableExtensions.last(Iterable)).useLongExtensions.operator_doubleLessThan(long, int)instead.useLongExtensions.operator_doubleGreaterThan(long, int)instead.useLongExtensions.operator_tripleGreaterThan(long, int)instead.usenew ToStringBuilder().addAllFields().toString()
-
Deprecated Constructors
ToStringBuilder