@Override
    public int size() {
        return elements.length;
    }
Constructs a new UserCollection.
@param elements the initial set of users
xmppserver/src/main/java/org/jivesoftware/openfire/user/UserCollection.java