countSync abstract method

int countSync()

Returns the total number of objects in this collection.

For non-web apps, this method is extremely fast and independent of the number of objects in the collection.

Implementation

int countSync();