Package gov.nasa.pds.objectAccess.array
Class ComplexDoubleAdapter
- java.lang.Object
- 
- gov.nasa.pds.objectAccess.array.DoubleAdapter
- 
- gov.nasa.pds.objectAccess.array.ComplexDoubleAdapter
 
 
- 
- All Implemented Interfaces:
- ComplexDataTypeAdapter,- DataTypeAdapter
 
 public class ComplexDoubleAdapter extends DoubleAdapter implements ComplexDataTypeAdapter 
- 
- 
Constructor SummaryConstructors Constructor Description ComplexDoubleAdapter(boolean isBigEndian)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetDouble(java.nio.ByteBuffer buf)Gets the value as a double.doublegetImagDouble(java.nio.ByteBuffer buf)Gets the imaginary value as a double.intgetImagInt(java.nio.ByteBuffer buf)Gets the imaginary value as an int.longgetImagLong(java.nio.ByteBuffer buf)Gets the imaginary value as a long.intgetInt(java.nio.ByteBuffer buf)Gets the value as an int.longgetLong(java.nio.ByteBuffer buf)Gets the value as a long.doublegetRealDouble(java.nio.ByteBuffer buf)Gets the real value as a double.intgetRealInt(java.nio.ByteBuffer buf)Gets the real value as an int.longgetRealLong(java.nio.ByteBuffer buf)Gets the real value as a long.- 
Methods inherited from class gov.nasa.pds.objectAccess.array.DoubleAdaptergetValue
 
- 
 
- 
- 
- 
Method Detail- 
getIntpublic int getInt(java.nio.ByteBuffer buf) Description copied from interface:DataTypeAdapterGets the value as an int.- Specified by:
- getIntin interface- DataTypeAdapter
- Overrides:
- getIntin class- DoubleAdapter
- Parameters:
- buf- the buffer from which to get the value
- Returns:
- the value, as an int
 
 - 
getLongpublic long getLong(java.nio.ByteBuffer buf) Description copied from interface:DataTypeAdapterGets the value as a long.- Specified by:
- getLongin interface- DataTypeAdapter
- Overrides:
- getLongin class- DoubleAdapter
- Parameters:
- buf- the buffer from which to get the value
- Returns:
- the value, as a long
 
 - 
getDoublepublic double getDouble(java.nio.ByteBuffer buf) Description copied from interface:DataTypeAdapterGets the value as a double.- Specified by:
- getDoublein interface- DataTypeAdapter
- Overrides:
- getDoublein class- DoubleAdapter
- Parameters:
- buf- the buffer from which to get the value
- Returns:
- the value, as a double
 
 - 
getImagIntpublic int getImagInt(java.nio.ByteBuffer buf) Description copied from interface:ComplexDataTypeAdapterGets the imaginary value as an int.- Specified by:
- getImagIntin interface- ComplexDataTypeAdapter
- Parameters:
- buf- the buffer from which to get the value
- Returns:
- the imaginary value, as an int
 
 - 
getImagLongpublic long getImagLong(java.nio.ByteBuffer buf) Description copied from interface:ComplexDataTypeAdapterGets the imaginary value as a long.- Specified by:
- getImagLongin interface- ComplexDataTypeAdapter
- Parameters:
- buf- the buffer from which to get the value
- Returns:
- the imaginary value, as a long
 
 - 
getImagDoublepublic double getImagDouble(java.nio.ByteBuffer buf) Description copied from interface:ComplexDataTypeAdapterGets the imaginary value as a double.- Specified by:
- getImagDoublein interface- ComplexDataTypeAdapter
- Parameters:
- buf- the buffer from which to get the value
- Returns:
- the imaginary value, as a double
 
 - 
getRealIntpublic int getRealInt(java.nio.ByteBuffer buf) Description copied from interface:ComplexDataTypeAdapterGets the real value as an int.- Specified by:
- getRealIntin interface- ComplexDataTypeAdapter
- Parameters:
- buf- the buffer from which to get the value
- Returns:
- the real value, as an int
 
 - 
getRealLongpublic long getRealLong(java.nio.ByteBuffer buf) Description copied from interface:ComplexDataTypeAdapterGets the real value as a long.- Specified by:
- getRealLongin interface- ComplexDataTypeAdapter
- Parameters:
- buf- the buffer from which to get the value
- Returns:
- the real value, as a long
 
 - 
getRealDoublepublic double getRealDouble(java.nio.ByteBuffer buf) Description copied from interface:ComplexDataTypeAdapterGets the real value as a double.- Specified by:
- getRealDoublein interface- ComplexDataTypeAdapter
- Parameters:
- buf- the buffer from which to get the value
- Returns:
- the real value, as a double
 
 
- 
 
-