Deprecated API
Contents
-
Deprecated Classes
-
Deprecated MethodsMethodDescriptionUseinstead: 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 a
invalid reference
#lastOrNull(Iterable<T>)NoSuchElementExceptionwhen the collection is empty, instead of returning null.UseIterableExtensions.sortWith(Iterable, Comparator)instead.Useinstead. To be aligned withinvalid reference
#lastOrNull(Iterator<T>)IterableExtensions.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