public interface MapType extends Type
| Modifier and Type | Interface and Description |
|---|---|
static class |
MapType.Impl |
static interface |
MapType.Visitor<P,R> |
| Modifier and Type | Method and Description |
|---|---|
default <P,R> R |
accept(MapType.Visitor<P,R> visitor,
P par) |
default <P,R> R |
accept(Node.Visitor<P,R> visitor,
P par) |
default <P,R> R |
accept(Type.Visitor<P,R> visitor,
P par) |
Type |
getKeyType() |
Type |
getValueType() |
static MapType |
of(Type keyType,
Type valueType) |
void |
setKeyType(Type keyType) |
void |
setValueType(Type valueType) |
Type getKeyType()
void setKeyType(Type keyType)
Type getValueType()
void setValueType(Type valueType)
default <P,R> R accept(MapType.Visitor<P,R> visitor, P par)
default <P,R> R accept(Type.Visitor<P,R> visitor, P par)
default <P,R> R accept(Node.Visitor<P,R> visitor, P par)