Lines Matching defs:to
16 * contributors may be used to endorse or promote products derived
33 * This source code is provided to illustrate the usage of a given feature
56 * A sorter for TableModels. The sorter has a model (conforming to TableModel)
63 * getValueAt(row, col) it redirects them to its model via the mapping
64 * array. That way the TableSorter appears to hold another copy of the table
67 * function returns 0 to denote that they are equivalent.
112 an optimised model is reusing one object to return many values.
114 in this way but other subclasses of Number might want to do this to save
246 // to research - it may perform poorly in some circumstances. It
249 // arrays. The number of compares appears to vary between N-1 and
252 public void shuttlesort(int from[], int to[], int low, int high) {
257 shuttlesort(to, from, low, middle);
258 shuttlesort(to, from, middle, high);
264 check to see if the elements in this subset are already
273 sequence of steps. This optimisation seems to be worthwhile
274 for partially ordered lists but some analysis is needed to
275 find out how the performance drops to Nlog(N) as the initial
279 System.arraycopy(from, low, to, low, high - low);
287 to[i] = from[p++];
289 to[i] = from[q++];
301 // Pass all requests to these rows through the mapping array: "indexes".
326 // There is no-where else to put this.
327 // Add a mouse listener to the Table to trigger a table sort