public class ArrayToolkit extends Object
| Constructor and Description |
|---|
ArrayToolkit() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T[] |
filter(T[] items,
List<Integer> excludeIndexes)
Filter specified indexes from an array.
|
public static <T> T[] filter(T[] items,
List<Integer> excludeIndexes)
T - input array typeitems - input arrayexcludeIndexes - Array indexes to remove. This list must be sorted.Copyright © 2019. All rights reserved.