Package yapion.hierarchy.types
Class YAPIONPointer
- java.lang.Object
- 
- yapion.hierarchy.api.groups.YAPIONAnyType
- 
- yapion.hierarchy.api.groups.YAPIONValueType
- 
- yapion.hierarchy.types.YAPIONPointer
 
 
 
- 
- All Implemented Interfaces:
- ObjectOutput,- ObjectPath,- ObjectSearch,- ObjectType
 
 public class YAPIONPointer 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 YAPIONPointer(java.lang.String pointerID)YAPIONPointer(YAPIONObject yapionObject)YAPIONPointer(YAPIONObject yapionObject, ReferenceFunction referenceFunction)
 - 
Method SummaryModifier and Type Method Description booleanequals(java.lang.Object o)java.util.Optional<ObjectSearch.YAPIONSearchResult<?>>get(java.lang.String key)longgetPointerID()java.lang.StringgetPointerIDString()YAPIONTypegetType()inthashCode()longreferenceValue(@NonNull ReferenceFunction referenceFunction)<T extends AbstractOutput>
 TtoJSON(T abstractOutput)<T extends AbstractOutput>
 TtoJSONLossy(T abstractOutput)java.lang.StringtoString()<T extends AbstractOutput>
 TtoYAPION(T abstractOutput)- 
Methods inherited from class yapion.hierarchy.api.groups.YAPIONAnyTypecacheReferenceValue, copy, discardReferenceValue, get, getDepth, getParent, getParseTime, getParseTimeMillis, getParseTimeMillisAsLong, getPath, getPath, getReferenceValue, hasParent, hasReferenceValue, indent, isValuePresent, reducedIndent, referenceValueProvider, 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- 
YAPIONPointerpublic YAPIONPointer(YAPIONObject yapionObject) 
 - 
YAPIONPointerpublic YAPIONPointer(YAPIONObject yapionObject, ReferenceFunction referenceFunction) 
 - 
YAPIONPointerpublic YAPIONPointer(java.lang.String pointerID) 
 
- 
 - 
Method Detail- 
getTypepublic YAPIONType getType() 
 - 
referenceValuepublic long referenceValue(@NonNull @NonNull ReferenceFunction referenceFunction)- Specified by:
- referenceValuein interface- ObjectType
- Overrides:
- referenceValuein 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) 
 - 
getPointerIDpublic long getPointerID() 
 - 
getPointerIDStringpublic java.lang.String getPointerIDString() 
 - 
getpublic java.util.Optional<ObjectSearch.YAPIONSearchResult<?>> get(java.lang.String key) - Specified by:
- getin interface- ObjectSearch
- Overrides:
- getin class- YAPIONAnyType
 
 - 
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
 
 
- 
 
-