Code example for LinkedHashMap

Methods: clone

0
   * @return the copy of the data-factory, never null. 
   */ 
  public TableDataFactory clone() 
  { 
    final TableDataFactory dataFactory = (TableDataFactory) super.clone();
    dataFactory.tables = (LinkedHashMap<String,TableModel>) tables.clone();
    return dataFactory;
  } 
 
  public String[] getQueryNames()
  { 
    return tables.keySet().toArray(new String[tables.size()]);
  } 
}