CollectionUtils.size

Returns the size of the specified collection or {@code 0} if the collection is {@code null}.

@param c the collection to check @return the size of the specified collection or {@code 0} if the collection is {@code null}.

  1. int size(Collection!T c)
    class CollectionUtils
    static
    int
    size
    (
    T
    )
    (
    Collection!T c
    )
  2. int size(Map!(K, V) m)

Meta