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 boolean
equals(java.lang.Object o)
java.lang.String
getName()
YAPIONAnyType
getValue()
int
hashCode()
long
referenceValue()
<T extends AbstractOutput>
TtoJSON(T abstractOutput)
<T extends AbstractOutput>
TtoJSONLossy(T abstractOutput)
java.lang.String
toString()
<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:
referenceValue
in classYAPIONAnyClosure
-
toString
public java.lang.String toString()
- Overrides:
toString
in 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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-