powered by Jive Software

Getting number of roster items in roster packet

A convenient method to add to RosterPacket would be something like “getRosterItemCount()” which returns the number of roster items in the roster packet. Currently the “getRosterItems()” returns an iterator, so there’'s no way of knowing how many roster items there are unless iterating through all of them first.

Thanks,

Aman

Thanks for the feature request – I’'ll enter it into the issue tracker to be implemented in the 1.1 release.

Regards,

Matt

This method is now in the daily builds.

Regards,

Matt