afreechart/src/main/java/org/afree/ui/LengthAdjustmentType.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 {
        if (this.equals(LengthAdjustmentType.NO_CHANGE)) {
            return LengthAdjustmentType.NO_CHANGE;
        } else if (this.equals(LengthAdjustmentType.EXPAND)) {
            return LengthAdjustmentType.EXPAND;
        } else if (this.equals(LengthAdjustmentType.CONTRACT)) {
            return LengthAdjustmentType.CONTRACT;
        }
        return null;
    }
private Object readResolve ( ) throws ObjectStreamException { if ( this . equals ( LengthAdjustmentType . NO_CHANGE ) ) { return LengthAdjustmentType . NO_CHANGE ; } else if ( this . equals ( LengthAdjustmentType . EXPAND ) ) { return LengthAdjustmentType . EXPAND ; } else if ( this . equals ( LengthAdjustmentType . CONTRACT ) ) { return LengthAdjustmentType . CONTRACT ; } return null ; }
Ensures that serialization returns the unique instances.
Ensures that serialization returns the unique instances .