Package gov.nasa.pds.objectAccess.array
Interface ComplexDataTypeAdapter
- All Superinterfaces:
DataTypeAdapter
- All Known Implementing Classes:
ComplexDoubleAdapter,ComplexFloatAdapter
-
Method Summary
Modifier and TypeMethodDescriptiondoublegetImagDouble(ByteBuffer buf) Gets the imaginary value as a double.intgetImagInt(ByteBuffer buf) Gets the imaginary value as an int.longgetImagLong(ByteBuffer buf) Gets the imaginary value as a long.doublegetRealDouble(ByteBuffer buf) Gets the real value as a double.intgetRealInt(ByteBuffer buf) Gets the real value as an int.longgetRealLong(ByteBuffer buf) Gets the real value as a long.Methods inherited from interface gov.nasa.pds.objectAccess.array.DataTypeAdapter
getDouble, getInt, getLong
-
Method Details
-
getImagInt
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
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
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
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
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
Gets the real value as a double.- Parameters:
buf- the buffer from which to get the value- Returns:
- the real value, as a double
-