public class SerializableShape extends Object implements SerializationWrapper<Shape>
Constructor and Description |
---|
SerializableShape(Shape shape)
Initializes a new wrapper with a
Shape instance. |
public SerializableShape(Shape shape)
Shape
instance.shape
- Wrapped object.public Shape unwrap()
unwrap
in interface SerializationWrapper<Shape>
Copyright © 2009-2013. All Rights Reserved.