org.omnaest.utils.structure.table.concrete.internal.cloner
Class TableClonerImpl<E>
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
table
protected Table<E> table
TableClonerImpl
public TableClonerImpl(Table<E> table)
- Parameters:
table -
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.