Package io.protostuff.runtime
Class Accessor
- java.lang.Object
-
- io.protostuff.runtime.Accessor
-
- Direct Known Subclasses:
ReflectAccessor
,UnsafeAccessor
public abstract class Accessor extends java.lang.Object
Used for (speeding up deser on) repeated/collection fields.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Accessor.Factory
-
Field Summary
Fields Modifier and Type Field Description java.lang.reflect.Field
f
-
Constructor Summary
Constructors Modifier Constructor Description protected
Accessor(java.lang.reflect.Field f)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract <T> T
get(java.lang.Object owner)
Get the field value.abstract void
set(java.lang.Object owner, java.lang.Object value)
Set the field value.
-