Interface IdentityTable<T>
- Type Parameters:
T- the table entry type
public interface IdentityTable<T>
Generic identity table.
- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptionfindWriter(T value) Returns a writer for the specified object.static <T> IdentityTable<T> Creates an identity table from the list of table entries.read(org.jboss.marshalling.Unmarshaller unmarshaller) Reads an object from the specified unmarshaller.
-
Method Details
-
findWriter
-
read
Reads an object from the specified unmarshaller.- Parameters:
unmarshaller- an unmarshaller- Returns:
- the read object
- Throws:
IOException- if the object could not be read
-
from
Creates an identity table from the list of table entries.- Type Parameters:
T- the table entry type- Parameters:
entries- a list of table entries- Returns:
- an identity table from the list of table entries.
-