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.
|
getValue
public int getInt(java.nio.ByteBuffer buf)
DataTypeAdapter
getInt
in interface DataTypeAdapter
getInt
in class FloatAdapter
buf
- the buffer from which to get the valuepublic long getLong(java.nio.ByteBuffer buf)
DataTypeAdapter
getLong
in interface DataTypeAdapter
getLong
in class FloatAdapter
buf
- the buffer from which to get the valuepublic double getDouble(java.nio.ByteBuffer buf)
DataTypeAdapter
getDouble
in interface DataTypeAdapter
getDouble
in class FloatAdapter
buf
- the buffer from which to get the valuepublic int getImagInt(java.nio.ByteBuffer buf)
ComplexDataTypeAdapter
getImagInt
in interface ComplexDataTypeAdapter
buf
- the buffer from which to get the valuepublic long getImagLong(java.nio.ByteBuffer buf)
ComplexDataTypeAdapter
getImagLong
in interface ComplexDataTypeAdapter
buf
- the buffer from which to get the valuepublic double getImagDouble(java.nio.ByteBuffer buf)
ComplexDataTypeAdapter
getImagDouble
in interface ComplexDataTypeAdapter
buf
- the buffer from which to get the valuepublic int getRealInt(java.nio.ByteBuffer buf)
ComplexDataTypeAdapter
getRealInt
in interface ComplexDataTypeAdapter
buf
- the buffer from which to get the valuepublic long getRealLong(java.nio.ByteBuffer buf)
ComplexDataTypeAdapter
getRealLong
in interface ComplexDataTypeAdapter
buf
- the buffer from which to get the valuepublic double getRealDouble(java.nio.ByteBuffer buf)
ComplexDataTypeAdapter
getRealDouble
in interface ComplexDataTypeAdapter
buf
- the buffer from which to get the valueCopyright © 2023 Planetary Data System. All rights reserved.