Uses of Enum
jsonvalues.JsArray.TYPE
Packages that use JsArray.TYPE
Package
Description
json-values is a one-package and zero-dependency library to work with jsons in a declarative and functional way.
-
Uses of JsArray.TYPE in jsonvalues
Methods in jsonvalues that return JsArray.TYPEModifier and TypeMethodDescriptionstatic JsArray.TYPE
Returns the enum constant of this type with the specified name.static JsArray.TYPE[]
JsArray.TYPE.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in jsonvalues with parameters of type JsArray.TYPEModifier and TypeMethodDescriptionboolean
JsArray.equals
(JsArray array, JsArray.TYPE ARRAY_AS) Returns true if this array is equal to the given as a parameter.boolean
JsObj.equals
(JsObj that, JsArray.TYPE ARRAY_AS) return true if this obj is equal to the given as a parameter.default boolean
Json.equals
(JsValue elem, JsArray.TYPE ARRAY_AS) JsArray.intersection
(JsArray that, JsArray.TYPE ARRAY_AS) this.intersection(that, SET)
returns an array with the elements that exist in boththis
andthat
.JsObj.intersection
(JsObj that, JsArray.TYPE ARRAY_AS) this.intersection(that, SET)
returns an array with the elements that exist in boththis
andthat
this.intersection(that, MULTISET)
returns an array with the elements that exist in boththis
andthat
, being duplicates allowed.JsObj.intersectionAll
(JsObj that, JsArray.TYPE ARRAY_AS) this.intersectionAll(that)
behaves asthis.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.union
(JsArray that, JsArray.TYPE ARRAY_AS) this.union(that, SET)
returnsthis
plus those elements fromthat
that don't exist inthis
.JsObj.unionAll
(JsObj that, JsArray.TYPE ARRAY_AS) behaves like theJsObj.union(JsObj)
but, for those keys that exit in boththis
andthat
json objects, which associated elements are **containers of the same type**, the result is their union.