Package jodd.util.collection

Examples of jodd.util.collection.IntArrayList


    }

    if (value instanceof Iterable) {
      Iterable iterable = (Iterable) value;

      IntArrayList intArrayList = new IntArrayList();

      for (Object element : iterable) {
        int convertedValue = convertType(element);
        intArrayList.add(convertedValue);
      }

      return intArrayList.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.IntArrayList

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.