public class RemovrLeafSpec extends RemovrSpec
pathElement
Constructor and Description |
---|
RemovrLeafSpec(java.lang.String rawKey) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Integer> |
applyToList(java.util.List<java.lang.Object> inputList)
Build a list of indices to remove from the input list, using the pathElement
from the Spec.
|
java.util.List<java.lang.String> |
applyToMap(java.util.Map<java.lang.String,java.lang.Object> inputMap)
Build a list of keys to remove from the input map, using the pathElement
from the Spec.
|
getNonNegativeIntegerFromLiteralPathElement, parse
public java.util.List<java.lang.String> applyToMap(java.util.Map<java.lang.String,java.lang.Object> inputMap)
applyToMap
in class RemovrSpec
inputMap
- : Input map from which the spec key needs to be removed.public java.util.List<java.lang.Integer> applyToList(java.util.List<java.lang.Object> inputList)
RemovrSpec
applyToList
in class RemovrSpec
inputList
- : Input List from which the spec key needs to be removed.