-
cc.mallet.util.Randoms.nextInt()
-
ch.akuhn.hapax.util.ResourceStream.nextInt()
-
com.carrotsearch.hppc.XorShiftRandom.nextInt()
-
com.fasterxml.storemate.store.util.BytesToStuff.nextInt()
-
com.firefly.utils.ThreadLocalRandom.nextInt()
-
com.google.gson.stream.JsonReader.nextInt()
Returns the {@link com.google.gson.stream.JsonToken#NUMBER int} value of the next token,consuming it. If the next token is a string, this method will attempt to parse it as an int. If the next token's numeric value cannot be exactly represented by a Java {@code int}, this method throws.
@throws IllegalStateException if the next token is not a literal value.
@throws NumberFormatException if the next literal value cannot be parsedas a number, or exactly represented as an int.
-
com.oltpbenchmark.distributions.ScrambledZipfianGenerator.nextInt()
Return the next int in the sequence.
-
com.oltpbenchmark.distributions.ZipfianGenerator.nextInt()
Generate the next item. this distribution will be skewed toward lower integers; e.g. 0 will be the most popular, 1 the next most popular, etc.
@param itemcount The number of items in the distribution.
@return The next item in the sequence.
-
com.oltpbenchmark.util.RandomDistribution.Flat.nextInt()
-
com.oltpbenchmark.util.RandomDistribution.Zipf.nextInt()
-
com.orientechnologies.common.util.MersenneTwisterFast.nextInt()
-
com.ribomation.droidAtScreen.Settings.nextInt()
-
com.subgraph.orchid.crypto.TorRandom.nextInt()
-
com.tommytony.war.Warzone.nextInt()
-
com.twitter.common.util.Random.nextInt()
-
com.yahoo.ycsb.generator.IntegerGenerator.nextInt()
Return the next value as an int. When overriding this method, be sure to call setLastString() properly, or the lastString() call won't work.
-
com.yahoo.ycsb.generator.ZipfianGenerator.nextInt()
Generate the next item. this distribution will be skewed toward lower integers; e.g. 0 will be the most popular, 1 the next most popular, etc.
@param itemcount The number of items in the distribution.
@return The next item in the sequence.
-
edu.brown.benchmark.ycsb.distributions.CustomSkewGenerator.nextInt()
-
edu.brown.benchmark.ycsb.distributions.ZipfianGenerator.nextInt()
Generate the next item. this distribution will be skewed toward lower integers; e.g. 0 will be the most popular, 1 the next most popular, etc.
@param itemcount The number of items in the distribution.
@return The next item in the sequence.
-
edu.brown.rand.RandomDistribution.Gaussian.nextInt()
-
edu.brown.rand.RandomDistribution.Zipf.nextInt()
-
edu.ucla.sspace.util.primitive.IntIterator.nextInt()
Returns the next {@code int} in the sequence.
@throws NoSuchElementException if no further {@code int} values remain
-
freenet.crypt.DummyRandomSource.nextInt()
-
freenet.crypt.RandomSource.nextInt()
-
freenet.support.math.MersenneTwister.nextInt()
-
gnu.trove.iterator.TIntDoubleIterator.nextInt()
-
gnu.trove.iterator.TIntIterator.nextInt()
-
it.unimi.dsi.fastutil.ints.IntIterator.nextInt()
-
it.unimi.dsi.fastutil.ints.IntListIterator.nextInt()
-
java.security.SecureRandom.nextInt()
-
java.util.Random.nextInt()
Returns the next pseudorandom, uniformly distributed {@code int}value from this random number generator's sequence. The general contract of {@code nextInt} is that one {@code int} value ispseudorandomly generated and returned. All 2
32 possible {@code int} values are produced with(approximately) equal probability.
The method {@code nextInt} is implemented by class {@code Random}as if by:
{@code}public int nextInt() return next(32); }}
@return the next pseudorandom, uniformly distributed {@code int}value from this random number generator's sequence
-
java.util.Scanner.nextInt()
Scans the next token of the input as an
int.
An invocation of this method of the form nextInt() behaves in exactly the same way as the invocation nextInt(radix), where radix
is the default radix of this scanner.
@return the int scanned from the input
@throws InputMismatchException if the next token does not match the Integer regular expression, or is out of range
@throws NoSuchElementException if input is exhausted
@throws IllegalStateException if this scanner is closed
-
java.util.concurrent.ThreadLocalRandom.nextInt()
Returns a pseudorandom {@code int} value.
@return a pseudorandom {@code int} value
-
net.yacy.document.importer.OAIPMHLoader.nextInt()
-
org.ajax4jsf.util.Zipper2.nextInt()
-
org.apache.cassandra.stress.generate.FasterRandom.nextInt()
-
org.apache.commons.math.random.RandomData.nextInt()
Generates a uniformly distributed random integer between
lower
and
upper
(endpoints included).
The generated integer will be random, but not cryptographically secure. To generate cryptographically secure integer sequences, use nextSecureInt
.
Preconditions:
lower < upper
(otherwise an IllegalArgumentException is thrown.)
@param lower lower bound for generated integer
@param upper upper bound for generated integer
@return a random integer greater than or equal to
lower
and less than or equal to
upper
.
-
org.apache.commons.math.random.RandomDataImpl.nextInt()
Generate a random int value uniformly distributed between lower
and upper
, inclusive.
@param lower the lower bound.
@param upper the upper bound.
@return the random integer.
@throws NumberIsTooLargeException if {@code lower >= upper}.
-
org.apache.commons.math3.random.MersenneTwister.nextInt()
Returns the next pseudorandom, uniformly distributed int
value from this random number generator's sequence. All 232 possible {@code int} valuesshould be produced with (approximately) equal probability.
@return the next pseudorandom, uniformly distributed int
value from this random number generator's sequence
-
org.apache.commons.math3.random.RandomData.nextInt()
Generates a uniformly distributed random integer between {@code lower}and {@code upper} (endpoints included).
The generated integer will be random, but not cryptographically secure. To generate cryptographically secure integer sequences, use {@link #nextSecureInt(int,int)}.
@param lower lower bound for generated integer
@param upper upper bound for generated integer
@return a random integer greater than or equal to {@code lower}and less than or equal to {@code upper}
@throws NumberIsTooLargeException if {@code lower >= upper}
-
org.apache.commons.math3.random.RandomDataImpl.nextInt()
{@inheritDoc}
-
org.apache.commons.math3.random.RandomGenerator.nextInt()
Returns the next pseudorandom, uniformly distributed int
value from this random number generator's sequence. All 232 possible {@code int} valuesshould be produced with (approximately) equal probability.
@return the next pseudorandom, uniformly distributed int
value from this random number generator's sequence
-
org.apache.commons.math3.random.Well1024a.nextInt()
Returns the next pseudorandom, uniformly distributed int
value from this random number generator's sequence. All 232 possible {@code int} valuesshould be produced with (approximately) equal probability.
@return the next pseudorandom, uniformly distributed int
value from this random number generator's sequence
-
org.apache.commons.math3.random.Well19937c.nextInt()
Returns the next pseudorandom, uniformly distributed int
value from this random number generator's sequence. All 232 possible {@code int} valuesshould be produced with (approximately) equal probability.
@return the next pseudorandom, uniformly distributed int
value from this random number generator's sequence
-
org.apache.mahout.common.RandomWrapper.nextInt()
-
org.apache.mahout.math.jet.random.Normal.nextInt()
-
org.apache.mahout.math.jet.random.Poisson.nextInt()
Returns a random number from the distribution.
-
org.eclipse.jgit.junit.TestRng.nextInt()
@return the next random integer.
-
org.hsqldb.lib.Iterator.nextInt()
-
org.hsqldb_voltpatches.lib.Iterator.nextInt()
-
org.jamesii.core.math.random.generators.IRandom.nextInt()
Returns a uniformly distributed 32-bit {@code int} value from the randomnumber generator.
@return A (pseudo-)random 32-bit integer.
-
org.leores.math.Randomer.nextInt()
-
org.terasology.utilities.random.FastRandom.nextInt()
Returns a random int value.
@return Random value
-
org.terasology.utilities.random.MersenneRandom.nextInt()
-
org.uncommons.maths.random.MersenneTwisterRNG.nextInt()
-
org.waveprotocol.wave.model.testing.RandomDocOpGenerator.RandomProvider.nextInt()
-
org.waveprotocol.wave.model.testing.RandomProviderImpl.nextInt()
-
prefuse.data.util.TableIterator.nextInt()
Returns the next table row.
@see prefuse.util.collections.LiteralIterator#nextInt()
-
prefuse.util.collections.IntIterator.nextInt()
@see prefuse.util.collections.LiteralIterator#nextInt()
-
prefuse.util.collections.LiteralIterator.nextInt()
-
ucar.ma2.Array.nextInt()
Return the next int in the local iterator. Uses the local iterator, which is not thread-safe. Use getIndexIterator if you need thread-safety.
@return next element as a int, same as IndexIterator.getIntNext().