Package gov.nasa.pds.objectAccess.array
Interface ComplexDataTypeAdapter
-
- All Superinterfaces:
DataTypeAdapter
- All Known Implementing Classes:
ComplexDoubleAdapter
,ComplexFloatAdapter
public interface ComplexDataTypeAdapter extends DataTypeAdapter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.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 interface gov.nasa.pds.objectAccess.array.DataTypeAdapter
getDouble, getInt, getLong
-
-
-
-
Method Detail
-
getImagInt
int getImagInt(java.nio.ByteBuffer buf)
Gets the imaginary value as an int.- Parameters:
buf
- the buffer from which to get the value- Returns:
- the imaginary value, as an int
-
getImagLong
long getImagLong(java.nio.ByteBuffer buf)
Gets the imaginary value as a long.- Parameters:
buf
- the buffer from which to get the value- Returns:
- the imaginary value, as a long
-
getImagDouble
double getImagDouble(java.nio.ByteBuffer buf)
Gets the imaginary value as a double.- Parameters:
buf
- the buffer from which to get the value- Returns:
- the imaginary value, as a double
-
getRealInt
int getRealInt(java.nio.ByteBuffer buf)
Gets the real value as an int.- Parameters:
buf
- the buffer from which to get the value- Returns:
- the real value, as an int
-
getRealLong
long getRealLong(java.nio.ByteBuffer buf)
Gets the real value as a long.- Parameters:
buf
- the buffer from which to get the value- Returns:
- the real value, as a long
-
getRealDouble
double getRealDouble(java.nio.ByteBuffer buf)
Gets the real value as a double.- Parameters:
buf
- the buffer from which to get the value- Returns:
- the real value, as a double
-
-