Package com.linkedin.alpini.base.misc
Class SlowFieldAccessor<T,V>
- java.lang.Object
-
- com.linkedin.alpini.base.misc.SlowFieldAccessor<T,V>
-
- Type Parameters:
T
- Containing classV
- Class of contained field
- All Implemented Interfaces:
TypedFieldAccessor<T,V>
,java.util.function.BiConsumer<T,V>
,java.util.function.Function<T,V>
public abstract class SlowFieldAccessor<T,V> extends java.lang.Object implements TypedFieldAccessor<T,V>
Field accessor using Reflection. This is slow but does not use the faster Unsafe mechanism which is no longer permitted in Java.
-
-
Constructor Summary
Constructors Constructor Description SlowFieldAccessor()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T,V>
SlowFieldAccessor<T,V>forField(java.lang.reflect.Field field)
-
-
-
Method Detail
-
forField
public static <T,V> SlowFieldAccessor<T,V> forField(java.lang.reflect.Field field)
-
-