Package com.linkedin.alpini.base.misc
Interface TypedFieldAccessor<T,V>
- Type Parameters:
T
- Containing classV
- Class of contained field
- All Superinterfaces:
BiConsumer<T,
,V> Function<T,
V>
- All Known Implementing Classes:
SlowFieldAccessor
Interface for a generic typed field accessor.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T,
V> TypedFieldAccessor<T, V> static <T,
V> TypedFieldAccessor<T, V> Methods inherited from interface java.util.function.BiConsumer
accept, andThen
-
Method Details
-
forField
-
forField
static <T,V> TypedFieldAccessor<T,V> forField(Field field) throws NoSuchFieldException, IllegalAccessException
-