Class ComplexFloatAdapter

    • Constructor Summary

      Constructors 
      Constructor Description
      ComplexFloatAdapter​(boolean isBigEndian)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getDouble​(java.nio.ByteBuffer buf)
      Gets the value as a double.
      double getImagDouble​(java.nio.ByteBuffer buf)
      Gets the imaginary value as a double.
      int getImagInt​(java.nio.ByteBuffer buf)
      Gets the imaginary value as an int.
      long getImagLong​(java.nio.ByteBuffer buf)
      Gets the imaginary value as a long.
      int getInt​(java.nio.ByteBuffer buf)
      Gets the value as an int.
      long getLong​(java.nio.ByteBuffer buf)
      Gets the value as a long.
      double getRealDouble​(java.nio.ByteBuffer buf)
      Gets the real value as a double.
      int getRealInt​(java.nio.ByteBuffer buf)
      Gets the real value as an int.
      long getRealLong​(java.nio.ByteBuffer buf)
      Gets the real value as a long.
      • Methods inherited from class java.lang.Object

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

      • ComplexFloatAdapter

        public ComplexFloatAdapter​(boolean isBigEndian)
    • Method Detail

      • getInt

        public int getInt​(java.nio.ByteBuffer buf)
        Description copied from interface: DataTypeAdapter
        Gets the value as an int.
        Specified by:
        getInt in interface DataTypeAdapter
        Overrides:
        getInt in class FloatAdapter
        Parameters:
        buf - the buffer from which to get the value
        Returns:
        the value, as an int
      • getLong

        public long getLong​(java.nio.ByteBuffer buf)
        Description copied from interface: DataTypeAdapter
        Gets the value as a long.
        Specified by:
        getLong in interface DataTypeAdapter
        Overrides:
        getLong in class FloatAdapter
        Parameters:
        buf - the buffer from which to get the value
        Returns:
        the value, as a long
      • getDouble

        public double getDouble​(java.nio.ByteBuffer buf)
        Description copied from interface: DataTypeAdapter
        Gets the value as a double.
        Specified by:
        getDouble in interface DataTypeAdapter
        Overrides:
        getDouble in class FloatAdapter
        Parameters:
        buf - the buffer from which to get the value
        Returns:
        the value, as a double
      • getImagInt

        public int getImagInt​(java.nio.ByteBuffer buf)
        Description copied from interface: ComplexDataTypeAdapter
        Gets the imaginary value as an int.
        Specified by:
        getImagInt in interface ComplexDataTypeAdapter
        Parameters:
        buf - the buffer from which to get the value
        Returns:
        the imaginary value, as an int
      • getImagLong

        public long getImagLong​(java.nio.ByteBuffer buf)
        Description copied from interface: ComplexDataTypeAdapter
        Gets the imaginary value as a long.
        Specified by:
        getImagLong in interface ComplexDataTypeAdapter
        Parameters:
        buf - the buffer from which to get the value
        Returns:
        the imaginary value, as a long
      • getImagDouble

        public double getImagDouble​(java.nio.ByteBuffer buf)
        Description copied from interface: ComplexDataTypeAdapter
        Gets the imaginary value as a double.
        Specified by:
        getImagDouble in interface ComplexDataTypeAdapter
        Parameters:
        buf - the buffer from which to get the value
        Returns:
        the imaginary value, as a double
      • getRealInt

        public int getRealInt​(java.nio.ByteBuffer buf)
        Description copied from interface: ComplexDataTypeAdapter
        Gets the real value as an int.
        Specified by:
        getRealInt in interface ComplexDataTypeAdapter
        Parameters:
        buf - the buffer from which to get the value
        Returns:
        the real value, as an int
      • getRealLong

        public long getRealLong​(java.nio.ByteBuffer buf)
        Description copied from interface: ComplexDataTypeAdapter
        Gets the real value as a long.
        Specified by:
        getRealLong in interface ComplexDataTypeAdapter
        Parameters:
        buf - the buffer from which to get the value
        Returns:
        the real value, as a long
      • getRealDouble

        public double getRealDouble​(java.nio.ByteBuffer buf)
        Description copied from interface: ComplexDataTypeAdapter
        Gets the real value as a double.
        Specified by:
        getRealDouble in interface ComplexDataTypeAdapter
        Parameters:
        buf - the buffer from which to get the value
        Returns:
        the real value, as a double