Search:

Type: Posts; User: Asido

Search: Search took 0.11 seconds.

  1. Replies
    3
    Views
    1,705

    Re: Making item sortable (implementing Comparable)

    Just read what I wrote once more ;)
    TIP:

    Anyway, with helloworld922 advice I have solved it. Thanks!
  2. Replies
    3
    Views
    1,705

    Making item sortable (implementing Comparable)

    Hello,

    The problem is in this part of the code:

    CardBase[] tmp = new CardBase[13];
    System.arraycopy(deck, range*13, tmp, 0, 13);
    Collections.sort(Arrays.asList(tmp));

    The error I get is:
Results 1 to 2 of 2