public abstract class DefaultGenericCollectionAdaptor<T extends SerializedReferenceType> extends DefaultSetupGenerator<T> implements SetupGenerator<T>
Constructor and Description |
---|
DefaultGenericCollectionAdaptor() |
Modifier and Type | Method and Description |
---|---|
abstract Type |
componentType(T value) |
abstract Stream<SerializedValue> |
elements(T value) |
boolean |
matches(Type type) |
abstract Class<?>[] |
matchingTypes() |
Optional<Class<?>> |
matchType(Type type) |
Computation |
tryDeserialize(T value,
Deserializer generator) |
parent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAdaptedClass, parent
public abstract Class<?>[] matchingTypes()
public abstract Stream<SerializedValue> elements(T value)
public boolean matches(Type type)
matches
in interface Adaptor<T extends SerializedReferenceType>
matches
in class DefaultAdaptor<T extends SerializedReferenceType>
public Computation tryDeserialize(T value, Deserializer generator)
tryDeserialize
in interface Adaptor<T extends SerializedReferenceType>
Copyright © 2020. All rights reserved.