Package jodd.util.collection

Examples of jodd.util.collection.ShortArrayList


    }

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

      ShortArrayList shortArrayList = new ShortArrayList();

      for (Object element : iterable) {
        short convertedValue = convertType(element);
              shortArrayList.add(convertedValue);
            }

      return shortArrayList.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.ShortArrayList

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.