Class TupleType

  • All Implemented Interfaces:
    Type

    public class TupleType
    extends BaseType
    The type of a tuple value.
    • Constructor Summary

      Constructors 
      Constructor Description
      TupleType​(java.lang.String description, com.google.common.collect.ImmutableList<Type> argTypes)  
    • 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

      • argTypes

        public final java.util.List<Type> argTypes
    • Constructor Detail

      • TupleType

        TupleType​(java.lang.String description,
                  com.google.common.collect.ImmutableList<Type> argTypes)
    • 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.