public class RemovrLeafSpec extends RemovrSpec
pathElement| Constructor and Description |
|---|
RemovrLeafSpec(String rawKey) |
| Modifier and Type | Method and Description |
|---|---|
List<Integer> |
applyToList(List<Object> inputList)
Build a list of indices to remove from the input list, using the pathElement
from the Spec.
|
List<String> |
applyToMap(Map<String,Object> inputMap)
Build a list of keys to remove from the input map, using the pathElement
from the Spec.
|
getNonNegativeIntegerFromLiteralPathElement, parsepublic RemovrLeafSpec(String rawKey)
public List<String> applyToMap(Map<String,Object> inputMap)
applyToMap in class RemovrSpecinputMap - : Input map from which the spec key needs to be removed.public List<Integer> applyToList(List<Object> inputList)
RemovrSpecapplyToList in class RemovrSpecinputList - : Input List from which the spec key needs to be removed.Copyright © 2023. All rights reserved.