class Util extends Object
| Modifier and Type | Method and Description |
|---|---|
(package private) static Collection<Integer> |
processDeletions(Collection<Integer> positions,
int[] dismissedPositions) |
(package private) static Collection<Integer> |
processDeletions(Collection<Integer> positions,
List<Integer> dismissedPositions)
Removes positions in
dismissedPositions from positions, and shifts the remaining positions accordingly. |
static Collection<Integer> processDeletions(Collection<Integer> positions, int[] dismissedPositions)
static Collection<Integer> processDeletions(Collection<Integer> positions, List<Integer> dismissedPositions)
dismissedPositions from positions, and shifts the remaining positions accordingly.positions - the list of positions to remove from.dismissedPositions - the list of positions to remove.Collection instance, containing the resulting positions.