Package com.daml.ledger.javaapi.data
Class DamlList
- java.lang.Object
-
- com.daml.ledger.javaapi.data.Value
-
- com.daml.ledger.javaapi.data.DamlList
-
public final class DamlList extends Value
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
static @NonNull DamlList
fromProto(com.daml.ledger.api.v1.ValueOuterClass.List list)
@NonNull java.util.List<@NonNull Value>
getValues()
Deprecated.int
hashCode()
static DamlList
of(@NonNull Value... values)
static DamlList
of(@NonNull java.util.List<@NonNull Value> values)
@NonNull java.util.stream.Stream<Value>
stream()
<T> @NonNull java.util.List<T>
toList(java.util.function.Function<Value,T> valueMapper)
com.daml.ledger.api.v1.ValueOuterClass.Value
toProto()
java.lang.String
toString()
-
-
-
Method Detail
-
getValues
@Deprecated public @NonNull java.util.List<@NonNull Value> getValues()
Deprecated.
-
stream
public @NonNull java.util.stream.Stream<Value> stream()
-
toList
public <T> @NonNull java.util.List<T> toList(java.util.function.Function<Value,T> 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 java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toProto
public com.daml.ledger.api.v1.ValueOuterClass.Value toProto()
-
fromProto
public static @NonNull DamlList fromProto(com.daml.ledger.api.v1.ValueOuterClass.List list)
-
-