public final class DamlGenMap extends Value
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
static @NonNull DamlGenMap |
fromProto(com.digitalasset.ledger.api.v1.ValueOuterClass.GenMap map) |
int |
hashCode() |
static DamlGenMap |
of(@NonNull java.util.Map<Value,Value> map) |
java.util.stream.Stream<java.util.Map.Entry<Value,Value>> |
stream() |
<K,V> @NonNull java.util.Map<K,V> |
toMap(@NonNull java.util.function.Function<Value,K> keyMapper,
@NonNull java.util.function.Function<Value,V> valueMapper) |
<V> @NonNull java.util.Map<V,V> |
toMap(@NonNull java.util.function.Function<Value,V> valueMapper) |
com.digitalasset.ledger.api.v1.ValueOuterClass.Value |
toProto() |
@NonNull java.lang.String |
toString() |
public static DamlGenMap of(@NonNull java.util.Map<Value,Value> map)
public <K,V> @NonNull java.util.Map<K,V> toMap(@NonNull java.util.function.Function<Value,K> keyMapper, @NonNull java.util.function.Function<Value,V> valueMapper)
public <V> @NonNull java.util.Map<V,V> toMap(@NonNull java.util.function.Function<Value,V> valueMapper)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public @NonNull java.lang.String toString()
toString
in class java.lang.Object
public com.digitalasset.ledger.api.v1.ValueOuterClass.Value toProto()
public static @NonNull DamlGenMap fromProto(com.digitalasset.ledger.api.v1.ValueOuterClass.GenMap map)