3637383940414243444546
*/ public IntRangeSetBenchmark() { super( new IntSetFactory() { public IntSet create(int[] elements) { IntSet s = new IntRangeSet(elements); return s; } } ); }
36373839404142434445464748
*/ public IntChainedHashSetBenchmark() { super( new IntSetFactory() { public IntSet create(int[] elements) { IntSet s = new IntChainedHashSet(); for (int i = 0; i < elements.length; i++) s.add(elements[i]); return s; } } ); }
*/ public IntOpenHashSetBenchmark() { super( new IntSetFactory() { public IntSet create(int[] elements) { IntSet s = new IntOpenHashSet(); for (int i = 0; i < elements.length; i++) s.add(elements[i]); return s; } } ); }
*/ public IntBitSetBenchmark() { super( new IntSetFactory() { public IntSet create(int[] elements) { IntSet s = new IntBitSet(); for (int i = 0; i < elements.length; i++) s.add(elements[i]); return s; } } ); }