Package org.atlanmod.commons
The base package for common utility classes and methods.
-
Interface Summary Interface Description Copiable<T> An object that can be copied to another. -
Class Summary Class Description Guards Static convenience methods that help a method or constructor check whether it was invoked correctly (whether its preconditions have been met).Lazy<T> An object that automatically loads an object of typeTby using aSupplierduring the first call toLazy.get().LazyBoolean An object that automatically loads abooleanby using aBooleanSupplierduring the first call toLazyBoolean.getAsBoolean().LazyDouble An object that automatically loads adoubleby using aDoubleSupplierduring the first call toLazyDouble.getAsDouble().LazyInt An object that automatically loads anintegerby using aIntSupplierduring the first call toLazyInt.getAsInt().LazyLong An object that automatically loads alongby using aLongSupplierduring the first call toLazyLong.getAsLong().LazyReference<T> An object that automatically loads an object of typeTby using aSupplier.Preconditions Static convenience methods that help a method or constructor check whether it was invoked correctly (whether its preconditions have been met).Throwables -
Error Summary Error Description Preconditions.PreconditionError