private boolean containsAllOrdinals(RegularImmutableOrdinalSet<?> ordinalSet) {
      long[] otherVector = ordinalSet.vector;
      long[] vector = this.vector;

      if (vector.length < otherVector.length) {
        // If other set contains more words - then it contains higher ordinals that this
        // just don't possess, so containsAll will be false
        return false;
      }

      for (int i = 0; i < otherVector.length; i++) {
        long v = vector[i];
        long ov = otherVector[i];
        if ((v & ov) != ov) {
          return false;
        }
      }

      return true;
    }
Will throw an exception and leave the collection unmodified.
@throws UnsupportedOperationException always
@deprecated Modification operation are not supported.
ordinal/src/org/immutables/ordinal/ImmutableOrdinalSet.java