public class CycleRange extends Object implements IntUnaryOperator
| Constructor and Description |
|---|
CycleRange(int maxValue)
Sets the maximum value of the cycle range.
|
CycleRange(int minValue,
int maxValue)
Sets the minimum and maximum value of the cycle range.
|
| Modifier and Type | Method and Description |
|---|---|
int |
applyAsInt(int operand) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandThen, compose, identitypublic CycleRange(int maxValue)
maxValue - The maximum value in the cycle to be added.public CycleRange(int minValue,
int maxValue)
minValue - minimum value of the cycle to be added.maxValue - maximum value of the cycle to be added.public int applyAsInt(int operand)
applyAsInt in interface IntUnaryOperatorCopyright © 2018. All rights reserved.