public final class NaturalNumbers extends IterableEnvelope<Long>
Constructor and Description |
---|
NaturalNumbers()
Ctor.
|
NaturalNumbers(long lst)
Ctor.
|
NaturalNumbers(long fst,
long lst)
Ctor.
|
NaturalNumbers(Scalar<Long> lst)
Ctor.
|
NaturalNumbers(Scalar<Long> fst,
Scalar<Long> lst)
Ctor.
|
NaturalNumbers(UncheckedScalar<Long> lst)
Ctor.
|
NaturalNumbers(UncheckedScalar<Long> first,
UncheckedScalar<Long> last)
Ctor.
|
iterator
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public NaturalNumbers()
public NaturalNumbers(long lst)
lst
- Last natural numberpublic NaturalNumbers(long fst, long lst)
fst
- First natural numberlst
- Last natural numberpublic NaturalNumbers(UncheckedScalar<Long> lst)
lst
- Last natural numberpublic NaturalNumbers(Scalar<Long> fst, Scalar<Long> lst)
fst
- First natural numberlst
- Last natural numberpublic NaturalNumbers(UncheckedScalar<Long> first, UncheckedScalar<Long> last)
first
- First natural numberlast
- Last natural numberCopyright © 2017 Cactoos. All rights reserved.