void |
JsPair.consumeIf(Predicate<JsPair> predicate,
Consumer<JsPair> consumer) |
Consumes this pair if it's evaluated to true o a given predicate
|
void |
JsPair.consumeIf(Predicate<JsPair> predicate,
Consumer<JsPair> consumer) |
Consumes this pair if it's evaluated to true o a given predicate
|
JsArray |
JsArray.filterAllKeys(Predicate<? super JsPair> filter) |
|
JsObj |
JsObj.filterAllKeys(Predicate<? super JsPair> filter) |
|
T |
Json.filterAllKeys(Predicate<? super JsPair> filter) |
Filters all the keys of this json, removing those that don't ifPredicateElse the predicate.
|
JsArray |
JsArray.filterAllValues(Predicate<? super JsPair> filter) |
|
JsObj |
JsObj.filterAllValues(Predicate<? super JsPair> filter) |
|
T |
Json.filterAllValues(Predicate<? super JsPair> filter) |
Filters all the pairs of elements of this json, removing those that don't ifPredicateElse the predicate.
|
JsArray |
JsArray.filterKeys(Predicate<? super JsPair> filter) |
|
JsObj |
JsObj.filterKeys(Predicate<? super JsPair> filter) |
|
T |
Json.filterKeys(Predicate<? super JsPair> filter) |
Filters the keys in the first level of this json, removing those that don't ifPredicateElse the predicate.
|
JsArray |
JsArray.filterValues(Predicate<? super JsPair> filter) |
|
JsObj |
JsObj.filterValues(Predicate<? super JsPair> filter) |
|
T |
Json.filterValues(Predicate<? super JsPair> filter) |
Filters the pairs of elements in the first level of this json, removing those that don't ifPredicateElse
the predicate.
|
<R> R |
JsPair.ifElse(Predicate<? super JsPair> predicate,
Function<? super JsPair,R> ifTrue,
Function<? super JsPair,R> ifFalse) |
Declarative way of implementing an if-else.
|
<R> R |
JsPair.ifElse(Predicate<? super JsPair> predicate,
Function<? super JsPair,R> ifTrue,
Function<? super JsPair,R> ifFalse) |
Declarative way of implementing an if-else.
|
JsArray |
JsArray.mapAllKeys(Function<? super JsPair,String> fn) |
|
JsArray |
JsArray.mapAllKeys(Function<? super JsPair,String> fn,
Predicate<? super JsPair> predicate) |
|
JsArray |
JsArray.mapAllKeys(Function<? super JsPair,String> fn,
Predicate<? super JsPair> predicate) |
|
JsObj |
JsObj.mapAllKeys(Function<? super JsPair,String> fn) |
|
JsObj |
JsObj.mapAllKeys(Function<? super JsPair,String> fn,
Predicate<? super JsPair> predicate) |
|
JsObj |
JsObj.mapAllKeys(Function<? super JsPair,String> fn,
Predicate<? super JsPair> predicate) |
|
T |
Json.mapAllKeys(Function<? super JsPair,String> fn) |
Maps all the keys of this json.
|
T |
Json.mapAllKeys(Function<? super JsPair,String> fn,
Predicate<? super JsPair> predicate) |
Maps all the keys of this json that satisfies a given predicate.
|
T |
Json.mapAllKeys(Function<? super JsPair,String> fn,
Predicate<? super JsPair> predicate) |
Maps all the keys of this json that satisfies a given predicate.
|
JsArray |
JsArray.mapAllValues(Function<? super JsPair,? extends JsValue> fn) |
|
JsArray |
JsArray.mapAllValues(Function<? super JsPair,? extends JsValue> fn,
Predicate<? super JsPair> predicate) |
|
JsArray |
JsArray.mapAllValues(Function<? super JsPair,? extends JsValue> fn,
Predicate<? super JsPair> predicate) |
|
JsObj |
JsObj.mapAllValues(Function<? super JsPair,? extends JsValue> fn) |
|
JsObj |
JsObj.mapAllValues(Function<? super JsPair,? extends JsValue> fn,
Predicate<? super JsPair> predicate) |
|
JsObj |
JsObj.mapAllValues(Function<? super JsPair,? extends JsValue> fn,
Predicate<? super JsPair> predicate) |
|
T |
Json.mapAllValues(Function<? super JsPair,? extends JsValue> fn) |
Maps all the values of this json.
|
T |
Json.mapAllValues(Function<? super JsPair,? extends JsValue> fn,
Predicate<? super JsPair> predicate) |
Maps all the values of this json that satisfies a given predicate.
|
T |
Json.mapAllValues(Function<? super JsPair,? extends JsValue> fn,
Predicate<? super JsPair> predicate) |
Maps all the values of this json that satisfies a given predicate.
|
JsArray |
JsArray.mapKeys(Function<? super JsPair,String> fn) |
|
JsArray |
JsArray.mapKeys(Function<? super JsPair,String> fn,
Predicate<? super JsPair> predicate) |
|
JsArray |
JsArray.mapKeys(Function<? super JsPair,String> fn,
Predicate<? super JsPair> predicate) |
|
JsObj |
JsObj.mapKeys(Function<? super JsPair,String> fn) |
|
JsObj |
JsObj.mapKeys(Function<? super JsPair,String> fn,
Predicate<? super JsPair> predicate) |
|
JsObj |
JsObj.mapKeys(Function<? super JsPair,String> fn,
Predicate<? super JsPair> predicate) |
|
T |
Json.mapKeys(Function<? super JsPair,String> fn) |
Maps the keys in the first level of this json.
|
T |
Json.mapKeys(Function<? super JsPair,String> fn,
Predicate<? super JsPair> predicate) |
Maps the keys in the first level of this json that satisfies a given predicate.
|
T |
Json.mapKeys(Function<? super JsPair,String> fn,
Predicate<? super JsPair> predicate) |
Maps the keys in the first level of this json that satisfies a given predicate.
|
JsArray |
JsArray.mapValues(Function<? super JsPair,? extends JsValue> fn) |
|
JsArray |
JsArray.mapValues(Function<? super JsPair,? extends JsValue> fn,
Predicate<? super JsPair> predicate) |
|
JsArray |
JsArray.mapValues(Function<? super JsPair,? extends JsValue> fn,
Predicate<? super JsPair> predicate) |
|
JsObj |
JsObj.mapValues(Function<? super JsPair,? extends JsValue> fn) |
|
JsObj |
JsObj.mapValues(Function<? super JsPair,? extends JsValue> fn,
Predicate<? super JsPair> predicate) |
|
JsObj |
JsObj.mapValues(Function<? super JsPair,? extends JsValue> fn,
Predicate<? super JsPair> predicate) |
|
T |
Json.mapValues(Function<? super JsPair,? extends JsValue> fn) |
Maps the values in the first level of this json.
|
T |
Json.mapValues(Function<? super JsPair,? extends JsValue> fn,
Predicate<? super JsPair> predicate) |
Maps the values in the first level of this json that satisfies a given predicate.
|
T |
Json.mapValues(Function<? super JsPair,? extends JsValue> fn,
Predicate<? super JsPair> predicate) |
Maps the values in the first level of this json that satisfies a given predicate.
|
<R> Optional<R> |
JsArray.reduce(BinaryOperator<R> op,
Function<? super JsPair,R> map,
Predicate<? super JsPair> predicate) |
|
<R> Optional<R> |
JsArray.reduce(BinaryOperator<R> op,
Function<? super JsPair,R> map,
Predicate<? super JsPair> predicate) |
|
<R> Optional<R> |
JsObj.reduce(BinaryOperator<R> op,
Function<? super JsPair,R> map,
Predicate<? super JsPair> predicate) |
|
<R> Optional<R> |
JsObj.reduce(BinaryOperator<R> op,
Function<? super JsPair,R> map,
Predicate<? super JsPair> predicate) |
|
<R> Optional<R> |
Json.reduce(BinaryOperator<R> op,
Function<? super JsPair,R> map,
Predicate<? super JsPair> predicate) |
Performs a reduction on the values that satisfy the predicate in the first level of this json.
|
<R> Optional<R> |
Json.reduce(BinaryOperator<R> op,
Function<? super JsPair,R> map,
Predicate<? super JsPair> predicate) |
Performs a reduction on the values that satisfy the predicate in the first level of this json.
|
<R> Optional<R> |
JsArray.reduceAll(BinaryOperator<R> op,
Function<? super JsPair,R> map,
Predicate<? super JsPair> predicate) |
|
<R> Optional<R> |
JsArray.reduceAll(BinaryOperator<R> op,
Function<? super JsPair,R> map,
Predicate<? super JsPair> predicate) |
|
<R> Optional<R> |
JsObj.reduceAll(BinaryOperator<R> op,
Function<? super JsPair,R> map,
Predicate<? super JsPair> predicate) |
|
<R> Optional<R> |
JsObj.reduceAll(BinaryOperator<R> op,
Function<? super JsPair,R> map,
Predicate<? super JsPair> predicate) |
|
<R> Optional<R> |
Json.reduceAll(BinaryOperator<R> op,
Function<? super JsPair,R> map,
Predicate<? super JsPair> predicate) |
Performs a reduction on the values of this json that satisfy the predicate.
|
<R> Optional<R> |
Json.reduceAll(BinaryOperator<R> op,
Function<? super JsPair,R> map,
Predicate<? super JsPair> predicate) |
Performs a reduction on the values of this json that satisfy the predicate.
|
ParseBuilder |
ParseBuilder.withElemFilter(Predicate<? super JsPair> filter) |
adds a predicate to this builder to filter the elements of the json, removing those pairs that
are evaluated to false on the predicate.
|
ParseBuilder |
ParseBuilder.withElemMap(Function<? super JsPair,? extends JsValue> map) |
adds a function to this builder to map the elements of the json.
|