Interface ValueOperation<T>
- Record Components:
T- the return type
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Operation with a return value, used by
ReentrantJavaReadWriteLock and ReadWriteLockedStriped.-
Method Summary
-
Method Details
-
execute
T execute()Execute an arbitrary operation and return the result- Returns:
- the result of the operation
-