de.erichseifert.gral.util
Interface SerializationWrapper<T>
-
- Type Parameters:
T- Class that the wrapper can handle.
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- SerializableArea, SerializableBasicStroke, SerializablePoint2D, SerializableShape
public interface SerializationWrapper<T> extends java.io.SerializableInterface for classes used for wrapping non-serializable classes. The wrapper can be unwrapped for deserialization.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description Tunwrap()Creates a new instance of the wrapped class using the data from the wrapper.
-
-
-
Method Detail
-
unwrap
T unwrap()
Creates a new instance of the wrapped class using the data from the wrapper. This can be used for deserialization.- Returns:
- A new instance of the wrapped class
T.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG