Package com.daml.ledger.javaapi.data
Class DamlGenMap
- java.lang.Object
-
- com.daml.ledger.javaapi.data.Value
-
- com.daml.ledger.javaapi.data.DamlGenMap
-
public final class DamlGenMap extends Value
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
static @NonNull DamlGenMap
fromProto(ValueOuterClass.GenMap map)
int
hashCode()
static DamlGenMap
of(@NonNull java.util.Map<@NonNull Value,@NonNull Value> map)
java.util.stream.Stream<java.util.Map.Entry<Value,Value>>
stream()
<K,V>
@NonNull java.util.Map<@NonNull K,@NonNull V>toMap(@NonNull java.util.function.Function<@NonNull Value,@NonNull K> keyMapper, @NonNull java.util.function.Function<@NonNull Value,@NonNull V> valueMapper)
<V> @NonNull java.util.Map<@NonNull V,@NonNull V>
toMap(@NonNull java.util.function.Function<@NonNull Value,@NonNull V> valueMapper)
ValueOuterClass.Value
toProto()
@NonNull java.lang.String
toString()
-
-
-
Method Detail
-
of
public static DamlGenMap of(@NonNull java.util.Map<@NonNull Value,@NonNull Value> map)
-
toMap
public <K,V> @NonNull java.util.Map<@NonNull K,@NonNull V> toMap(@NonNull java.util.function.Function<@NonNull Value,@NonNull K> keyMapper, @NonNull java.util.function.Function<@NonNull Value,@NonNull V> valueMapper)
-
toMap
public <V> @NonNull java.util.Map<@NonNull V,@NonNull V> toMap(@NonNull java.util.function.Function<@NonNull Value,@NonNull V> valueMapper)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public @NonNull java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toProto
public ValueOuterClass.Value toProto()
-
fromProto
public static @NonNull DamlGenMap fromProto(ValueOuterClass.GenMap map)
-
-