Alguien puede ayudarme a resolver esta clase o con algunos link que me ayuden a saber como resolverla???
public interface Synchronisable
{
public long getTimestamp();
public String getId();
}
public interface SynchronisedDataListener
{
public void processSynchronisedData(long timestamp, Set<Synchronisable> data);
}
public class DataSynchroniser
{
private SynchronisedDataListener listener;
public void addToSynchroniseSet(String id)
{
}
public void processData(Synchronisable data)
{
}
public void removeFromSynchroniseSet(String id)
{
}
}
public interface Synchronisable
{
public long getTimestamp();
public String getId();
}
public interface SynchronisedDataListener
{
public void processSynchronisedData(long timestamp, Set<Synchronisable> data);
}
public class DataSynchroniser
{
private SynchronisedDataListener listener;
public void addToSynchroniseSet(String id)
{
}
public void processData(Synchronisable data)
{
}
public void removeFromSynchroniseSet(String id)
{
}
}