So then why does the exact same code work for another class?
I guess I have to ask another developer within the company... I hate working in a different office from the rest of them.
Type: Posts; User: ober0330
So then why does the exact same code work for another class?
I guess I have to ask another developer within the company... I hate working in a different office from the rest of them.
Hence my thought that it's probably this one:
public GeneralClickList(T o){
super();
this.add(o);
}
Using a generic instead of specifying it.
I call it using this:...
I guess I'm not sure what you mean by 'how are you calling the constructor'? Maybe I'm just slow today.
Here are all the constructors for the class:
public class GeneralClickList<T extends...
Error: The constructor GeneralClickList<DCNotification>(Vector<DCNotification>) is undefined
Constructor (I think... there are several):
public GeneralClickList(Collection<? extends T> c) {
...
I'm copying some code from another location and I'm confused about something that isn't working:
return new GeneralClickList<DCNotification>((Vector<DCNotification>)...