public static class N.IntRangeStep extends N.RangeStep<Integer>
times| Constructor and Description |
|---|
IntRangeStep() |
IntRangeStep(int times) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
apply(Integer from,
Integer steps)
Apply the two params to the function
|
boolean |
equals(Object obj) |
N.IntRangeStep |
times(int n) |
stepandThen, andThen, applyOrElse, curry, curry, lift, orElsebreakOutpublic Integer apply(Integer from, Integer steps) throws NotAppliedException, Osgl.Break
Osgl.Func2In case implementing a partial function, it can throw out an
NotAppliedException if the function is not defined for
the given parameter(s)
apply in interface Osgl.Func2<Integer,Integer,Integer>apply in class N.RangeStep<Integer>from - the first argument of type P1steps - the second argument of type P2NotAppliedException - if the function doesn't apply to the parameter(s)Osgl.Break - to short cut collecting operations (fold/reduce) on an containerpublic boolean equals(Object obj)
equals in class N.RangeStep<Integer>public N.IntRangeStep times(int n)
times in class N.RangeStep<Integer>Copyright © 2017. All Rights Reserved.