Interface RandomIntSource

All Known Implementing Classes:
AbstractPcg6432, AbstractPcgMcg6432, AbstractWell, AbstractXoRoShiRo64, AbstractXoShiRo128, DotyHumphreySmallFastCounting32, IntProvider, ISAACRandom, JDKRandom, JenkinsSmallFast32, KISSRandom, L32X64Mix, MersenneTwister, MiddleSquareWeylSequence, MultiplyWithCarry256, PcgMcgXshRr32, PcgMcgXshRs32, PcgXshRr32, PcgXshRs32, Philox4x32, Well1024a, Well19937a, Well19937c, Well44497a, Well44497b, Well512a, XoRoShiRo64Star, XoRoShiRo64StarStar, XoShiRo128Plus, XoShiRo128PlusPlus, XoShiRo128StarStar
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface RandomIntSource
Source of randomness that generates values of type int.
Since:
1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Return the next random value.
  • Method Details

    • next

      int next()
      Return the next random value.
      Returns:
      the next random value.