Skip to content

Version 1.21

Compare
Choose a tag to compare
@javadev javadev released this 01 Dec 03:24
  • Added methods firstOrNull(list), firstOrNull(list, pred), lastOrNull(list) and lastOrNull(list, pred) for chain.
  • Added methods $.checkNotNull(), Optional.map(function1) and Optional.orThrow(function).
  • Changed newHashSet with newLinkedHashSet for uniq/distinct methods.
  • Added lastIndex(array), distinct(array) and distinctBy(array, func) methods.
  • Added support for the $.chain(int[]) and $.map(int[], function) methods.