Class AbstractReaderList

java.lang.Object
noaa.coastwatch.io.AbstractReaderList
All Implemented Interfaces:
ReaderList
Direct Known Subclasses:
OpendapReaderList

public abstract class AbstractReaderList extends Object implements ReaderList
The AbstractReaderList class implements some of the more universal methods for a ReaderList.
Since:
3.2.1
Author:
Peter Hollemans
  • Constructor Details

    • AbstractReaderList

      public AbstractReaderList()
  • Method Details

    • getClosestIndex

      public int getClosestIndex(Date date)
      Description copied from interface: ReaderList
      Get the index of the reader closest in start date to the specified date.
      Specified by:
      getClosestIndex in interface ReaderList
      Parameters:
      date - the date to get the closest reader for.
      Returns:
      the reader index or -1 if none are found.