Class Type<T>

    • Constructor Detail

      • Type

        protected Type()
    • Method Detail

      • isUnboundTemplate

        public boolean isUnboundTemplate()
        Returns:
        True iff this type is a non-specialized template
      • isSpecializedTemplate

        public boolean isSpecializedTemplate()
        Returns:
        True iff this type is a specialized template
      • isConcrete

        public boolean isConcrete()
        Returns:
        True iff this type is a concrete one, that is either a specialized template or a non-template.
      • template

        public Type<T> template()
        Returns:
        The unbound template type for a specialized template, or itself for a non-template type.
      • specialize

        public Type<T> specialize​(Object... parameters)
      • getParameters

        public List<Object> getParameters()
      • getUpscaler

        public net.vleo.timel.impl.upscaler.Upscaler<?> getUpscaler()
        Retrieve an Upscaler for this type.
        Returns:
        The type upscaler
      • getDownscaler

        public net.vleo.timel.impl.downscaler.Downscaler<?> getDownscaler()
        Retrieve the Downscaler for this type.
        Returns:
        The type downscaler
      • getName

        public String getName()
        Returns the type name as shown to the user.
        Returns:
        Type name
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object