Lines Matching refs:candidate
628 T candidate = i.next();
632 if (next.compareTo(candidate) < 0)
633 candidate = next;
635 return candidate;
665 T candidate = i.next();
669 if (comp.compare(next, candidate) < 0)
670 candidate = next;
672 return candidate;
698 T candidate = i.next();
702 if (next.compareTo(candidate) > 0)
703 candidate = next;
705 return candidate;
735 T candidate = i.next();
739 if (comp.compare(next, candidate) > 0)
740 candidate = next;
742 return candidate;
931 for (int candidate = 0; candidate <= maxCandidate; candidate++) {
932 for (int i=0, j=candidate; i<targetSize; i++, j++)
935 return candidate; // All elements of candidate matched target
940 for (int candidate = 0; candidate <= maxCandidate; candidate++) {
944 // Back up source iterator to next candidate
950 return candidate;
953 return -1; // No candidate matched the target
984 for (int candidate = maxCandidate; candidate >= 0; candidate--) {
985 for (int i=0, j=candidate; i<targetSize; i++, j++)
988 return candidate; // All elements of candidate matched target
995 for (int candidate = maxCandidate; candidate >= 0; candidate--) {
999 if (candidate != 0) {
1000 // Back up source iterator to next candidate
1007 return candidate;
1010 return -1; // No candidate matched the target
1439 * that the equality-candidate is Map.Entry and calls its
2793 * that the equality-candidate is Map.Entry and calls its