You need to remove <T, E> from the constructor’s signature: it’s already there implicitly.
public KeyValue(T k , E v) // No compile errors here :)
{
setKey(k);
setValue(v);
}
You need to remove <T, E> from the constructor’s signature: it’s already there implicitly.
public KeyValue(T k , E v) // No compile errors here :)
{
setKey(k);
setValue(v);
}