Solved How can I clear a arraylist?

Discussion in 'Spigot Plugin Development' started by Veteranfighter, Mar 20, 2020.

  1. I don't know how two remove all strings of an ArrayList, can somebody help me out? <myname>.removeAll(); doesn't work. I would be happy About some helpful answers. Sorry for my bad english /:
    Have a nice day ^^
     
  2. Hello,

    Those kinds of questions are not related to spigot, it's only a lack of java knowledge..
    I just recommand you to search on google.. Funny, the solution (method name) is written by yourself in the title...
     
    • Agree Agree x 1
  3. That's probably the biggest hint it's almost like he wants to CLEAR the arraylist..
     
    • Like Like x 1
  4. Okay, thank you (=
     
  5. Found it thank you ^^
     
    • Friendly Friendly x 1