public Collection<RosterItem> getRosterItems() {
        return Collections.unmodifiableCollection(rosterItems.values());
    }
Returns a collection of users in this roster.<p>

Note: Roster items with subscription type FROM that exist only because of shared groups
are not going to be returned.

@return a collection of users in this roster.
xmppserver/src/main/java/org/jivesoftware/openfire/roster/Roster.java