Lines Matching defs:unique
117 private static ArrayList<String> createStrings(int total, int unique) {
118 System.out.println("Creating strings: total=" + total + ", unique=" + unique);
119 if (total % unique != 0) {
120 throw new RuntimeException("Total must be divisible by unique");
124 for (int j = 0; j < total / unique; j++) {
125 for (int i = 0; i < unique; i++) {
134 * Verifies that the given list contains expected number of unique strings.
140 * @param uniqueExpected expected number of unique strings
147 ArrayList<Object> unique = new ArrayList<Object>(uniqueExpected);
151 for (Object obj: unique) {
159 unique.add(value);
164 ", uniqueFound=" + unique.size() +
167 if (unique.size() == uniqueExpected) {