Documentation of 'visad.data.netcdf.in.VirtualDataIterator' Java class
VirtualDataIterator
visad.data.netcdf.in

Class VirtualDataIterator



  • public abstract class VirtualDataIterator
    extends java.lang.Object
    Supports iteration over the virtual VisAD data objects in a netCDF dataset.
    • Constructor Summary

      Constructors 
      Constructor and Description
      VirtualDataIterator(View view)
      Constructs from a view of a netCDF dataset.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      View getNetcdf()
      Gets the view of the netCDF dataset.
      boolean hasNext()
      Indicates if there's another virtual VisAD data object.
      VirtualData next()
      Gets the next virtual VisAD data object.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VirtualDataIterator

        public VirtualDataIterator(View view)
        Constructs from a view of a netCDF dataset.
        Parameters:
        view - A view of a netCDF dataset.
    • Method Detail

      • hasNext

        public boolean hasNext()
                        throws VisADException,
                               java.io.IOException
        Indicates if there's another virtual VisAD data object.
        Returns:
        true <=> hasNext() will return the next virtual VisAD data object.
        Throws:
        VisADException - Couldn't create necessary VisAD object.
        java.io.IOException - I/O failure.
      • next

        public VirtualData next()
                         throws BadFormException,
                                java.util.NoSuchElementException,
                                VisADException,
                                java.io.IOException
        Gets the next virtual VisAD data object. The next object will be either a VirtualScalar, a VirtualField, or a VirtualFlatField.
        Returns:
        The next virtual VisAD data object.
        Throws:
        BadFormException - Non-conforming netCDF dataset.
        java.util.NoSuchElementException - No more virtual VisAD data objects.
        java.io.IOException - I/O failure.
        VisADException
      • getNetcdf

        public View getNetcdf()
        Gets the view of the netCDF dataset.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.