Search:

Type: Posts; User: fireatmuself

Search: Search took 0.18 seconds.

  1. Replies
    4
    Views
    1,058

    Re: generic class

    Now it works. Thank you.
  2. Replies
    4
    Views
    1,058

    Re: generic class

    Do you mean
    final ArrayList<List<Integer>> someList = new ArrayList<List<Integer>>(); ?

    When I write as you said to, I get this error: type parameter List<java.lang.Integer> is not within...
  3. Replies
    4
    Views
    1,058

    generic class

    I want to make a generic list class for, let's say, storing a graph. For each node (raging from 1 to n) I keep a linked list for it's neighbors. But I don't want to make an array of lists. I want to...
Results 1 to 3 of 3