Package io.jhdf.object.message
Class DataSpace
- java.lang.Object
-
- io.jhdf.object.message.DataSpace
-
public class DataSpace extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int[]
getDimensions()
int[]
getMaxSizes()
long
getTotalLength()
Gets the total number of elements in this dataspace.int
getType()
int
getVersion()
boolean
isMaxSizesPresent()
static DataSpace
readDataSpace(java.nio.ByteBuffer bb, Superblock sb)
-
-
-
Method Detail
-
readDataSpace
public static DataSpace readDataSpace(java.nio.ByteBuffer bb, Superblock sb)
-
getTotalLength
public long getTotalLength()
Gets the total number of elements in this dataspace.- Returns:
- the total number of elements in this dataspace
-
getType
public int getType()
-
getVersion
public int getVersion()
-
getDimensions
public int[] getDimensions()
-
getMaxSizes
public int[] getMaxSizes()
-
isMaxSizesPresent
public boolean isMaxSizesPresent()
-
-