PlaneParallelLineGenerator implements ParallelLineGenerator { public void setSeed(final long seed) { random.setSeed(seed); } <I extends Interval> PlaneParallelLineGenerator(final I interval, final Quaterniondc direction,
														   final BinaryHybridCFI1<Vector3d, Quaterniondc, Vector3d> rotateOp,
														   final long sections); @Override Line nextLine(); @Override Vector3dc getDirection(); void setSeed(final long seed); void reset();  }
@Test public void testSetSeed() { final PlaneParallelLineGenerator generator = new PlaneParallelLineGenerator(IMG, IDENTITY, rotateOp, 16L); generator.setSeed(0xc0ff33); final Line l = generator.nextLine(); generator.reset(); generator.setSeed(0xc0ff33); final Line m = generator.nextLine(); generator.reset(); generator.setSeed(0xc0c0a); final Line n = generator.nextLine(); assertEquals(l.point, m.point); assertNotEquals(l.point, n.point); }