count abstract method

int count()

Returns the total number of objects in this collection.

This method is extremely fast and independent of the number of objects in the collection.

Implementation

int count();