afreechart/src/main/java/org/afree/ui/RectangleEdge.java
/**
     * Ensures that serialization returns the unique instances.
     * 
     * @return The object.
     * 
     * @throws ObjectStreamException
     *             if there is a problem.
     */
Ensures that serialization returns the unique instances.

@return The object.

@throws ObjectStreamException
if there is a problem.
Ensures that serialization returns the unique instances . @return The object . @throws ObjectStreamException if there is a problem .
private Object readResolve() throws ObjectStreamException {
        RectangleEdge result = null;
        if (this.equals(RectangleEdge.TOP)) {
            result = RectangleEdge.TOP;
        } else if (this.equals(RectangleEdge.BOTTOM)) {
            result = RectangleEdge.BOTTOM;
        } else if (this.equals(RectangleEdge.LEFT)) {
            result = RectangleEdge.LEFT;
        } else if (this.equals(RectangleEdge.RIGHT)) {
            result = RectangleEdge.RIGHT;
        }
        return result;
    }
private Object readResolve ( ) throws ObjectStreamException { RectangleEdge result = null ; if ( this . equals ( RectangleEdge . TOP ) ) { result = RectangleEdge . TOP ; } else if ( this . equals ( RectangleEdge . BOTTOM ) ) { result = RectangleEdge . BOTTOM ; } else if ( this . equals ( RectangleEdge . LEFT ) ) { result = RectangleEdge . LEFT ; } else if ( this . equals ( RectangleEdge . RIGHT ) ) { result = RectangleEdge . RIGHT ; } return result ; }
Ensures that serialization returns the unique instances.
Ensures that serialization returns the unique instances .