Package yapion.hierarchy.types
Class YAPIONValue<T>
- java.lang.Object
- 
- yapion.hierarchy.api.groups.YAPIONAnyType
- 
- yapion.hierarchy.api.groups.YAPIONValueType
- 
- yapion.hierarchy.types.YAPIONValue<T>
 
 
 
- 
- All Implemented Interfaces:
- ObjectOutput,- ObjectPath,- ObjectSearch,- ObjectType
 
 public class YAPIONValue<T> extends YAPIONValueType 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface yapion.hierarchy.api.ObjectSearchObjectSearch.YAPIONSearchResult<T extends YAPIONAnyType>
 
- 
 - 
Field Summary- 
Fields inherited from interface yapion.hierarchy.api.ObjectOutputindentString
 
- 
 - 
Constructor SummaryConstructors Constructor Description YAPIONValue(T value)
 - 
Method SummaryModifier and Type Method Description YAPIONAnyTypecopy()Optional API.booleanequals(java.lang.Object o)Tget()YAPIONTypegetType()java.lang.StringgetValueType()inthashCode()static YAPIONValueparseValue(java.lang.String s)protected longreferenceValueProvider(ReferenceFunction referenceFunction)<T extends AbstractOutput>
 TtoJSON(T abstractOutput)<T extends AbstractOutput>
 TtoJSONLossy(T abstractOutput)java.lang.StringtoString()<T extends AbstractOutput>
 TtoYAPION(T abstractOutput)static booleanvalidType(java.lang.Class<?> t)static <T> booleanvalidType(T t)- 
Methods inherited from class yapion.hierarchy.api.groups.YAPIONAnyTypecacheReferenceValue, discardReferenceValue, get, get, getDepth, getParent, getParseTime, getParseTimeMillis, getParseTimeMillisAsLong, getPath, getPath, getReferenceValue, hasParent, hasReferenceValue, indent, isValuePresent, reducedIndent, referenceValue, removeParent, setParent
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface yapion.hierarchy.api.ObjectOutputindent
 - 
Methods inherited from interface yapion.hierarchy.api.ObjectTypereferenceValue
 
- 
 
- 
- 
- 
Constructor Detail- 
YAPIONValuepublic YAPIONValue(T value) 
 
- 
 - 
Method Detail- 
getTypepublic YAPIONType getType() 
 - 
referenceValueProviderprotected long referenceValueProvider(ReferenceFunction referenceFunction) - Overrides:
- referenceValueProviderin class- YAPIONAnyType
 
 - 
copypublic YAPIONAnyType copy() Description copied from class:YAPIONAnyTypeOptional API.- Overrides:
- copyin class- YAPIONAnyType
 
 - 
toYAPIONpublic <T extends AbstractOutput> T toYAPION(T abstractOutput) 
 - 
toJSONpublic <T extends AbstractOutput> T toJSON(T abstractOutput) 
 - 
toJSONLossypublic <T extends AbstractOutput> T toJSONLossy(T abstractOutput) 
 - 
parseValuepublic static YAPIONValue parseValue(java.lang.String s) 
 - 
validTypepublic static <T> boolean validType(T t) 
 - 
validTypepublic static boolean validType(java.lang.Class<?> t) 
 - 
getpublic T get() 
 - 
getValueTypepublic java.lang.String getValueType() 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object o) - Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 
- 
 
-