@Override public void remove() { throw DataUtils.newUnsupportedOperationException("Removing is not supported"); }
@Override public void remove() { throw DataUtils.newUnsupportedOperationException("Removing is not supported"); } };
@Override public void remove() { throw DataUtils.newUnsupportedOperationException("Removing is not supported"); } };
@Override public V setValue(V value) { throw DataUtils.newUnsupportedOperationException("Updating the value is not supported"); }
@Override public void remove() { throw DataUtils.newUnsupportedOperationException("Removing is not supported"); }
@Override public void remove() { throw DataUtils.newUnsupportedOperationException("remove"); }
@Override public void remove() { throw DataUtils.newUnsupportedOperationException("Removing is not supported"); }
/** * This method is called before writing to the map. * The default implementation checks whether writing is allowed. * * @throws UnsupportedOperationException if the map is read-only. */ protected void beforeWrite() { if (btreeStorage.isClosed()) { throw DataUtils.newIllegalStateException(DataUtils.ERROR_CLOSED, "This map is closed"); } if (readOnly) { throw DataUtils.newUnsupportedOperationException("This map is read-only"); } }