Package jodd.util.collection

Examples of jodd.util.collection.ByteArrayList


    }

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

      ByteArrayList byteArrayList = new ByteArrayList();
      for (Object element : iterable) {
        byte convertedValue = convertType(element);
        byteArrayList.add(convertedValue);
            }

      return byteArrayList.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.ByteArrayList

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.