java create generic class with generic constructor code example
Example: java constructor genertic
public KeyValue(T k , E v) // No compile errors here :)
{
setKey(k);
setValue(v);
}
public KeyValue(T k , E v) // No compile errors here :)
{
setKey(k);
setValue(v);
}