Releases: javadev/underscore-java17
Releases · javadev/underscore-java17
Version 1.3
- Added support for empty processing instruction.
- Added !DOCTYPE support for U.fromXml(xml).
Version 1.2
- Fixed long number parser for json and xml.
- Improved createDocument(string).
Version 1.1
- Added sum method for array.
- Added U.filter() for iterable.
- Added support for U.nonNull(object).
- Added new chunk() and chunkFilter().
- Added methods U.singleOrNull(iterable) and U.singleOrNull(iterable, predicate).
- Added method U.cycle(iterable, times).
- Added method U.toCardinalityMap(iterable).
- Added U.interpose(iterable, element) and U.interposeByList(iterable, elements) methods.
- Added methods containsAtLeast(iterable, value, count) and containsAtMost(iterable, value, count).
- Added U.splitAt(iterable, position) method.
- Added U.repeat(element, times) method.
- Added U.binarySearch(iterable, value) method.
- Added U.first(iterable, pred, n) method and fix other U.first() methods.
- Improved U.fill(list, item), added U.fill(array, item) methods.
- Added U.average(iterable) and U.average(iterable, function) methods.
- Added U.explode(string) and U.implode(strings) methods.
- Added U.replace(iterable, predicate, value) and U.replaceIndexed() methods.
- Improved U.concat(iterables) method.
- Added U.takeSkipping(iterable, stepSize) method.
- Added U.subtract(values) method.
- Changed return value for methods U.range(stop), U.range(start, stop) and U.range(start, stop, step).
- Improved U.functions(object) method.
Version 1.0
- Added support U.fromXml(xml) for format.
- Introduced U.defaultTo(value, defaultValue).
- Added U.isNotEmpty(interable).