Package gov.nasa.pds.objectAccess.array
Class ElementType
- java.lang.Object
- 
- gov.nasa.pds.objectAccess.array.ElementType
 
- 
 public class ElementType extends java.lang.ObjectImplements an object that represents the type of an array element.
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DataTypeAdaptergetAdapter()Gets the data type adapter for the element type.intgetSize()Gets the element size.static ElementTypegetTypeForName(java.lang.String typeName)Gets the element type for a given type name.
 
- 
- 
- 
Method Detail- 
getTypeForNamepublic static ElementType getTypeForName(java.lang.String typeName) Gets the element type for a given type name.- Parameters:
- typeName- the type name
- Returns:
- the element type for that type name
 
 - 
getSizepublic int getSize() Gets the element size.- Returns:
- the number of bytes for the element
 
 - 
getAdapterpublic DataTypeAdapter getAdapter() Gets the data type adapter for the element type.- Returns:
- the data type adapter
 
 
- 
 
-