/// <summary> FastIntBuffer constructor comment.</summary> public FastIntBuffer() { size_Renamed_Field = 0; capacity = 0; pageSize = 1024; exp = 10; r = 1023; bufferArrayList = new ArrayList(); }
/// <summary> FastLongBuffer constructor comment.</summary> public FastLongBuffer() { size_Renamed_Field = 0; capacity = 0; pageSize = 1024; exp = 10; r = 1023; bufferArrayList = new ArrayList(); }
/// <summary> FastIntBuffer constructor comment.</summary> public FastObjectBuffer() { size_Renamed_Field = 0; capacity = 0; pageSize = 1024; exp = 10; r = 1023; bufferArrayList = new com.ximpleware.ArrayList(); }
/// <summary> Construct a FastLongBuffer instance with specified page size</summary> /// <param name="e">int (so that pageSize = (1<<e)) /// </param> public FastLongBuffer(int e) { if (e <= 0) { throw new System.ArgumentException(); } capacity = size_Renamed_Field = 0; pageSize = (1 << e); exp = e; r = pageSize - 1; bufferArrayList = new ArrayList(); }
/// <summary> Constructor with adjustable buffer page size of the value bfz</summary> /// <param name="bfz">int is the size of the internal buffer /// </param> public FastIntBuffer(int e) { if (e < 0) { throw new System.ArgumentException(); } capacity = size_Renamed_Field = 0; pageSize = 1 << e; exp = e; r = pageSize - 1; bufferArrayList = new ArrayList(); }
/// <summary> Construct a FastLongBuffer instance with specified page size</summary> /// <param name="e">int (so that pageSize = (1<<e)) /// </param> /// <param name="c">int (suggest initial capacity of ArrayList /// </param> public FastLongBuffer(int e, int c) { if (e <= 0) { throw new System.ArgumentException(); } capacity = size_Renamed_Field = 0; pageSize = (1 << e); exp = e; r = pageSize - 1; bufferArrayList = new ArrayList(c); }
/// <summary> Constructor with adjustable buffer page size of the value bfz</summary> /// <param name="bfz">int is the size of the internal buffer /// </param> public FastObjectBuffer(int e) { if (e < 0) { throw new System.ArgumentException(); } capacity = size_Renamed_Field = 0; pageSize = 1 << e; exp = e; r = pageSize - 1; bufferArrayList = new com.ximpleware.ArrayList(); }