Lines Matching defs:sorted
34 /** whether the values are currently sorted */
35 private boolean sorted;
94 sorted = true;
122 if (sorted != otherList.sorted) {
199 sorted = false;
221 if (sorted && (size > 1)) {
222 sorted = (value >= values[size - 2]);
246 sorted = sorted
360 if (!sorted) {
362 sorted = true;
369 * sorted or a linear search if not.
382 * Performs a binary search on a sorted list, returning the index of
385 * If the list is not sorted, then reverts to linear search and returns
395 if (!sorted) {
442 * This will do a binary search if the list is sorted or a linear