Lines Matching refs:CAP
89 static final int CAP = OBJECTS.length; // capacity of the CANDIDATE
90 static final int LAST = CAP - 1; // last possible array index
107 res = CANDIDATE.toArray(new String[CAP]);
114 a = new Object[CAP - 1]; // appears too small
120 a = new Object[CAP]; // appears to match
126 a = new Object[CAP + 1]; // appears too big
132 a = new Object[CAP - 2]; // appears too small
133 CANDIDATE.setSizeSequence(CAP, CAP - 1);
136 check(res.length == CAP - 1);
140 a = Arrays.copyOf(OBJECTS, CAP); // appears to match
141 CANDIDATE.setSizeSequence(CAP, CAP - 1);
147 a = new Object[CAP - 1]; // appears to match
148 CANDIDATE.setSizeSequence(CAP - 1, CAP);
154 a = new Object[CAP - 1]; // appears to match
155 CANDIDATE.setSizeSequence(CAP - 2, CAP - 1);
161 a = Arrays.copyOf(OBJECTS, CAP); // appears to match
162 CANDIDATE.setSizeSequence(CAP - 2, CAP - 1);
175 a = new Object[CAP - 1]; // appears too small
176 CANDIDATE.setSizeSequence(CAP, CAP - 1);
182 a = Arrays.copyOf(OBJECTS, CAP - 1); // appears too small
183 CANDIDATE.setSizeSequence(CAP, CAP - 2);