Code example for LinkedHashMap

Methods: containsKey

0
   * @param parameters 
   * @return 
   */ 
  public boolean isQueryExecutable(final String query, final DataRow parameters)
  { 
    return tables.containsKey(query);
  } 
 
 
  /** 
   * Registers a tablemodel with the given name. If a different tablemodel has been previously registered with the same 
   * name, this table will replace the existing one. 
   * 
   * @param name       the name of the table. 
   * @param tableModel the tablemodel that should be registered. 
   */ 
  public void addTable(final String name, final TableModel tableModel)
  { 
    if (tableModel == null)
    { 
      throw new NullPointerException();