Class ArrayToolkit
java.lang.Object
org.openjdk.jmc.common.collection.ArrayToolkit
Various methods that work with arrays.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ArrayToolkit
public ArrayToolkit()
-
-
Method Details
-
filter
Filter specified indexes from an array.- Type Parameters:
T
- input array type- Parameters:
items
- input arrayexcludeIndexes
- Array indexes to remove. This list must be sorted.- Returns:
- a new array containing values from the input array except for the excluded indexes
-