JsArray |
JsArray.add(int index,
JsElem elem) |
|
JsArray |
JsArray.append(JsElem elem,
JsElem... 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 |
Try.arrOrElse(Supplier<JsArray> other) |
Returns the computed JsArray if the parsed string is a well-formed json array, returning the JsArray
given by the supplier otherwise.
|
JsArray |
Try.arrOrElseThrow() |
Returns the computed JsArray if the parsed string is a well-formed json array, throwing a
MalformedJson exception otherwise.
|
default JsArray |
JsElem.asJsArray() |
|
JsArray |
ImmutableJsons.ImmutableJsArrays.empty() |
Returns the immutable empty array.
|
JsArray |
MutableJsons.MutableJsArrays.empty() |
Returns a mutable empty array.
|
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.intersection_(JsArray that) |
this.intersection_(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 |
ImmutableJsons.ImmutableJsArrays.of(boolean bool,
boolean... others) |
Returns an immutable array from one or more booleans.
|
JsArray |
ImmutableJsons.ImmutableJsArrays.of(double number,
double... others) |
Returns an immutable array from one or more doubles.
|
JsArray |
ImmutableJsons.ImmutableJsArrays.of(int number,
int... others) |
Returns an immutable array from one or more integers.
|
JsArray |
ImmutableJsons.ImmutableJsArrays.of(long number,
long... others) |
Returns an immutable array from one or more longs.
|
JsArray |
ImmutableJsons.ImmutableJsArrays.of(String str,
String... others) |
Returns an immutable array from one or more strings.
|
JsArray |
ImmutableJsons.ImmutableJsArrays.of(JsElem e) |
|
JsArray |
ImmutableJsons.ImmutableJsArrays.of(JsElem e,
JsElem e1) |
Returns an immutable two-element array.
|
JsArray |
ImmutableJsons.ImmutableJsArrays.of(JsElem e,
JsElem e1,
JsElem e2) |
Returns an immutable three-element array.
|
JsArray |
ImmutableJsons.ImmutableJsArrays.of(JsElem e,
JsElem e1,
JsElem e2,
JsElem e3) |
Returns an immutable four-element array.
|
JsArray |
ImmutableJsons.ImmutableJsArrays.of(JsElem e,
JsElem e1,
JsElem e2,
JsElem e3,
JsElem e4) |
Returns an immutable five-element array.
|
JsArray |
ImmutableJsons.ImmutableJsArrays.of(JsElem e,
JsElem e1,
JsElem e2,
JsElem e3,
JsElem e4,
JsElem... rest) |
Returns an immutable array.
|
JsArray |
ImmutableJsons.ImmutableJsArrays.of(JsPair pair,
JsPair... others) |
Returns an immutable array from one or more pairs.
|
JsArray |
MutableJsons.MutableJsArrays.of(boolean bool,
boolean... others) |
Returns a mutable array from one or more booleans.
|
JsArray |
MutableJsons.MutableJsArrays.of(double number,
double... others) |
Returns a mutable array from one or more doubles.
|
JsArray |
MutableJsons.MutableJsArrays.of(int number,
int... others) |
Returns a mutable array from one or more integers.
|
JsArray |
MutableJsons.MutableJsArrays.of(long number,
long... others) |
Returns a mutable array from one or more longs.
|
JsArray |
MutableJsons.MutableJsArrays.of(String str,
String... others) |
Returns a mutable array from one or more strings.
|
JsArray |
MutableJsons.MutableJsArrays.of(JsElem e) |
Returns a mutable one-element array.
|
JsArray |
MutableJsons.MutableJsArrays.of(JsElem e,
JsElem e1) |
Returns an mutable two-element array.
|
JsArray |
MutableJsons.MutableJsArrays.of(JsElem e,
JsElem e1,
JsElem e2) |
Returns an mutable three-element array.
|
JsArray |
MutableJsons.MutableJsArrays.of(JsElem e,
JsElem e1,
JsElem e2,
JsElem e3) |
Returns a mutable four-element array.
|
JsArray |
MutableJsons.MutableJsArrays.of(JsElem e,
JsElem e1,
JsElem e2,
JsElem e3,
JsElem e4) |
Returns an mutable five-element array.
|
JsArray |
MutableJsons.MutableJsArrays.of(JsElem e,
JsElem e1,
JsElem e2,
JsElem e3,
JsElem e4,
JsElem... rest) |
Returns an mutable array.
|
JsArray |
MutableJsons.MutableJsArrays.of(JsPair pair,
JsPair... others) |
Returns an immutable array from one or more pairs.
|
JsArray |
ImmutableJsons.ImmutableJsArrays.ofIterable(Iterable<JsElem> iterable) |
returns an immutable json array from an iterable of json elements
|
JsArray |
MutableJsons.MutableJsArrays.ofIterable(Iterable<JsElem> iterable) |
|
JsArray |
TryArr.orElse(Supplier<JsArray> other) |
Returns the computed JsArray if the parsed string is a well-formed json array, returning the
JsArray given by the supplier otherwise.
|
JsArray |
TryArr.orElseThrow() |
Returns the computed JsArray if the parsed string is a well-formed json array, throwing a MalformedJson
otherwise.
|
JsArray |
JsArray.prepend(JsElem elem,
JsElem... 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.tail() |
Returns a json array consisting of all elements of this array except the first one.
|
JsArray |
Patch.Builder.toArray() |
returns the array of operations
|
JsArray |
ImmutableJsons.ImmutableJsArrays.toImmutable(JsArray mutable) |
|
JsArray |
MutableJsons.MutableJsArrays.toMutable(JsArray array) |
|
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.union_(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.
|