Solved ArrayList

Discussion in 'Plugin Development' started by Hellborn5456, Dec 31, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    Hellborn5456

  2. Offline

    teej107

  3. Offline

    mythbusterma

    @Hellborn5456

    Stop using ArrayList#toString() and actually iterate and build a String yourself.
     
  4. Offline

    Hellborn5456

    Code:
        
        ArrayList<String> names = new ArrayList<String>();
        ArrayList
        i want to add stuff into the list by doing
        names.add(args[0]);
        then i want to list the thing in the arraylist.
        by doing a command
        which all works but i dont want the [ ].
    
    I'f you look here: http://gyazo.com/bb3dab2280afc182c306c5cc77c666ff
    Everything works but there are these things [ ]. I do not wont these brackets.
    how can i remove those.
    @teej107
     
  5. Offline

    teej107

    @Hellborn5456
     
  6. Offline

    Hellborn5456

    @teej107 & @mybusterma Thank you i got it!
     
Thread Status:
Not open for further replies.

Share This Page