Code example for HashSet

Methods: toArraysize

    if (prefix == null)
      throw new NullPointerException("Prefix must not be null");
    final HashSet<String> keys = new HashSet<String>();
    collectPropertyKeys(prefix, this, keys);
    final String[] objects = keys.toArray(new String[keys.size()]);
    return Arrays.asList(objects).iterator();
   * Collects property keys from this and all parent report configurations, 
   * which start with the given prefix. 
   * @param prefix    the prefix, that selects the property keys. 
   * @param config    the currently processed report configuration. 
   * @param collector the target list, that should receive all valid keys.