Module com.github.f4b6a3.uuid
Interface BaseNCodec.CustomDivider
-
- Enclosing class:
- BaseNCodec
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface BaseNCodec.CustomDivider
A division function that returns quotient and remainder.It MUST perform SIGNED long division.
Example:
CustomDivider divideBy64 = x -> new long[] { x / 64, x % 64 }; long[] answer = divideBy64(1024);
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long[]divide(long x)
-