Class ListType

  • All Implemented Interfaces:
    Type

    public class ListType
    extends BaseType
    The type of a list value.
    • Constructor Summary

      Constructors 
      Constructor Description
      ListType​(java.lang.String description, Type elementType)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <R> R accept​(TypeVisitor<R> typeVisitor)  
      Type copy​(TypeSystem typeSystem, java.util.function.Function<Type,​Type> transform)
      Copies this type, applying a given transform to component types, and returning the original type if the component types are unchanged.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • elementType

        public final Type elementType
    • Constructor Detail

      • ListType

        ListType​(java.lang.String description,
                 Type elementType)
    • Method Detail

      • accept

        public <R> R accept​(TypeVisitor<R> typeVisitor)
      • copy

        public Type copy​(TypeSystem typeSystem,
                         java.util.function.Function<Type,​Type> transform)
        Description copied from interface: Type
        Copies this type, applying a given transform to component types, and returning the original type if the component types are unchanged.