Package jodd.util.collection

Examples of jodd.util.collection.DoubleArrayList


    }

    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);
View Full Code Here

TOP

Related Classes of jodd.util.collection.DoubleArrayList

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.