Package org.mozilla.zest.core.v1
Class ZestLoopStateInteger
- java.lang.Object
-
- org.mozilla.zest.core.v1.ZestElement
-
- org.mozilla.zest.core.v1.ZestLoopState<Integer>
-
- org.mozilla.zest.core.v1.ZestLoopStateInteger
-
public class ZestLoopStateInteger extends ZestLoopState<Integer>
The Class ZestLoopStateInteger.
-
-
Field Summary
-
Fields inherited from class org.mozilla.zest.core.v1.ZestElement
JSON_ELEMENT_TYPE
-
-
Constructor Summary
Constructors Constructor Description ZestLoopStateInteger(ZestLoopTokenIntegerSet set)Instantiates a new zest loop state integer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ZestLoopStateIntegerdeepCopy()Deep copy.booleanincrease(ZestLoopTokenSet<Integer> set)this increase the state and goes to the next state.-
Methods inherited from class org.mozilla.zest.core.v1.ZestLoopState
equals, getCurrentIndex, getCurrentToken, hashCode, increaseIndex, isLastState, setCurrentToken, setIndex, toLastState
-
Methods inherited from class org.mozilla.zest.core.v1.ZestElement
getElementType, isSameSubclass, setElementType
-
-
-
-
Constructor Detail
-
ZestLoopStateInteger
public ZestLoopStateInteger(ZestLoopTokenIntegerSet set)
Instantiates a new zest loop state integer.- Parameters:
set- the set
-
-
Method Detail
-
increase
public boolean increase(ZestLoopTokenSet<Integer> set)
Description copied from class:ZestLoopStatethis increase the state and goes to the next state.- Specified by:
increasein classZestLoopState<Integer>- Parameters:
set- the set
-
deepCopy
public ZestLoopStateInteger deepCopy()
Description copied from class:ZestElementDeep copy.- Specified by:
deepCopyin classZestLoopState<Integer>- Returns:
- the zest element
-
-