Package de.gsi.serializer
Interface FieldSerialiser.TriFunction<R>
-
- Type Parameters:
R- generic return type
- Enclosing class:
- FieldSerialiser<R>
public static interface FieldSerialiser.TriFunction<R>used as lambda expression for user-level code to return new object data (read-case) from the given serialiser back-end implementation- Author:
- rstein
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Rapply(IoSerialiser ioSerialiser, java.lang.Object rootObj, ClassFieldDescription field)Performs this operation on the given arguments.
-
-
-
Method Detail
-
apply
R apply(IoSerialiser ioSerialiser, java.lang.Object rootObj, ClassFieldDescription field)
Performs this operation on the given arguments.- Parameters:
ioSerialiser- the reference to the calling IoSerialiserrootObj- the specific root object reference the given field is part offield- the description for the given class member, if null then rootObj is written/read directly- Returns:
- The value of the field which is either taken from rootObj if present or compatible or newly allocated otherwise
-
-