DataType.LIST, DataType.MAP, DataType.RUNTIME
Modifier and Type | Field and Description |
---|---|
private int |
maxIndexFromSpec |
Modifier | Constructor and Description |
---|---|
private |
LIST(int maxIndexFromSpec) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
createValue()
MAP and LIST types overrides this method to return appropriate new map or list
|
java.lang.Integer |
expand(java.lang.Object input)
LIST overrides this method to expand the source (list) such that in can support
an index specified in spec that is outside the range input list, returns original size
of the input
|
boolean |
isCompatible(java.lang.Object input)
Determines if an input is compatible with current DataType
|
create, determineDataType
protected java.lang.Object createValue()
DataType
createValue
in class DataType
public java.lang.Integer expand(java.lang.Object input)
DataType
public boolean isCompatible(java.lang.Object input)
DataType
isCompatible
in class DataType