public class ComplexFloatAdapter extends FloatAdapter implements ComplexDataTypeAdapter
| Constructor and Description |
|---|
ComplexFloatAdapter(boolean isBigEndian) |
| Modifier and Type | Method and 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.
|
getValuepublic int getInt(java.nio.ByteBuffer buf)
DataTypeAdaptergetInt in interface DataTypeAdaptergetInt in class FloatAdapterbuf - the buffer from which to get the valuepublic long getLong(java.nio.ByteBuffer buf)
DataTypeAdaptergetLong in interface DataTypeAdaptergetLong in class FloatAdapterbuf - the buffer from which to get the valuepublic double getDouble(java.nio.ByteBuffer buf)
DataTypeAdaptergetDouble in interface DataTypeAdaptergetDouble in class FloatAdapterbuf - the buffer from which to get the valuepublic int getImagInt(java.nio.ByteBuffer buf)
ComplexDataTypeAdaptergetImagInt in interface ComplexDataTypeAdapterbuf - the buffer from which to get the valuepublic long getImagLong(java.nio.ByteBuffer buf)
ComplexDataTypeAdaptergetImagLong in interface ComplexDataTypeAdapterbuf - the buffer from which to get the valuepublic double getImagDouble(java.nio.ByteBuffer buf)
ComplexDataTypeAdaptergetImagDouble in interface ComplexDataTypeAdapterbuf - the buffer from which to get the valuepublic int getRealInt(java.nio.ByteBuffer buf)
ComplexDataTypeAdaptergetRealInt in interface ComplexDataTypeAdapterbuf - the buffer from which to get the valuepublic long getRealLong(java.nio.ByteBuffer buf)
ComplexDataTypeAdaptergetRealLong in interface ComplexDataTypeAdapterbuf - the buffer from which to get the valuepublic double getRealDouble(java.nio.ByteBuffer buf)
ComplexDataTypeAdaptergetRealDouble in interface ComplexDataTypeAdapterbuf - the buffer from which to get the valueCopyright © 2023 Planetary Data System. All rights reserved.