Documentation of 'visad.data.dods.Float32VectorAdapter' Java class
Float32VectorAdapter
visad.data.dods

Class Float32VectorAdapter



  • public final class Float32VectorAdapter
    extends FloatVectorAdapter
    Provides support for adapting a DODS Float32PrimitiveVector to the VisAD data-import context.

    Instances are immutable.

    • Constructor Detail

      • Float32VectorAdapter

        public Float32VectorAdapter(dods.dap.Float32PrimitiveVector vector,
                                    dods.dap.DAS das,
                                    VariableAdapterFactory factory)
                             throws VisADException,
                                    java.rmi.RemoteException
        Constructs from a DODS vector and a factory for creating DODS variable adapters.
        Parameters:
        vector - A DODS vector to be adapted.
        das - The DODS DAS in which the attribute table for the DODS vector is embedded.
        factory - A factory for creating adapters of DODS variables.
        Throws:
        VisADException - VisAD failure.
        java.rmi.RemoteException - Java RMI failure.
    • Method Detail

      • getFloats

        public float[] getFloats(dods.dap.PrimitiveVector vec,
                                 boolean copy)
        Returns the numeric values of a compatible DODS primitive vector.
        Parameters:
        vec - A DODS primitive vector that is compatible with the primitive vector used to construct this instance.
        copy - If true, then a copy is returned.
        Returns:
        The numeric values of the primitive vector.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.