@Beta public class Value extends Object implements Serializable
WorkflowToken
.Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
boolean |
getAsBoolean() |
double |
getAsDouble() |
int |
getAsInt() |
long |
getAsLong() |
int |
hashCode() |
static Value |
of(boolean value)
Return the
Value representation of the input boolean parameter. |
static Value |
of(double value)
Return the
Value representation of the input double parameter. |
static Value |
of(int value)
Return the
Value representation of the input int parameter. |
static Value |
of(long value)
Return the
Value representation of the input long parameter. |
static Value |
of(String value)
Return the
Value representation of the input String parameter. |
String |
toString() |
public boolean getAsBoolean()
Boolean.parseBoolean(toString())
public int getAsInt()
Integer.parseInt(toString())
public long getAsLong()
Long.parseLong(toString())
public double getAsDouble()
Double.parseDouble(toString())
public static Value of(boolean value)
Value
representation of the input boolean
parameter.public static Value of(double value)
Value
representation of the input double
parameter.Copyright © 2022 Cask Data, Inc. Licensed under the Apache License, Version 2.0.