类 StructureDataDeep
- java.lang.Object
-
- org.meteoinfo.ndarray.StructureData
-
- org.meteoinfo.ndarray.StructureDataA
-
- org.meteoinfo.ndarray.StructureDataDeep
-
public class StructureDataDeep extends StructureDataA
Make a deep copy of an existing StructureData, so that all the data is contained in this object- 从以下版本开始:
- 6/19/2014
- 作者:
- caron
-
-
字段概要
-
从类继承的字段 org.meteoinfo.ndarray.StructureDataA
recno, sa
-
从类继承的字段 org.meteoinfo.ndarray.StructureData
EMPTY, members
-
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static StructureDataDeepcopy(StructureData sdata, StructureMembers members)Make deep copy from sdata to another StructureData object whose data is self containedstatic ArrayStructureBBcopyToArrayBB(ArrayStructureBak as, java.nio.ByteOrder bo, boolean canonical)Make deep copy from an ArrayStructure to a ArrayStructureBB whose data is contained in a ByteBufferstatic ArrayStructureBBcopyToArrayBB(StructureData sdata)Make deep copy from a StructureData to a ArrayStructureBB whose data is contained in a ByteBuffer.static intcopyToArrayBB(StructureData sdata, ArrayStructureBB abb)Make deep copy from a StructureData into the given ArrayStructureBBstatic ArrayStructureBBcopyToArrayBB(StructureData sdata, StructureMembers sm, java.nio.ByteOrder bo)Make deep copy from a StructureData to a ArrayStructureBB whose data is contained in a ByteBuffer-
从类继承的方法 org.meteoinfo.ndarray.StructureDataA
convertScalarDouble, convertScalarFloat, convertScalarInt, convertScalarLong, getArray, getArraySequence, getArrayStructure, getJavaArrayByte, getJavaArrayChar, getJavaArrayDouble, getJavaArrayFloat, getJavaArrayInt, getJavaArrayLong, getJavaArrayShort, getJavaArrayString, getScalarByte, getScalarChar, getScalarDouble, getScalarFloat, getScalarInt, getScalarLong, getScalarShort, getScalarString, getScalarStructure, showInternal
-
从类继承的方法 org.meteoinfo.ndarray.StructureData
convertScalarDouble, convertScalarFloat, convertScalarInt, convertScalarLong, findMember, getArray, getArraySequence, getArrayStructure, getJavaArrayByte, getJavaArrayChar, getJavaArrayDouble, getJavaArrayFloat, getJavaArrayInt, getJavaArrayLong, getJavaArrayShort, getJavaArrayString, getMembers, getName, getScalarByte, getScalarChar, getScalarDouble, getScalarFloat, getScalarInt, getScalarLong, getScalarObject, getScalarObject, getScalarShort, getScalarString, getScalarStructure, getStructureMembers, showInternalMembers, toString
-
-
-
-
方法详细资料
-
copy
public static StructureDataDeep copy(StructureData sdata, StructureMembers members)
Make deep copy from sdata to another StructureData object whose data is self contained- 参数:
sdata- original sdatamembers- the StructureData members. a reference is kept to this object- 返回:
- StructureData with all data self contained
-
copyToArrayBB
public static ArrayStructureBB copyToArrayBB(ArrayStructureBak as, java.nio.ByteOrder bo, boolean canonical) throws java.io.IOException
Make deep copy from an ArrayStructure to a ArrayStructureBB whose data is contained in a ByteBuffer- 参数:
as- original ArrayStructurebo- what byte order to use ? (null for any)canonical- packing must be canonical- 返回:
- ArrayStructureBB with all data self contained
- 抛出:
java.io.IOException
-
copyToArrayBB
public static ArrayStructureBB copyToArrayBB(StructureData sdata)
Make deep copy from a StructureData to a ArrayStructureBB whose data is contained in a ByteBuffer.- 参数:
sdata- original ArrayStructure.- 返回:
- ArrayStructureBB with all data self contained
-
copyToArrayBB
public static ArrayStructureBB copyToArrayBB(StructureData sdata, StructureMembers sm, java.nio.ByteOrder bo)
Make deep copy from a StructureData to a ArrayStructureBB whose data is contained in a ByteBuffer- 参数:
sdata- original ArrayStructuresm- the StructureData members. a reference is kept to this objectbo- Byte Order of the ByteBuffer- 返回:
- ArrayStructureBB with all data self contained
-
copyToArrayBB
public static int copyToArrayBB(StructureData sdata, ArrayStructureBB abb)
Make deep copy from a StructureData into the given ArrayStructureBB- 参数:
sdata- original data from hereabb- copy data into this ArrayStructureBB, starting from wherever the ByteBuffer current position is- 返回:
- number of bytes copied
-
-