public class UpcasterChain<T> extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
UpcasterChain.ConvertingSerializedObject<T> |
protected static class |
UpcasterChain.DataRevision |
| Modifier | Constructor and Description |
|---|---|
protected |
UpcasterChain(Collection<AnnotatedUpcaster<T>> upcasters) |
| Modifier and Type | Method and Description |
|---|---|
protected static <T,S extends SerializedObject<T,S>> |
create(Collection<?> upcasters,
Class<T> dataType) |
static <T> Upcaster<SerializedObject<byte[],?>> |
create(Collection<?> upcasters,
Converter<T> converter) |
protected <S extends SerializedObject<T,S>> |
upcast(Stream<S> input) |
protected UpcasterChain(Collection<AnnotatedUpcaster<T>> upcasters)
public 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)
Copyright © 2019 Flux Capacitor. All rights reserved.