Class Xorshift.X1

All Implemented Interfaces:
Iterable<Long>, Iterator<Long>, Xorshift.Loop, Fiber.Worker
Enclosing class:
Xorshift

public static class Xorshift.X1 extends Generator<Long> implements Xorshift.Loop
  • Constructor Details

    • X1

      public X1()
  • Method Details

    • execute

      public void execute() throws Pausable, Exception
      Description copied from class: Continuation
      the top level entrypoint for the continuation override this method cannot be called directly - use run() instead use Fiber.yield() to yield control cooperatively and return execution to the caller of run()
      Specified by:
      execute in interface Fiber.Worker
      Overrides:
      execute in class Continuation
      Throws:
      Pausable
      Exception
    • loop

      public long loop(long num)
      Specified by:
      loop in interface Xorshift.Loop