Package gov.nasa.pds.objectAccess.array
Interface DataTypeAdapter
- 
- All Known Subinterfaces:
- ComplexDataTypeAdapter
 - All Known Implementing Classes:
- ComplexDoubleAdapter,- ComplexFloatAdapter,- DoubleAdapter,- FloatAdapter,- IntegerAdapter
 
 public interface DataTypeAdapterDefines an interface for getting a data type in various formats.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description doublegetDouble(java.nio.ByteBuffer buf)Gets the value as a double.intgetInt(java.nio.ByteBuffer buf)Gets the value as an int.longgetLong(java.nio.ByteBuffer buf)Gets the value as a long.
 
- 
- 
- 
Method Detail- 
getIntint getInt(java.nio.ByteBuffer buf) Gets the value as an int.- Parameters:
- buf- the buffer from which to get the value
- Returns:
- the value, as an int
 
 - 
getLonglong getLong(java.nio.ByteBuffer buf) Gets the value as a long.- Parameters:
- buf- the buffer from which to get the value
- Returns:
- the value, as a long
 
 - 
getDoubledouble getDouble(java.nio.ByteBuffer buf) Gets the value as a double.- Parameters:
- buf- the buffer from which to get the value
- Returns:
- the value, as a double
 
 
- 
 
-