T
timasmith
So I have a method with a parameter:
call (Set<IBaseModel> collection) {
...
}
I have a class
class MyModel implements IBaseModel {
...
}
I want to call the method passing a collection of MyModel
Set<MyModel> myset = getMySet();
call (myset);
but I get it cannot do it (method undefined due to incorrect
arguments..)
hmm
any ideas
call (Set<IBaseModel> collection) {
...
}
I have a class
class MyModel implements IBaseModel {
...
}
I want to call the method passing a collection of MyModel
Set<MyModel> myset = getMySet();
call (myset);
but I get it cannot do it (method undefined due to incorrect
arguments..)
hmm
any ideas