public void finish() { if (localIterator != null) localIterator.finish(); }
public void finish() { if (localIterator != null) localIterator.finish(); }
public void finish() { if (finished) return; orgIter.finish(); finishCalcBounds(); finished = true; }
public void finish() { if (finished) return; orgIter.finish(); finishCalcBounds(); finished = true; }
public void finish() { if (finished) return; if (pfIter != null) pfIter.finish(); finishCalcBounds(); if (currentDataset != null) try { currentDataset.close(); } catch (IOException e) { throw new RuntimeException(e); } finished = true; }
public void finish() { if (finished) return; if (pfIter != null) pfIter.finish(); finishCalcBounds(); if (currentDataset != null) try { currentDataset.close(); } catch (IOException e) { throw new RuntimeException(e); } finished = true; }
public void finish() { if (finished) return; if (pfIter != null) pfIter.finish(); finishCalcBounds(); if (currentDataset != null) try { currentDataset.close(); } catch (IOException e) { throw new RuntimeException(e); } finished = true; }
public void finish() { if (finished) return; if (pfIter != null) pfIter.finish(); finishCalcBounds(); if (currentDataset != null) try { currentDataset.close(); } catch (IOException e) { throw new RuntimeException(e); } finished = true; }
public void finish() { if (finished) return; if (pfiter != null) pfiter.finish(); collectionIter.finish(); finishCalcBounds(); finished = true; }
public void finish() { if (finished) return; if (pfiter != null) pfiter.finish(); collectionIter.finish(); finishCalcBounds(); finished = true; }
public void finish() { if (finished) return; if (pfIter != null) pfIter.finish(); finishCalcBounds(); if (currentDataset != null) try { currentDataset.close(); if (CompositeDatasetFactory.debug) System.out.printf("CompositeStationCollectionFlattened close dataset: %s%n", currentDataset.getLocation()); } catch (IOException e) { throw new RuntimeException(e); } finished = true; }
public void finish() { if (finished) return; if (pfIter != null) pfIter.finish(); finishCalcBounds(); if (currentDataset != null) try { currentDataset.close(); if (CompositeDatasetFactory.debug) System.out.printf("CompositeStationCollectionFlattened close dataset: %s%n", currentDataset.getLocation()); } catch (IOException e) { throw new RuntimeException(e); } finished = true; }
public void finish() { if (finished) return; if (pfIter != null) pfIter.finish(); if (currentDataset != null) try { currentDataset.close(); if (CompositeDatasetFactory.debug) System.out.printf("CompositeStationFeatureIterator close dataset: %s%n", currentDataset.getLocation()); } catch (IOException e) { throw new RuntimeException(e); } finishCalcBounds(); finished = true; //if (CompositeStationFeature.this.npts < 0) // LOOK needed ? // CompositeStationFeature.this.npts = getCount(); }
public void finish() { if (finished) return; if (pfIter != null) pfIter.finish(); if (currentDataset != null) try { currentDataset.close(); if (CompositeDatasetFactory.debug) System.out.printf("CompositeStationFeatureIterator close dataset: %s%n", currentDataset.getLocation()); } catch (IOException e) { throw new RuntimeException(e); } finishCalcBounds(); finished = true; //if (CompositeStationFeature.this.npts < 0) // LOOK needed ? // CompositeStationFeature.this.npts = getCount(); }
public void calcBounds() throws java.io.IOException { if ((dateRange != null) && (boundingBox != null) && (size() > 0)) return; PointFeatureIterator iter = getPointFeatureIterator(-1); iter.setCalculateBounds(this); try { while (iter.hasNext()) iter.next(); } finally { iter.finish(); } }
public void calcBounds() throws java.io.IOException { if ((dateRange != null) && (boundingBox != null) && (size() > 0)) return; PointFeatureIterator iter = getPointFeatureIterator(-1); iter.setCalculateBounds(this); try { while (iter.hasNext()) iter.next(); } finally { iter.finish(); } }
public boolean hasNext() throws IOException { if (pfIter == null) { pfIter = getNextIterator(); if (pfIter == null) { finish(); return false; } } if (!pfIter.hasNext()) { pfIter.finish(); currentDataset.close(); if (CompositeDatasetFactory.debug) System.out.printf("CompositeStationCollectionFlattened.Iterator close dataset: %s%n", currentDataset.getLocation()); pfIter = getNextIterator(); return hasNext(); } return true; }
public boolean hasNext() throws IOException { if (pfIter == null) { pfIter = getNextIterator(); if (pfIter == null) { finish(); return false; } } if (!pfIter.hasNext()) { pfIter.finish(); currentDataset.close(); if (CompositeDatasetFactory.debug) System.out.printf("CompositeStationFeatureIterator close dataset: %s%n", currentDataset.getLocation()); pfIter = getNextIterator(); return hasNext(); } return true; }
public boolean hasNext() throws IOException { if (pfIter == null) { pfIter = getNextIterator(); if (pfIter == null) { finish(); return false; } } if (!pfIter.hasNext()) { pfIter.finish(); currentDataset.close(); pfIter = getNextIterator(); return hasNext(); } return true; }
public boolean hasNext() throws IOException { if (pfIter == null) { pfIter = getNextIterator(); if (pfIter == null) { finish(); return false; } } if (!pfIter.hasNext()) { pfIter.finish(); currentDataset.close(); pfIter = getNextIterator(); return hasNext(); } return true; }