org.omnaest.utils.structure.table.concrete.internal.cloner
Class TableClonerImpl<E>

java.lang.Object
  extended by org.omnaest.utils.structure.table.concrete.internal.cloner.TableClonerImpl<E>
Type Parameters:
E -
All Implemented Interfaces:
TableCloneable.TableCloner<E>

public class TableClonerImpl<E>
extends Object
implements TableCloneable.TableCloner<E>

Author:
Omnaest
See Also:
TableCloneable.TableCloner

Field Summary
protected  Table<E> table
           
 
Constructor Summary
TableClonerImpl(Table<E> table)
           
 
Method Summary
 Table<E> structureAndContent()
          Returns a new Table instance with all the content of the underlying Table beeing cloned, too.
 Table<E> structureOnly()
          Clones only the Table structure.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

table

protected Table<E> table
Constructor Detail

TableClonerImpl

public TableClonerImpl(Table<E> table)
Parameters:
table -
Method Detail

structureOnly

public Table<E> structureOnly()
Description copied from interface: TableCloneable.TableCloner
Clones only the Table structure. The returned Table and the source Table will still operate on the same element instances of the content.

Specified by:
structureOnly in interface TableCloneable.TableCloner<E>
Returns:

structureAndContent

public Table<E> structureAndContent()
Description copied from interface: TableCloneable.TableCloner
Returns a new Table instance with all the content of the underlying Table beeing cloned, too.

Specified by:
structureAndContent in interface TableCloneable.TableCloner<E>
Returns:


Copyright © 2011. All Rights Reserved.