Klasse VariableValue
java.lang.Object
de.firemage.autograder.core.integrated.scope.value.VariableValue
- Alle implementierten Schnittstellen:
IndexValue,Value
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanstatic <T> IndexValuefromExpression(spoon.reflect.code.CtExpression<T> expression) static IndexValuefromInteger(int value) static <T> IndexValuefromLiteral(spoon.reflect.code.CtLiteral<T> literal) inthashCode()intbooleanisEqual(IndexValue other) Optional<spoon.reflect.code.CtExpression<?>>Returns the value as a CtExpression if possible.toString()Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden de.firemage.autograder.core.integrated.scope.value.Value
isConstant, toLiteral
-
Methodendetails
-
fromExpression
-
fromLiteral
-
fromInteger
-
toExpression
Beschreibung aus Schnittstelle kopiert:ValueReturns the value as a CtExpression if possible.- Angegeben von:
toExpressionin SchnittstelleValue- Gibt zurück:
- the value as a CtExpression or none if it is not convertible
-
isEqual
- Angegeben von:
isEqualin SchnittstelleIndexValue
-
hashValue
public int hashValue()- Angegeben von:
hashValuein SchnittstelleIndexValue
-
equals
-
hashCode
public int hashCode() -
toString
-