public abstract class MapValue extends VirtualValue
| Constructor and Description |
|---|
MapValue() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(VirtualValue other,
Comparator<AnyValue> comparator) |
int |
computeHash() |
abstract boolean |
containsKey(String key) |
boolean |
equals(VirtualValue other) |
MapValue |
filter(BiFunction<String,AnyValue,Boolean> filterFunction) |
abstract <E extends Exception> |
foreach(ThrowingBiConsumer<String,AnyValue,E> f) |
abstract AnyValue |
get(String key) |
String |
getTypeName() |
ListValue |
keys() |
abstract Iterable<String> |
keySet() |
<T> T |
map(ValueMapper<T> mapper) |
abstract int |
size() |
Boolean |
ternaryEquals(AnyValue other) |
Map<String,AnyValue> |
toJavaMap() |
String |
toString() |
MapValue |
updatedWith(MapValue other) |
MapValue |
updatedWith(String key,
AnyValue value) |
VirtualValueGroup |
valueGroup() |
<E extends Exception> |
writeTo(AnyValueWriter<E> writer,
Authorizations authorizations) |
eqequals, hashCode, isSequenceValuepublic static MapValue EMPTY
public int computeHash()
computeHash in class AnyValuepublic <E extends Exception> void writeTo(AnyValueWriter<E> writer, Authorizations authorizations) throws E extends Exception
public boolean equals(VirtualValue other)
equals in class VirtualValuepublic ListValue keys()
public VirtualValueGroup valueGroup()
valueGroup in class VirtualValuepublic int compareTo(VirtualValue other, Comparator<AnyValue> comparator)
compareTo in class VirtualValuepublic Boolean ternaryEquals(AnyValue other)
ternaryEquals in class VirtualValuepublic <T> T map(ValueMapper<T> mapper)
public abstract <E extends Exception> void foreach(ThrowingBiConsumer<String,AnyValue,E> f) throws E extends Exception
E extends Exceptionpublic abstract boolean containsKey(String key)
public MapValue filter(BiFunction<String,AnyValue,Boolean> filterFunction)
public String getTypeName()
getTypeName in class AnyValuepublic abstract int size()
Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.