public class Number extends AbstractCounter
| Modifier and Type | Method and Description |
|---|---|
double |
decrement()
Decrement the counter's value by 1.0.
|
double |
increment()
Increment the counter's value by 1.0.
|
double |
incrementBy(double value)
Increment the counter's value by the specified amount.
|
double |
nextValue()
Compute and return the value of the counter.
|
void |
setRawValue(double value)
Set the counter's value to a new value.
|
addAggregate, getName, getType, propagatepublic Number(String name)
public double increment()
Counterincrement in interface Counterincrement in class AbstractCounterpublic double incrementBy(double value)
CounterincrementBy in interface CounterincrementBy in class AbstractCountervalue - the amount to increment the counter bypublic double decrement()
Counterdecrement in interface Counterdecrement in class AbstractCounterpublic void setRawValue(double value)
CountersetRawValue in interface CountersetRawValue in class AbstractCountervalue - the new value of the counterpublic double nextValue()
CounternextValue in interface CounternextValue in class AbstractCounterCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.