Interface Reference.Reader<T>
- Type Parameters:
T- the referenced object type
- All Superinterfaces:
Supplier<T>
- All Known Implementing Classes:
Reference.ReferenceReader
A reader of an object reference.
- Author:
- Paul Ferraro
-
Method Summary
-
Method Details
-
consume
-
map
Maps this referenced value using the specified mapping function while holding a read lock.- Type Parameters:
R- the mapped type- Parameters:
mapper- a mapping function- Returns:
- a reader of the mapped reference.
-