Class UpcasterChain<T>
- java.lang.Object
-
- io.fluxcapacitor.javaclient.common.serialization.upcasting.UpcasterChain<T>
-
public class UpcasterChain<T> extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classUpcasterChain.ConvertingSerializedObject<T>protected static classUpcasterChain.DataRevision
-
Constructor Summary
Constructors Modifier Constructor Description protectedUpcasterChain(Collection<AnnotatedUpcaster<T>> upcasters)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> Upcaster<SerializedObject<byte[],?>>create(Collection<?> upcasters, Converter<T> converter)protected static <T,S extends SerializedObject<T,S>>
Upcaster<S>create(Collection<?> upcasters, Class<T> dataType)protected <S extends SerializedObject<T,S>>
Stream<S>upcast(Stream<S> input)
-
-
-
Constructor Detail
-
UpcasterChain
protected UpcasterChain(Collection<AnnotatedUpcaster<T>> upcasters)
-
-
Method Detail
-
create
public static <T> Upcaster<SerializedObject<byte[],?>> create(Collection<?> upcasters, Converter<T> converter)
-
create
protected static <T,S extends SerializedObject<T,S>> Upcaster<S> create(Collection<?> upcasters, Class<T> dataType)
-
upcast
protected <S extends SerializedObject<T,S>> Stream<S> upcast(Stream<S> input)
-
-