Examples of toArray()


Examples of jodd.util.collection.ByteArrayList.toArray()

      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

Examples of jodd.util.collection.CharArrayList.toArray()

      for (Object element : iterable) {
        char convertedValue = convertType(element);
        charArrayList.add(convertedValue);
            }

      return charArrayList.toArray();
    }

    if (value instanceof CharSequence) {
      CharSequence charSequence = (CharSequence) value;
View Full Code Here

Examples of jodd.util.collection.DoubleArrayList.toArray()

      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

Examples of jodd.util.collection.FloatArrayList.toArray()

      for (Object element : iterable) {
        float convertedValue = convertType(element);
        floatArrayList.add(convertedValue);
            }

      return floatArrayList.toArray();
    }

    if (value instanceof CharSequence) {
      String[] strings = StringUtil.splitc(value.toString(), ArrayConverter.NUMBER_DELIMITERS);
      return convertArrayToArray(strings);
View Full Code Here

Examples of jodd.util.collection.IntArrayList.toArray()

      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

Examples of jodd.util.collection.LongArrayList.toArray()

      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

Examples of jodd.util.collection.ShortArrayList.toArray()

      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

Examples of kodkod.util.ints.IntSet.toArray()

      }
    }
   
    if (units.isEmpty()) return Ints.EMPTY_SET;
   
    return Ints.asSet(units.toArray());
  }
 
  /**
   * Returns the consecutive variables at the tail of the core of the given trace
   * that form unit clauses. 
View Full Code Here

Examples of kodkod.util.ints.IntTreeSet.toArray()

      }
    }
   
    if (units.isEmpty()) return Ints.EMPTY_SET;
   
    return Ints.asSet(units.toArray());
  }
 
  /**
   * Returns the consecutive variables at the tail of the core of the given trace
   * that form unit clauses. 
View Full Code Here

Examples of lineage2.gameserver.model.reward.RewardList.toArray()

              int castleId = Integer.parseInt(targetElement.attributeValue("castle_id", "0"));
              TeleportLocation loc = new TeleportLocation(itemId, price, npcStringId, castleId);
              loc.set(Location.parseLoc(targetElement.attributeValue("loc")));
              list.add(loc);
            }
            template.addTeleportList(id, list.toArray(new TeleportLocation[list.size()]));
          }
        }
        else if (nodeName.equalsIgnoreCase("walker_route"))
        {
          int id = Integer.parseInt(secondElement.attributeValue("id"));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.