Search:

Type: Posts; User: ober0330

Search: Search took 0.10 seconds.

  1. Replies
    9
    Views
    2,272

    Re: constructor X is undefined

    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.
  2. Replies
    9
    Views
    2,272

    Re: constructor X is undefined

    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:...
  3. Replies
    9
    Views
    2,272

    Re: constructor X is undefined

    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...
  4. Replies
    9
    Views
    2,272

    Re: constructor X is undefined

    Error: The constructor GeneralClickList<DCNotification>(Vector<DCNotification>) is undefined

    Constructor (I think... there are several):
    public GeneralClickList(Collection<? extends T> c) {
    ...
  5. Replies
    9
    Views
    2,272

    constructor X is undefined

    I'm copying some code from another location and I'm confused about something that isn't working:

    return new GeneralClickList<DCNotification>((Vector<DCNotification>)...
Results 1 to 5 of 5