}
if (value instanceof Iterable) {
Iterable iterable = (Iterable) value;
DoubleArrayList doubleArrayList = new DoubleArrayList();
for (Object element : iterable) {
double convertedValue = convertType(element);
doubleArrayList.add(convertedValue);
}
return doubleArrayList.toArray();
}
if (value instanceof CharSequence) {
String[] strings = StringUtil.splitc(value.toString(), ArrayConverter.NUMBER_DELIMITERS);
return convertArrayToArray(strings);