f4b6a3 / uuid-creator

UUID Creator is a Java library for generating Universally Unique Identifiers.
MIT License
431 stars 44 forks source link

Add methods to UuidCreator for generating UUIDs from bytes and from strings #17

Closed fabiolimace closed 4 years ago

fabiolimace commented 4 years ago
  1. Add methods to UuidCreator:

    • fromBytes(byte[] bytes)
    • fromString(String string)
  2. The new methods must validate the input argument.

  3. Use the existing methods in UuidConverter.

  4. The method UuidConverter#fromString() needs optimization.

  5. The method used in UuidValidator#isValid() needs optimization. The regex is not necessary because the UUID canonical format is simple.