@Override
    public boolean retainAll(Collection<?> c) {
        throwIfFrozen();
        return super.retainAll(c);
    }
Irreversibly freezes the content of this
vespajlib/src/main/java/com/yahoo/collections/FreezableArrayList.java