public class Value extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Value.TypedIterable<T> |
static class |
Value.TypedIterableIterable<T> |
static class |
Value.TypedIterableIterator<T> |
static class |
Value.TypedIterator<T> |
| Constructor and Description |
|---|
Value() |
| Modifier and Type | Method and Description |
|---|---|
static void |
appendToString(Object o,
StringBuilder sb,
String indent) |
static boolean |
asBoolean(Object o) |
static byte |
asByte(Object o) |
static byte[] |
asBytes(Object o) |
static double |
asDouble(Object o) |
static float |
asFloat(Object o) |
static int |
asInt(Object o) |
static long |
asLong(Object o) |
static short |
asShort(Object o) |
static String |
asString(Object o) |
static Timestamp |
asTimestamp(Object o) |
static UUID |
asUUID(Object o) |
static byte[] |
decodeBase64(String encoded,
boolean urlSafe) |
static String |
encodeBase64(byte[] bytes,
boolean urlSafe) |
static boolean |
equals(Object o1,
Object o2) |
static void |
escapeString(StringBuilder sb,
String s) |
public static boolean asBoolean(Object o)
public static byte asByte(Object o)
public static short asShort(Object o)
public static int asInt(Object o)
public static long asLong(Object o)
public static float asFloat(Object o)
public static double asDouble(Object o)
public static byte[] asBytes(Object o)
public static void appendToString(Object o, StringBuilder sb, String indent)
public static void escapeString(StringBuilder sb, String s)
public static String encodeBase64(byte[] bytes, boolean urlSafe)
public static byte[] decodeBase64(String encoded, boolean urlSafe)
Copyright © 2016–2021 Verizon Media. All rights reserved.