Operator, Function<T,T>, UnaryOperator<Value>public class UnaryOp extends Object implements UnaryOperator<Value>, Operator
| Modifier and Type | Field | Description |
|---|---|---|
protected @NotNull Op |
operation |
|
protected @NotNull DollarParser |
parser |
|
protected @NotNull Source |
source |
| Constructor | Description |
|---|---|
UnaryOp(boolean immediate,
@NotNull BiFunction<Value,Source,Value> function,
@NotNull Op operation,
@NotNull DollarParser parser,
boolean pure) |
|
UnaryOp(@NotNull DollarParser parser,
@NotNull Op operation,
@NotNull BiFunction<Value,Source,Value> function,
boolean pure) |
| Modifier and Type | Method | Description |
|---|---|---|
@NotNull Value |
apply(@NotNull Value from) |
|
void |
setSource(@NotNull Source source) |
|
void |
validate(@NotNull Op operation) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitidentity@NotNull protected final @NotNull Op operation
@NotNull protected @NotNull DollarParser parser
@NotNull protected @NotNull Source source
public UnaryOp(@NotNull
@NotNull DollarParser parser,
@NotNull
@NotNull Op operation,
@NotNull
@NotNull BiFunction<Value,Source,Value> function,
boolean pure)
public UnaryOp(boolean immediate,
@NotNull
@NotNull BiFunction<Value,Source,Value> function,
@NotNull
@NotNull Op operation,
@NotNull
@NotNull DollarParser parser,
boolean pure)
Copyright © 2017. All rights reserved.