afreechart/src/main/java/org/afree/chart/plot/PieLabelLinkStyle.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 {
        Object result = null;
        if (this.equals(PieLabelLinkStyle.STANDARD)) {
            result = PieLabelLinkStyle.STANDARD;
        }
        else if (this.equals(PieLabelLinkStyle.QUAD_CURVE)) {
            result = PieLabelLinkStyle.QUAD_CURVE;
        }
        else if (this.equals(PieLabelLinkStyle.CUBIC_CURVE)) {
            result = PieLabelLinkStyle.CUBIC_CURVE;
        }
        return result;
    }
private Object readResolve ( ) throws ObjectStreamException { Object result = null ; if ( this . equals ( PieLabelLinkStyle . STANDARD ) ) { result = PieLabelLinkStyle . STANDARD ; } else if ( this . equals ( PieLabelLinkStyle . QUAD_CURVE ) ) { result = PieLabelLinkStyle . QUAD_CURVE ; } else if ( this . equals ( PieLabelLinkStyle . CUBIC_CURVE ) ) { result = PieLabelLinkStyle . CUBIC_CURVE ; } return result ; }
Ensures that serialization returns the unique instances.
Ensures that serialization returns the unique instances .