package swift.crdt.interfaces;

import swift.clocks.CausalityClock;
import swift.exceptions.InvalidParameterException;

/**
 * Source for generating new timestamps.
 * 
 * @author nmp
 */
public interface TimestampSource<T> {


    /**
     * Generates a new timestamp.
     * 
     * @return
     */
    <V extends CausalityClock<V>> T generateNew();

}

package swift.crdt.interfaces;


/**
 * Source for generating new timestamps.
 * 
 * @author nmp
 */
public interface TimestampSource<T> {


    /**
     * Generates a new timestamp.
     * 
     * @return
     */
    T generateNew();

}

Remove unnecessary generic - does it help to compile?
Remove unnecessary generic - does it help to compile?

git-svn-id: a3fb842d882947c797cf684233f17bdc7f2c8277@248 049c2a90-bdf1-4f83-8191-3719d539f8e0
