Class CrudMapAdapter.SetLike.Immutable<Value>
java.lang.Object
de.xima.fc.common.collection.CrudMapAdapter.SetLike<Value>
de.xima.fc.common.collection.CrudMapAdapter.SetLike.Immutable<Value>
- Type Parameters:
Value- Type of the values in the map.
- All Implemented Interfaces:
CrudMapAdapter<Value,Unit>, Serializable
- Enclosing class:
CrudMapAdapter.SetLike<Value>
public abstract static class CrudMapAdapter.SetLike.Immutable<Value>
extends CrudMapAdapter.SetLike<Value>
implements Serializable
A
CrudMapAdapter.SetLike for an immutable set. It implements all mutating methods by throwing an
UnsupportedOperationException.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class CrudMapAdapter.SetLike
CrudMapAdapter.SetLike.Immutable<Value>Nested classes/interfaces inherited from interface CrudMapAdapter
CrudMapAdapter.SetLike<Value> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class CrudMapAdapter.SetLike
contains, get, setMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CrudMapAdapter
computeSize, enumerateCandidateKeys, isEmpty
-
Constructor Details
-
Immutable
public Immutable()
-
-
Method Details
-
add
Description copied from class:CrudMapAdapter.SetLikeAdds a given value to the set.- Specified by:
addin classCrudMapAdapter.SetLike<Value>- Parameters:
value- Value to add.
-
delete
Description copied from interface:CrudMapAdapterRemoves the mapping for the given key.- Specified by:
deletein interfaceCrudMapAdapter<Value,Unit> - Parameters:
value- Key to disassociate with any values.
-