public class ImmutableResultValue extends ResultValue
ResultValue, Änderungen des einmal im Konstruktor gesetzten Wertes werden jedoch verhindert. UnsupportedOperationException geworfen.ResultValue.ResultValueOperation| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
_children, _value, INVALID_ID| Constructor and Description |
|---|
ImmutableResultValue(ExpressionResult expressionResult) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ResultValue> |
getChildren() |
ResultValue |
performOperation(ResultValue other,
ResultValue.ResultValueOperation operation)
Änderungen sind nicht erlaubt.
|
void |
set(ExpressionResult result)
Änderungen sind nicht erlaubt.
|
void |
truncChildren(int i)
Neue Wertzuweisungen sind nicht erlaubt.
|
cloneForAggregation, equals, getValue, hasData, hashCode, isAtomar, isSummable, toStringprivate static final long serialVersionUID
public ImmutableResultValue(ExpressionResult expressionResult)
public java.util.List<ResultValue> getChildren()
getChildren in class ResultValuepublic void truncChildren(int i)
truncChildren in class ResultValuei - Länge.java.lang.UnsupportedOperationException - Wird immer geworfen.public ResultValue performOperation(ResultValue other, ResultValue.ResultValueOperation operation)
performOperation in class ResultValueother - Rechter Operand.operation - Operation.thisjava.lang.UnsupportedOperationException - Wird immer geworfen.public void set(ExpressionResult result)
set in class ResultValueresult - Wert. throw new UnsupportedOperationException("Änderungen sind nicht erlaubt.");