@Test public void parseOrThrow_from_byteArray_alternativeValues() throws IOException { byte[] bytes = Hex.fromStringCondensed("b83dfb0b67f141aa992e030c167cd011"); UUID uuid = UuidUtil.parseOrThrow(bytes); assertEquals("b83dfb0b-67f1-41aa-992e-030c167cd011", uuid.toString()); }
public static UUID parseOrThrow(String uuid) { return UUID.fromString(uuid); }
UuidUtil { public static UUID parseOrThrow(String uuid) { return UUID.fromString(uuid); } }
UuidUtil { public static UUID parseOrThrow(String uuid) { return UUID.fromString(uuid); } private  UuidUtil(); }
UuidUtil { public static UUID parseOrThrow(String uuid) { return UUID.fromString(uuid); } private  UuidUtil(); static Optional<UUID> parse(String uuid); static UUID parseOrNull(String uuid); static UUID parseOrThrow(String uuid); static UUID parseOrThrow(byte[] bytes); static boolean isUuid(String uuid); static byte[] toByteArray(UUID uuid); static ByteString toByteString(UUID uuid); static UUID fromByteString(ByteString bytes); static UUID fromByteStringOrNull(ByteString bytes); static UUID fromByteStringOrUnknown(ByteString bytes); static List<UUID> fromByteStrings(Collection<ByteString> byteStringCollection); static List<UUID> filterKnown(Collection<UUID> uuids); }
UuidUtil { public static UUID parseOrThrow(String uuid) { return UUID.fromString(uuid); } private  UuidUtil(); static Optional<UUID> parse(String uuid); static UUID parseOrNull(String uuid); static UUID parseOrThrow(String uuid); static UUID parseOrThrow(byte[] bytes); static boolean isUuid(String uuid); static byte[] toByteArray(UUID uuid); static ByteString toByteString(UUID uuid); static UUID fromByteString(ByteString bytes); static UUID fromByteStringOrNull(ByteString bytes); static UUID fromByteStringOrUnknown(ByteString bytes); static List<UUID> fromByteStrings(Collection<ByteString> byteStringCollection); static List<UUID> filterKnown(Collection<UUID> uuids); static final UUID UNKNOWN_UUID; }