Documentation of 'de.erichseifert.gral.util.SerializationWrapper' Java class
SerializationWrapper
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.Serializable
    Interface for classes used for wrapping non-serializable classes. The wrapper can be unwrapped for deserialization.
    • 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

Ads help maintain this website.