Public void test (T T) {
T.g etId ();
}
Probably need to implement such a function code, consult
CodePudding user response:
Don't know what topic main want to expressCodePudding user response:
Is probably a generic into how refs call getId ()CodePudding user response:
The parent class or interfaceCodePudding user response:
{interface idString getId();
}
The public & lt; T extends id> Void test (T T) {
T.g etId ();
}
CodePudding user response:
Either extract into public class or interface. Or they use reflection!