@Override
        public V setValue(V object) {
            if (!mEntryValid) {
                throw new IllegalStateException(
                        "This container does not support retaining Map.Entry objects");
            }
            return colSetValue(mIndex, object);
        }
Helper for writing standard Java collection interfaces to a data
structure like {@link ArrayMap}.
android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/util/collection/MapCollections.java