public Iterator < RemoteRosterEntry > getRosterEntries ( ) { synchronized ( remoteRosterEntries ) { List < RemoteRosterEntry > entries = Collections . unmodifiableList ( new ArrayList <> ( remoteRosterEntries ) ) ; return entries . iterator ( ) ; } }
Returns an Iterator for the roster entries in the packet .