Code example for LinkedHashMap

Methods: clone

  public XPathDataFactory clone() 
    final XPathDataFactory dataFactory = (XPathDataFactory) super.clone();
    //noinspection unchecked 
    dataFactory.queries = (LinkedHashMap<String, QueryDefinition>) queries.clone();
    return dataFactory;
   * Returns a copy of the data factory that is not affected by its anchestor and holds no connection to the anchestor 
   * anymore. A data-factory will be derived at the beginning of the report processing. 
   * @return a copy of the data factory. 
  public XPathDataFactory derive() 
    return clone();