@Override
    public boolean containsAll(Collection<?> collection) {
        Iterator<?> it = collection.iterator();
        while (it.hasNext()) {
            if (!contains(it.next())) {
                return false;
            }
        }
        return true;
    }
Determine if the array set contains all of the values in the given collection.

@param collection The collection whose contents are to be checked against.
@return Returns true if this array set contains a value for every entry
in <var>collection</var>, else returns false.
replugin-host-library/replugin-host-lib/src/main/java/com/qihoo360/replugin/utils/basic/ArraySet.java