afreechart/src/main/java/org/afree/chart/labels/ItemLabelAnchor.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 {
        ItemLabelAnchor result = null;
        if (this.equals(ItemLabelAnchor.CENTER)) {
            result = ItemLabelAnchor.CENTER;
        } else if (this.equals(ItemLabelAnchor.INSIDE1)) {
            result = ItemLabelAnchor.INSIDE1;
        } else if (this.equals(ItemLabelAnchor.INSIDE2)) {
            result = ItemLabelAnchor.INSIDE2;
        } else if (this.equals(ItemLabelAnchor.INSIDE3)) {
            result = ItemLabelAnchor.INSIDE3;
        } else if (this.equals(ItemLabelAnchor.INSIDE4)) {
            result = ItemLabelAnchor.INSIDE4;
        } else if (this.equals(ItemLabelAnchor.INSIDE5)) {
            result = ItemLabelAnchor.INSIDE5;
        } else if (this.equals(ItemLabelAnchor.INSIDE6)) {
            result = ItemLabelAnchor.INSIDE6;
        } else if (this.equals(ItemLabelAnchor.INSIDE7)) {
            result = ItemLabelAnchor.INSIDE7;
        } else if (this.equals(ItemLabelAnchor.INSIDE8)) {
            result = ItemLabelAnchor.INSIDE8;
        } else if (this.equals(ItemLabelAnchor.INSIDE9)) {
            result = ItemLabelAnchor.INSIDE9;
        } else if (this.equals(ItemLabelAnchor.INSIDE10)) {
            result = ItemLabelAnchor.INSIDE10;
        } else if (this.equals(ItemLabelAnchor.INSIDE11)) {
            result = ItemLabelAnchor.INSIDE11;
        } else if (this.equals(ItemLabelAnchor.INSIDE12)) {
            result = ItemLabelAnchor.INSIDE12;
        } else if (this.equals(ItemLabelAnchor.OUTSIDE1)) {
            result = ItemLabelAnchor.OUTSIDE1;
        } else if (this.equals(ItemLabelAnchor.OUTSIDE2)) {
            result = ItemLabelAnchor.OUTSIDE2;
        } else if (this.equals(ItemLabelAnchor.OUTSIDE3)) {
            result = ItemLabelAnchor.OUTSIDE3;
        } else if (this.equals(ItemLabelAnchor.OUTSIDE4)) {
            result = ItemLabelAnchor.OUTSIDE4;
        } else if (this.equals(ItemLabelAnchor.OUTSIDE5)) {
            result = ItemLabelAnchor.OUTSIDE5;
        } else if (this.equals(ItemLabelAnchor.OUTSIDE6)) {
            result = ItemLabelAnchor.OUTSIDE6;
        } else if (this.equals(ItemLabelAnchor.OUTSIDE7)) {
            result = ItemLabelAnchor.OUTSIDE7;
        } else if (this.equals(ItemLabelAnchor.OUTSIDE8)) {
            result = ItemLabelAnchor.OUTSIDE8;
        } else if (this.equals(ItemLabelAnchor.OUTSIDE9)) {
            result = ItemLabelAnchor.OUTSIDE9;
        } else if (this.equals(ItemLabelAnchor.OUTSIDE10)) {
            result = ItemLabelAnchor.OUTSIDE10;
        } else if (this.equals(ItemLabelAnchor.OUTSIDE11)) {
            result = ItemLabelAnchor.OUTSIDE11;
        } else if (this.equals(ItemLabelAnchor.OUTSIDE12)) {
            result = ItemLabelAnchor.OUTSIDE12;
        }
        return result;
    }
private Object readResolve ( ) throws ObjectStreamException { ItemLabelAnchor result = null ; if ( this . equals ( ItemLabelAnchor . CENTER ) ) { result = ItemLabelAnchor . CENTER ; } else if ( this . equals ( ItemLabelAnchor . INSIDE1 ) ) { result = ItemLabelAnchor . INSIDE1 ; } else if ( this . equals ( ItemLabelAnchor . INSIDE2 ) ) { result = ItemLabelAnchor . INSIDE2 ; } else if ( this . equals ( ItemLabelAnchor . INSIDE3 ) ) { result = ItemLabelAnchor . INSIDE3 ; } else if ( this . equals ( ItemLabelAnchor . INSIDE4 ) ) { result = ItemLabelAnchor . INSIDE4 ; } else if ( this . equals ( ItemLabelAnchor . INSIDE5 ) ) { result = ItemLabelAnchor . INSIDE5 ; } else if ( this . equals ( ItemLabelAnchor . INSIDE6 ) ) { result = ItemLabelAnchor . INSIDE6 ; } else if ( this . equals ( ItemLabelAnchor . INSIDE7 ) ) { result = ItemLabelAnchor . INSIDE7 ; } else if ( this . equals ( ItemLabelAnchor . INSIDE8 ) ) { result = ItemLabelAnchor . INSIDE8 ; } else if ( this . equals ( ItemLabelAnchor . INSIDE9 ) ) { result = ItemLabelAnchor . INSIDE9 ; } else if ( this . equals ( ItemLabelAnchor . INSIDE10 ) ) { result = ItemLabelAnchor . INSIDE10 ; } else if ( this . equals ( ItemLabelAnchor . INSIDE11 ) ) { result = ItemLabelAnchor . INSIDE11 ; } else if ( this . equals ( ItemLabelAnchor . INSIDE12 ) ) { result = ItemLabelAnchor . INSIDE12 ; } else if ( this . equals ( ItemLabelAnchor . OUTSIDE1 ) ) { result = ItemLabelAnchor . OUTSIDE1 ; } else if ( this . equals ( ItemLabelAnchor . OUTSIDE2 ) ) { result = ItemLabelAnchor . OUTSIDE2 ; } else if ( this . equals ( ItemLabelAnchor . OUTSIDE3 ) ) { result = ItemLabelAnchor . OUTSIDE3 ; } else if ( this . equals ( ItemLabelAnchor . OUTSIDE4 ) ) { result = ItemLabelAnchor . OUTSIDE4 ; } else if ( this . equals ( ItemLabelAnchor . OUTSIDE5 ) ) { result = ItemLabelAnchor . OUTSIDE5 ; } else if ( this . equals ( ItemLabelAnchor . OUTSIDE6 ) ) { result = ItemLabelAnchor . OUTSIDE6 ; } else if ( this . equals ( ItemLabelAnchor . OUTSIDE7 ) ) { result = ItemLabelAnchor . OUTSIDE7 ; } else if ( this . equals ( ItemLabelAnchor . OUTSIDE8 ) ) { result = ItemLabelAnchor . OUTSIDE8 ; } else if ( this . equals ( ItemLabelAnchor . OUTSIDE9 ) ) { result = ItemLabelAnchor . OUTSIDE9 ; } else if ( this . equals ( ItemLabelAnchor . OUTSIDE10 ) ) { result = ItemLabelAnchor . OUTSIDE10 ; } else if ( this . equals ( ItemLabelAnchor . OUTSIDE11 ) ) { result = ItemLabelAnchor . OUTSIDE11 ; } else if ( this . equals ( ItemLabelAnchor . OUTSIDE12 ) ) { result = ItemLabelAnchor . OUTSIDE12 ; } return result ; }
Ensures that serialization returns the unique instances.
Ensures that serialization returns the unique instances .