package co.yishun.library.datacenter;

/**
 * Created by carlos on 2/4/16.
 */
public interface Updatable extends Comparable {
    boolean updateThan(Updatable updatable);
}

@@ -128,47 +128,817 @@
     
-boolean updateThan(Updatable updatable
+/**%0A     * Compares this updatable to the updatable to determine which is the newer.%0A     *%0A     * @param another the object to compare to this instance. The another is sure to be %7B@link%0A     *                #equals(Object)%7D to this updatable.%0A     * @return a negative integer if this instance is older than %7B@code another%7D; a positive integer%0A     * if this instance is newer than %7B@code another%7D; 0 if this instance has the same freshness as%0A     * %7B@code another%7D.%0A     */%0A    boolean updateThan(Updatable another);%0A%0A%0A    /**%0A     * Compares this instance with the specified updatable and indicates if they are the same%0A     * position in %7B@link DataCenter%7D. When two updatable is equal, one of them which is newer will%0A     * be kept, the older one will be discard.%0A     */%0A    boolean equals(Object o
 );%0A
+%0A
 %7D%0A

add document comment