public static class N.ByteRangeStep extends N.RangeStep<Byte>
times| Constructor and Description |
|---|
ByteRangeStep() |
ByteRangeStep(int times) |
| Modifier and Type | Method and Description |
|---|---|
Byte |
apply(Byte from,
Integer steps)
Apply the two params to the function
|
boolean |
equals(Object obj) |
N.ByteRangeStep |
times(int n) |
stepandThen, andThen, applyOrElse, curry, curry, lift, orElsebreakOutpublic ByteRangeStep()
public ByteRangeStep(int times)
public Byte apply(Byte from, Integer steps) throws NotAppliedException, Lang.Break
Lang.Func2Apply the two params to the function
In 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 Lang.Func2<Byte,Integer,Byte>apply in class N.RangeStep<Byte>from - the first argument of type P1steps - the second argument of type P2NotAppliedException - if the function doesn’t apply to the parameter(s)Lang.Break - to short cut collecting operations (fold/reduce) on an containerpublic boolean equals(Object obj)
equals in class N.RangeStep<Byte>public N.ByteRangeStep times(int n)
times in class N.RangeStep<Byte>Copyright © 2014–2021 OSGL (Open Source General Library). All rights reserved.