MCPcopy Create free account
hub / github.com/xpipe-io/xpipe / parse

Method parse

core/src/main/java/io/xpipe/core/UuidHelper.java:14–20  ·  view source on GitHub ↗
(String s)

Source from the content-addressed store, hash-verified

12 }
13
14 public static Optional<UUID> parse(String s) {
15 try {
16 return Optional.of(UUID.fromString(s));
17 } catch (IllegalArgumentException ex) {
18 return Optional.empty();
19 }
20 }
21}

Callers 2

toDisplayMapMethod · 0.95
validateRefMethod · 0.95

Calls 3

ofMethod · 0.65
fromStringMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected