Class ListUtils
java.lang.Object
com.dlsc.gemsfx.util.ListUtils
Utility methods for working with lists.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ListUtils
public ListUtils()
-
-
Method Details
-
replaceIf
Replaces matching elements in the list with the provided new value.- Type Parameters:
T- the type of elements in the list- Parameters:
list- the list to operate onmatchPredicate- the predicate to match elementsnewValue- the new value to replace matching elements
-