100101102103104105106107108109110
try { minIndex = Math.max(minIndex, ds.getStartIndex()); maxIndex = Math.min(maxIndex, ds.getLastIndex()); } catch (UnsupportedOperation e) { } ds.addListener(this); } if (maxIndex == Long.MAX_VALUE) maxIndex = 0; minmaxOk=false; }
208209210211212213214215216217218
try { minIndex = Math.max(minIndex, ds.getStartIndex()); maxIndex = Math.min(maxIndex, ds.getLastIndex()); } catch (UnsupportedOperation e) { } ds.addListener(this); if (minIndex == Long.MIN_VALUE) minIndex = 0; } computeSortedOrder(); minmaxOk=false;
593594595596597598599600601602603
int n =in.readInt(); for (int i=0; i<n; ++i) { DataSource ds = DataSourcePool.global.readDataSource(in); mapperSources.add(ds); if (ds!=null) { ds.addListener(this); ds.addEndNotificationListener(this); } } }