I have an interface:
public interface Handler {
public <T> boolean shouldProcess(final T obj);
and implementation:
public class SampleHandler implements Handler {
@Override
public <Long> boolean shouldProcess(final Long date) {
return <some comparison>;
}
I am getting "The type parameter Long is hiding the type Long". What is the reason I am getting this?