equal
deleted
inserted
replaced
31 * @author Josh Bloch |
31 * @author Josh Bloch |
32 * @key randomness |
32 * @key randomness |
33 */ |
33 */ |
34 |
34 |
35 import java.util.Random; |
35 import java.util.Random; |
|
36 import jdk.testlibrary.RandomFactory; |
36 import static java.lang.Long.*; |
37 import static java.lang.Long.*; |
37 |
38 |
38 public class BitTwiddle { |
39 public class BitTwiddle { |
39 private static final int N = 1000; // # of repetitions per test |
40 private static final int N = 1000; // # of repetitions per test |
40 |
41 |