Class TupleType
- java.lang.Object
-
- software.amazon.smithy.rulesengine.language.evaluation.type.TupleType
-
- All Implemented Interfaces:
Type
public final class TupleType extends java.lang.Object
A "tuple" type, containing members of varying types.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
TupleType
expectTupleType()
java.util.List<Type>
getMemberTypes()
Gets the types of each member in the tuple.int
hashCode()
java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.smithy.rulesengine.language.evaluation.type.Type
expectAnyType, expectArrayType, expectBooleanType, expectEmptyType, expectEndpointType, expectIntegerType, expectOptionalType, expectRecordType, expectStringType, isA, provenTruthy
-
-
-
-
Method Detail
-
getMemberTypes
public java.util.List<Type> getMemberTypes()
Gets the types of each member in the tuple.- Returns:
- the types of each member in the tuple.
-
expectTupleType
public TupleType expectTupleType() throws InnerParseError
- Throws:
InnerParseError
-
equals
public boolean equals(java.lang.Object obj)
-
hashCode
public int hashCode()
-
toString
public java.lang.String toString()
-
-