getAsTypeWithDefault<T> method
- TypeCode type,
- int index,
- T defaultValue
Converts array element into a value defined by specied typecode. If conversion is not possible it returns default value.
type
the TypeCode that defined the type of the resultindex
an index of element to get.- defaultValue the default value Returns element value defined by the typecode or default value if conversion is not supported.