Package jodd.util.collection

Examples of jodd.util.collection.LongArrayList


    }

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

      LongArrayList longArrayList = new LongArrayList();

      for (Object element : iterable) {
        long convertedValue = convertType(element);
              longArrayList.add(convertedValue);
            }

      return longArrayList.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.LongArrayList

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.