TestBucket.java 351 B

12345678910111213141516
  1. package oram;
  2. import java.util.Random;
  3. public class TestBucket {
  4. public static void main(String[] args) {
  5. int[] tupleParams = new int[] { 1, 2, 3, 4 };
  6. Random rand = new Random();
  7. Bucket bucket = new Bucket(6, tupleParams, null);
  8. System.out.println(bucket);
  9. bucket = new Bucket(6, tupleParams, rand);
  10. System.out.println(bucket);
  11. }
  12. }