public class RemovrCompositeSpec extends RemovrSpec
pathElement| Constructor and Description |
|---|
RemovrCompositeSpec(String rawKey,
Map<String,Object> spec) |
| 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 List<String> applyToMap(Map<String,Object> inputMap)
RemovrSpecapplyToMap in class RemovrSpecpublic List<Integer> applyToList(List<Object> inputList)
RemovrSpecapplyToList in class RemovrSpecCopyright © 2023. All rights reserved.