public static class N.LongRangeStep extends N.RangeStep<Long>
times| Constructor and Description |
|---|
LongRangeStep() |
LongRangeStep(int times) |
| Modifier and Type | Method and Description |
|---|---|
Long |
apply(Long from,
Integer steps)
Apply the two params to the function
|
boolean |
equals(Object obj) |
N.LongRangeStep |
times(int n) |
stepandThen, andThen, applyOrElse, curry, curry, lift, orElsebreakOutpublic LongRangeStep()
public LongRangeStep(int times)
public Long apply(Long 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<Long,Integer,Long>apply in class N.RangeStep<Long>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<Long>public N.LongRangeStep times(int n)
times in class N.RangeStep<Long>Copyright © 2017. All Rights Reserved.