org.omnaest.utils.structure.table.concrete.internal.serializer
Class TableSerializerImpl<E>
java.lang.Object
org.omnaest.utils.structure.table.concrete.internal.serializer.TableSerializerImpl<E>
- Type Parameters:
E -
- All Implemented Interfaces:
- Serializable, TableSerializable.TableSerializer<E>, Table.TableComponent
public class TableSerializerImpl<E>
- extends Object
- implements TableSerializable.TableSerializer<E>
- Author:
- Omnaest
- See Also:
Table,
TableSerializable.TableSerializer,
TableSerializable,
Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
table
protected Table<E> table
TableSerializerImpl
public TableSerializerImpl(Table<E> table)
- Parameters:
table -
marshal
public TableSerializable.TableSerializer.TableMarshallerExecutor<E> marshal(TableMarshaller<E> tableMarshaller)
- Description copied from interface:
TableSerializable.TableSerializer
- Marshals the underlying
Table into a serialized format
- Specified by:
marshal in interface TableSerializable.TableSerializer<E>
- Returns:
TableSerializable.TableSerializer.TableMarshallerExecutor
unmarshal
public TableSerializable.TableSerializer.TableUnmarshallerExecutor<E> unmarshal(TableUnmarshaller<E> tableUnmarshaller)
- Description copied from interface:
TableSerializable.TableSerializer
- Clears the current
Table content and fills it with unmarshalled content from a serialized format
- Specified by:
unmarshal in interface TableSerializable.TableSerializer<E>
- Returns:
TableSerializable.TableSerializer.TableUnmarshallerExecutor
Copyright © 2011. All Rights Reserved.