Package yapion.hierarchy.types
Class YAPIONVariable
- java.lang.Object
-
- yapion.hierarchy.typegroups.YAPIONAnyClosure
-
- yapion.hierarchy.types.YAPIONVariable
-
- All Implemented Interfaces:
ObjectOutput
public final class YAPIONVariable extends YAPIONAnyClosure
-
-
Field Summary
-
Fields inherited from interface yapion.hierarchy.typeinterfaces.ObjectOutput
indent
-
-
Constructor Summary
Constructors Constructor Description YAPIONVariable(java.lang.String name, YAPIONAnyType value)
-
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetName()YAPIONAnyTypegetValue()inthashCode()longreferenceValue()<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 java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface yapion.hierarchy.typeinterfaces.ObjectOutput
indent
-
-
-
-
Constructor Detail
-
YAPIONVariable
public YAPIONVariable(java.lang.String name, YAPIONAnyType value)
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getValue
public YAPIONAnyType getValue()
-
referenceValue
public long referenceValue()
- Specified by:
referenceValuein classYAPIONAnyClosure
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
toYAPION
public <T extends AbstractOutput> T toYAPION(T abstractOutput)
-
toJSON
public <T extends AbstractOutput> T toJSON(T abstractOutput)
-
toJSONLossy
public <T extends AbstractOutput> T toJSONLossy(T abstractOutput)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-