public final class PrimesIterator extends Object
| Constructor and Description |
|---|
PrimesIterator()
Create iterator over prime numbers starting from 2.
|
PrimesIterator(long from)
Create iterator over prime numbers starting from the prime closest to the specified value (prime >= from)
|
Copyright © 2022. All rights reserved.