Я уже узнал об этих двух методах:
Код: Выделить всё
UUID.getMostSignificantBits()
and
UUID.getLeasSignificantBits()
обновление:
Я найдено:
Код: Выделить всё
ByteBuffer byteBuffer = MappedByteBuffer.allocate(2);
byteBuffer.putLong(uuid.getMostSignificantBits());
byteBuffer.putLong(uuid.getLeastSignificantBits());
Есть ли другие методы (для обучения)?
Большое спасибо!!
Йенс
Подробнее здесь: https://stackoverflow.com/questions/688 ... byte-array