@Test void toUndashed() { assertEquals(ACTUAL_UNDASHED_UUID, UuidUtils.toUndashed(EXPECTED_DASHED_UUID), "UUIDs do not match"); }
public static String toUndashed(final UUID uuid) { Preconditions.checkNotNull(uuid, "uuid"); String msbStr = Long.toHexString(uuid.getMostSignificantBits()); String lsbStr = Long.toHexString(uuid.getLeastSignificantBits()); return Strings.padStart(msbStr, 16, '0') + Strings.padStart(lsbStr, 16, '0'); }
UuidUtils { public static String toUndashed(final UUID uuid) { Preconditions.checkNotNull(uuid, "uuid"); String msbStr = Long.toHexString(uuid.getMostSignificantBits()); String lsbStr = Long.toHexString(uuid.getLeastSignificantBits()); return Strings.padStart(msbStr, 16, '0') + Strings.padStart(lsbStr, 16, '0'); } }
UuidUtils { public static String toUndashed(final UUID uuid) { Preconditions.checkNotNull(uuid, "uuid"); String msbStr = Long.toHexString(uuid.getMostSignificantBits()); String lsbStr = Long.toHexString(uuid.getLeastSignificantBits()); return Strings.padStart(msbStr, 16, '0') + Strings.padStart(lsbStr, 16, '0'); } private  UuidUtils(); }
UuidUtils { public static String toUndashed(final UUID uuid) { Preconditions.checkNotNull(uuid, "uuid"); String msbStr = Long.toHexString(uuid.getMostSignificantBits()); String lsbStr = Long.toHexString(uuid.getLeastSignificantBits()); return Strings.padStart(msbStr, 16, '0') + Strings.padStart(lsbStr, 16, '0'); } private  UuidUtils(); static UUID fromUndashed(final String string); static String toUndashed(final UUID uuid); static UUID generateOfflinePlayerUuid(String username); }
UuidUtils { public static String toUndashed(final UUID uuid) { Preconditions.checkNotNull(uuid, "uuid"); String msbStr = Long.toHexString(uuid.getMostSignificantBits()); String lsbStr = Long.toHexString(uuid.getLeastSignificantBits()); return Strings.padStart(msbStr, 16, '0') + Strings.padStart(lsbStr, 16, '0'); } private  UuidUtils(); static UUID fromUndashed(final String string); static String toUndashed(final UUID uuid); static UUID generateOfflinePlayerUuid(String username);  }