Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class DummyClass<T>{
- public void setDummyInterface(DummyInterface<T> dummyInterface){
- //set interface
- }
- }
- if(dummyInterface<SomeTypeIKnow>.getGenericType() == dummyClass.getGenericType()){
- dummyClass.setDummyInterface(dummyInterface);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement