Skip navigation links
A C D G I L N P S 

A

apply(int) - Method in class de.scravy.primes.Primes
 

C

contains(Object) - Method in class de.scravy.primes.Primes
 

D

de.scravy.primes - package de.scravy.primes
 

G

generate(int) - Static method in class de.scravy.primes.Primes
Generates all the primes upto the specified limit of howMany.
generate() - Static method in class de.scravy.primes.Primes
Generates all the primes upto Integer.MAX_VALUE (i.e.
generate(int, LongConsumer) - Static method in class de.scravy.primes.Primes
Generates all the primes up to howMany (specialised for long).
generate(int, IntConsumer) - Static method in class de.scravy.primes.Primes
Generates all the primes up to howMany (specialised for int).
get(int) - Method in class de.scravy.primes.Primes
Returns the nth prime, where the prime with index 0 is 2.
getPrimeFactors(int, IntConsumer) - Method in class de.scravy.primes.Primes
Enumerates the prime factors of a given integer n.
getPrimeFactors(int) - Method in class de.scravy.primes.Primes
 
getPrimeFactorsSet(int) - Method in class de.scravy.primes.Primes
 
getUnderlyingArray() - Method in class de.scravy.primes.Primes
Exposes the underlying array.

I

isPrime(int) - Method in class de.scravy.primes.Primes
Checks whether the given int is prime, by checking whether it is contained in the list of primes in this instance.
isqrt(long) - Static method in class de.scravy.primes.Primes
Integer square root of a long.
isqrt(int) - Static method in class de.scravy.primes.Primes
Integer square root of an int.
iterator() - Method in class de.scravy.primes.Primes
 

L

load() - Static method in class de.scravy.primes.Primes
Loads all the available primes that are shipped with this library.
load(int) - Static method in class de.scravy.primes.Primes
Loads the specified amount of primes that are shipped with this library.

N

NUMBER_OF_PRIMES_UPTO_INT_MAX_VALUE - Static variable in class de.scravy.primes.Primes
The number of primes in the interval [ 2 ..

P

Primes - Class in de.scravy.primes
 
Primes.InitializationException - Exception in de.scravy.primes
Thrown if a Primes object can not be constructed, for instance because it was attempted to load a given number of primes form a file but an IOException occurred, or the file was malformed, yada yada yada.

S

size() - Method in class de.scravy.primes.Primes
Returns the number of primes in this instance.
A C D G I L N P S 

Copyright © 2018. All rights reserved.