@Override
    public Iterator<User> iterator() {
        return new UserIterator();
    }
Constructs a new UserCollection.
@param elements the initial set of users
xmppserver/src/main/java/org/jivesoftware/openfire/user/UserCollection.java