Package net.orbyfied.j8.util.math.expr
Class ExpressionValue<T>
java.lang.Object
net.orbyfied.j8.util.math.expr.ExpressionValue<T>
- Direct Known Subclasses:
Context
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleangetType()getValue()<V> V<V> VgetValueAs(Class<V> vClass) inthashCode()booleanisNil()static ExpressionValue<?>newTable()static ExpressionValue<?>static ExpressionValue<?>ofDouble(double d) voidvoidstructAssign(ExpressionValue<?> key, ExpressionValue<?> value) structIndex(ExpressionValue<?> key) static ExpressionValue<?>tableGet(ExpressionValue<?> t, Object k) booleanstatic booleantableHas(ExpressionValue<?> t, Object k) static ExpressionValue<?>tableSet(ExpressionValue<?> t, Object k, Object v) intstatic inttableSize(ExpressionValue<?> t) toString()
-
Field Details
-
NIL
-
-
Constructor Details
-
ExpressionValue
-
ExpressionValue
-
-
Method Details
-
newTable
-
tableSet
-
tableGet
-
tableHas
-
tableSize
-
of
-
ofDouble
-
getType
-
getValue
-
getValueAs
public <V> V getValueAs() -
getValueAs
-
isNil
public boolean isNil() -
checkNonNil
-
checkType
-
setValue
-
checkBool
public boolean checkBool() -
structIndex
-
structAssign
-
tableSet
-
tableGet
-
tableHas
-
tableSize
public int tableSize() -
toString
-
equals
-
hashCode
public int hashCode()
-