Class ArrayType
- java.lang.Object
-
- software.amazon.smithy.rulesengine.language.evaluation.type.ArrayType
-
- All Implemented Interfaces:
Type
public final class ArrayType extends java.lang.Object
The "array" type, which contains entries of a member type.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
ArrayType
expectArrayType()
Type
getMember()
Gets the type of the member in this array.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, expectBooleanType, expectEmptyType, expectEndpointType, expectIntegerType, expectOptionalType, expectRecordType, expectStringType, expectTupleType, isA, provenTruthy
-
-
-
-
Method Detail
-
getMember
public Type getMember()
Gets the type of the member in this array.- Returns:
- the type of the member in this array.
-
expectArrayType
public ArrayType expectArrayType()
-
equals
public boolean equals(java.lang.Object obj)
-
hashCode
public int hashCode()
-
toString
public java.lang.String toString()
-
-