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