public abstract class AbstractSerializedValue extends Object implements SerializedValue
Constructor and Description |
---|
AbstractSerializedValue(Class<?> type) |
Modifier and Type | Method and Description |
---|---|
Class<?> |
getType() |
Type[] |
getUsedTypes() |
Type |
inferType(Stream<Type> candidateTypes,
Collection<SerializedValue> values,
Class<?> defaultType) |
boolean |
satisfiesType(Type type,
Collection<? extends SerializedValue> collection) |
boolean |
satisfiesType(Type type,
SerializedValue value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
referencedValues
accept
public AbstractSerializedValue(Class<?> type)
public Type[] getUsedTypes()
getUsedTypes
in interface SerializedValue
public Class<?> getType()
getType
in interface SerializedValue
public Type inferType(Stream<Type> candidateTypes, Collection<SerializedValue> values, Class<?> defaultType)
public boolean satisfiesType(Type type, SerializedValue value)
public boolean satisfiesType(Type type, Collection<? extends SerializedValue> collection)
Copyright © 2020. All rights reserved.