1

In a third-party code there is the following function:

public <F extends OFValueType<F>> Builder setExact(MatchField<F> field, F value) throws UnsupportedOperationException;

Now, given a MatchField<F> field variable, how can I find the type "F" of that variable. So that, I can cast a given value to type "F" and send the casted value to the function setExact();

0 Answers0