Lines 1-5
Link Here
|
1 |
/******************************************************************************* |
1 |
/******************************************************************************* |
2 |
* Copyright (c) 2008 IBM Corporation and others. |
2 |
* Copyright (c) 2008, 2009 IBM Corporation and others. |
3 |
* All rights reserved. This program and the accompanying materials |
3 |
* All rights reserved. This program and the accompanying materials |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
5 |
* which accompanies this distribution, and is available at |
5 |
* which accompanies this distribution, and is available at |
Lines 39-45
Link Here
|
39 |
*/ |
39 |
*/ |
40 |
public void testCollator(){ |
40 |
public void testCollator(){ |
41 |
Comparator comparator=Policy.getComparator(); |
41 |
Comparator comparator=Policy.getComparator(); |
42 |
for (int i = 0; i <250; i++) { |
42 |
for (int i = 0; i < 15; i++) { |
43 |
String[] array=(String[]) fArray.clone(); |
43 |
String[] array=(String[]) fArray.clone(); |
44 |
startMeasuring(); |
44 |
startMeasuring(); |
45 |
Arrays.sort(array, comparator); |
45 |
Arrays.sort(array, comparator); |