Number of List?

Discussion in 'Plugin Development' started by XFarwar, Jan 19, 2015.

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

    XFarwar

    Hi, I need help with my plugin. I'm creating an friend system plugin for my Server and I need help with List<String>. I've created an List to set all players, but, there's a way to get the number of the player? For example:
    Friends:
    - Lol
    - Notch
    - Jeb
    Now I need to get the number of the Friends (3). Thanks.
     
  2. Offline

    teej107

    Have you tried looking through the Java Documentation?
     
  3. Offline

    XFarwar

    Ya, I found nothing, maybe beceause i'm italian and i don't know english very well.
     
  4. Offline

    mythbusterma

    @XFarwar

    How about List#size().....
     
  5. Offline

    Avery246813579

Thread Status:
Not open for further replies.

Share This Page