New collection argument check methods in KiwiPreconditions #753
Labels
new feature
A new feature such as a new class, method, package, group of classes, etc.
Milestone
Add several new methods to
KiwiPreconditions
to check thatCollection
andMap
arguments are not empty (treating null as empty):<T> void checkArgumentNotEmpty(Collection<T> collection)
<K, V> void checkArgumentNotEmpty(Map<K, V> map)
These both throw
IllegalArgumentException
if the argument is null or empty.The text was updated successfully, but these errors were encountered: