类 NpyHeaderDict.Builder
- java.lang.Object
-
- org.meteoinfo.ndarray.io.npy.dict.NpyHeaderDict.Builder
-
- 封闭类:
- NpyHeaderDict
public static class NpyHeaderDict.Builder extends Object
-
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 NpyHeaderDictcreate()NpyHeaderDict.BuilderwithByteOrder(NpyByteOrder byteOrder)NpyHeaderDict.BuilderwithFortranOrder(boolean b)NpyHeaderDict.BuilderwithOtherProperty(String key, String value)NpyHeaderDict.BuilderwithShape(int[] shape)NpyHeaderDict.BuilderwithTypeSize(int typeSize)Set the size of the stored type.
-
-
-
方法详细资料
-
withShape
public NpyHeaderDict.Builder withShape(int[] shape)
-
withByteOrder
public NpyHeaderDict.Builder withByteOrder(NpyByteOrder byteOrder)
-
withFortranOrder
public NpyHeaderDict.Builder withFortranOrder(boolean b)
-
withTypeSize
public NpyHeaderDict.Builder withTypeSize(int typeSize)
Set the size of the stored type. This field must be set when the stored data type is a string. In this case the size of the type is the number of characters of the string.- 参数:
typeSize- the size of the stored type- 返回:
- this builder
-
withOtherProperty
public NpyHeaderDict.Builder withOtherProperty(String key, String value)
-
create
public NpyHeaderDict create()
-
-