According to the LibGDX API documentation the
class does not implement
or any similar method for returning the number of items currently in the collection.
Of course I can iterate over the values and just count them manually, but the developers must have had a good reason for omitting it as a method.
What's the explanation for this? Am I just overlooking something trivial?