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, waitreferencedValuesacceptpublic AbstractSerializedValue(Class<?> type)
public Type[] getUsedTypes()
getUsedTypes in interface SerializedValuepublic Class<?> getType()
getType in interface SerializedValuepublic 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.