Closed gedeck closed 4 years ago
Util.removeIf(T[] arr, (T) -> boolean), e.g. remove all elements from list that are greater than 4. Only implemented for Object based arrays
Util.removeIf(T[] arr, (T) -> boolean)
Util.arrayRemoveIf(arr, (n) -> n > 4))
This is the array analogue to the List.removeIf method
List.removeIf
Util.equal(T obj1, T obj2), useful when obj1 or obj2 could be null.
Util.equal(T obj1, T obj2)
Util.equals((Test)null, (Test)null)
Util.removeIf(T[] arr, (T) -> boolean)
, e.g. remove all elements from list that are greater than 4. Only implemented for Object based arraysThis is the array analogue to the
List.removeIf
methodUtil.equal(T obj1, T obj2)
, useful when obj1 or obj2 could be null.