Interface Operations<T>
- Type Parameters:
T- the operable object type
- All Known Subinterfaces:
CollectionOperations<V,C>
- All Known Implementing Classes:
MapOperations, SetOperations
public interface Operations<T>
Defines operations for creating and copying an operable object.
- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptionReturns an operator used to copy the operable object (for copy-on-write operations).Returns a factory for creating the operable object (for set-if-absent operations).isEmpty()Returns the predicate used to determine if the operable object is empty.
-
Method Details
-
getCopier
UnaryOperator<T> getCopier()Returns an operator used to copy the operable object (for copy-on-write operations).- Returns:
- an operator used to copy the operable object (for copy-on-write operations).
-
getFactory
-
isEmpty
-