SoyType.Kind| Modifier and Type | Field and Description |
|---|---|
static ListType |
EMPTY_LIST |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
SoyType |
getElementType() |
SoyType.Kind |
getKind()
Returns what kind of type this is.
|
int |
hashCode() |
boolean |
isAssignableFrom(SoyType srcType)
Returns true if a parameter or field of this type can be assigned from a value of
srcType. |
static ListType |
of(SoyType elementType) |
String |
toString() |
public static final ListType EMPTY_LIST
public SoyType.Kind getKind()
SoyTypepublic SoyType getElementType()
public boolean isAssignableFrom(SoyType srcType)
SoyTypesrcType.isAssignableFrom in interface SoyTypesrcType - The type of the incoming value.