@Test public void test() { assertFalse(SpotifyURI.isHex("6Odybr7gR4L9LwO8dBgBwS")); assertTrue(SpotifyURI.isHex("dfc122480dd8711e45ec94f69d2e56ba")); assertFalse(SpotifyURI.isHex("dfc122480dd8711e45ec94f69d2e56babb")); assertFalse(SpotifyURI.isHex("dfc122480dd8711e45ec94f69d2e")); }
public static boolean isHex(String value) { return hexPattern.matcher(value).matches(); }
SpotifyURI { public static boolean isHex(String value) { return hexPattern.matcher(value).matches(); } }
SpotifyURI { public static boolean isHex(String value) { return hexPattern.matcher(value).matches(); }  }
SpotifyURI { public static boolean isHex(String value) { return hexPattern.matcher(value).matches(); }  static boolean isHex(String value); static String toHex(String uri); static String toURI(byte[] UUID); static String toURI(String hex); }
SpotifyURI { public static boolean isHex(String value) { return hexPattern.matcher(value).matches(); }  static boolean isHex(String value); static String toHex(String uri); static String toURI(byte[] UUID); static String toURI(String hex);  }