Class Types


  • public final class Types
    extends Object
    Commodity functions for Types.
    Author:
    Andrea Leofreddi
    • Method Detail

      • instance

        public static <T> Type<T> instance​(Class<? extends Type<T>> class_)
        Instance a type from a given class. The resulting instance will be either a non-template instance, or an unbounded template one.
        Type Parameters:
        T - Value Java type
        Parameters:
        class_ - Type class
        Returns:
        Type instance