Search:

Type: Posts; User: GregBrannon

Search: Search took 0.12 seconds.

  1. Re: HashSet cannot be cast to java.util.ArrayList

    If you want help with updated code, please post it. We can't accurately imagine what you've done.
    ArrayList list = new ArrayList(set);
    but still get the error[/QUOTE]
    No, that change is not...
  2. Re: HashSet cannot be cast to java.util.ArrayList

    Are you asking us why you thought what you thought? We can't answer that.

    If you're also wondering how to convert a HashSet to an ArrayList, here's an example of how to do that:

    // found here:...
Results 1 to 2 of 2