What does this generic method signature means
public <S, D> D map(S sourceObject, java.lang.Class<D> destinationClass);
I am referring to the <S, D>.
This method returns an object of the same type that was sent in the second parameter.
Can't I just write
public D map(S sourceObject, java.lang.Class<D> destinationClass);
public <D> D map(Object sourceObject, java.lang.Class<D> destinationClass);. It's the same, type parameterSis not necessary.