JsArray |
JsArray.append(JsPath path,
JsValue elem) |
|
JsArray |
JsArray.append(JsValue e,
JsValue... others) |
Adds one or more elements, starting from the first, to the back of this array.
|
JsArray |
JsArray.appendAll(JsArray array) |
Adds all the elements of the given array, starting from the head, to the back of this array.
|
JsArray |
JsArray.appendAll(JsPath path,
JsArray elems) |
|
static JsArray |
JsArray.empty() |
|
JsArray |
JsArray.filterAllKeys(Predicate<? super JsPair> filter) |
|
JsArray |
JsArray.filterAllObjs(BiPredicate<? super JsPath,? super JsObj> filter) |
|
JsArray |
JsArray.filterAllValues(Predicate<? super JsPair> filter) |
|
JsArray |
JsArray.filterKeys(Predicate<? super JsPair> filter) |
|
JsArray |
JsArray.filterObjs(BiPredicate<? super JsPath,? super JsObj> filter) |
|
JsArray |
JsArray.filterValues(Predicate<? super JsPair> filter) |
|
JsArray |
JsArray.init() |
Returns all the elements of this array except the last one.
|
JsArray |
JsArray.intersection(JsArray that,
JsArray.TYPE ARRAY_AS) |
this.intersection(that, SET) returns an array with the elements that exist in both this
and that .
|
JsArray |
JsArray.intersectionAll(JsArray that) |
this.intersectionAll(that) behaves as this.intersection(that, LIST) , but for those
elements that are containers of the same type and are located at the same position, the result
is their intersection.
|
JsArray |
JsArray.mapAllKeys(Function<? super JsPair,String> fn) |
|
JsArray |
JsArray.mapAllKeys(Function<? super JsPair,String> fn,
Predicate<? super JsPair> predicate) |
|
JsArray |
JsArray.mapAllObjs(BiFunction<? super JsPath,? super JsObj,JsObj> fn) |
|
JsArray |
JsArray.mapAllObjs(BiFunction<? super JsPath,? super JsObj,JsObj> fn,
BiPredicate<? super JsPath,? super JsObj> 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.mapKeys(Function<? super JsPair,String> fn) |
|
JsArray |
JsArray.mapKeys(Function<? super JsPair,String> fn,
Predicate<? super JsPair> predicate) |
|
JsArray |
JsArray.mapObjs(BiFunction<? super JsPath,? super JsObj,JsObj> fn) |
|
JsArray |
JsArray.mapObjs(BiFunction<? super JsPath,? super JsObj,JsObj> fn,
BiPredicate<? super JsPath,? super JsObj> predicate) |
|
JsArray |
JsArray.mapValues(Function<? super JsPair,? extends JsValue> fn) |
|
JsArray |
JsArray.mapValues(Function<? super JsPair,? extends JsValue> fn,
Predicate<? super JsPair> predicate) |
|
static JsArray |
JsArray.of(boolean bool,
boolean... others) |
Returns an immutable array from one or more booleans.
|
static JsArray |
JsArray.of(double number,
double... others) |
Returns an immutable array from one or more doubles.
|
static JsArray |
JsArray.of(int number,
int... others) |
Returns an immutable array from one or more integers.
|
static JsArray |
JsArray.of(long number,
long... others) |
Returns an immutable array from one or more longs.
|
static JsArray |
JsArray.of(String str,
String... others) |
Returns an immutable array from one or more strings.
|
static JsArray |
JsArray.of(JsPair pair,
JsPair... others) |
Returns an immutable array from one or more pairs.
|
static JsArray |
JsArray.of(JsValue e) |
|
static JsArray |
JsArray.of(JsValue e,
JsValue e1) |
Returns an immutable two-element array.
|
static JsArray |
JsArray.of(JsValue e,
JsValue e1,
JsValue e2) |
Returns an immutable three-element array.
|
static JsArray |
JsArray.of(JsValue e,
JsValue e1,
JsValue e2,
JsValue e3) |
Returns an immutable four-element array.
|
static JsArray |
JsArray.of(JsValue e,
JsValue e1,
JsValue e2,
JsValue e3,
JsValue e4) |
Returns an immutable five-element array.
|
static JsArray |
JsArray.of(JsValue e,
JsValue e1,
JsValue e2,
JsValue e3,
JsValue e4,
JsValue... rest) |
Returns an immutable array.
|
static JsArray |
JsArray.ofIterable(Iterable<JsValue> iterable) |
returns an immutable json array from an iterable of json elements
|
static JsArray |
JsArray.parse(String str) |
Tries to parse the string into an immutable json array.
|
static JsArray |
JsArray.parse(String str,
ParseBuilder builder) |
|
JsArray |
JsArray.prepend(JsPath path,
JsValue elem) |
|
JsArray |
JsArray.prepend(JsValue e,
JsValue... others) |
Adds one or more elements, starting from the last, to the front of this array.
|
JsArray |
JsArray.prependAll(JsArray array) |
Adds all the elements of the array, starting from the last, to the front of this array.
|
JsArray |
JsArray.prependAll(JsPath path,
JsArray elems) |
|
JsArray |
JsArray.put(JsPath path,
Function<? super JsValue,? extends JsValue> fn) |
|
JsArray |
JsArray.remove(JsPath path) |
|
JsArray |
JsArray.tail() |
Returns a json array consisting of all elements of this array except the first one.
|
default JsArray |
JsValue.toJsArray() |
|
JsArray |
JsArray.union(JsArray that,
JsArray.TYPE ARRAY_AS) |
this.union(that, SET) returns this plus those elements from that that
don't exist in this .
|
JsArray |
JsArray.unionAll(JsArray that) |
returns this plus those elements from that which position is >= this.size() ,
and, at the positions where a container of the same type exists in both this and that ,
the result is their union.
|