Ejemplo n.º 1
0
 /// <summary> FastIntBuffer constructor comment.</summary>
 public FastIntBuffer()
 {
     size_Renamed_Field = 0;
     capacity           = 0;
     pageSize           = 1024;
     exp             = 10;
     r               = 1023;
     bufferArrayList = new ArrayList();
 }
Ejemplo n.º 2
0
 /// <summary> FastLongBuffer constructor comment.</summary>
 public FastLongBuffer()
 {
     size_Renamed_Field = 0;
     capacity = 0;
     pageSize = 1024;
     exp = 10;
     r = 1023;
     bufferArrayList = new ArrayList();
 }
Ejemplo n.º 3
0
 /// <summary> FastIntBuffer constructor comment.</summary>
 public FastObjectBuffer()
 {
     size_Renamed_Field = 0;
     capacity           = 0;
     pageSize           = 1024;
     exp             = 10;
     r               = 1023;
     bufferArrayList = new com.ximpleware.ArrayList();
 }
Ejemplo n.º 4
0
 /// <summary> FastIntBuffer constructor comment.</summary>
 public FastObjectBuffer()
 {
     size_Renamed_Field = 0;
     capacity = 0;
     pageSize = 1024;
     exp = 10;
     r = 1023;
     bufferArrayList = new com.ximpleware.ArrayList();
 }
Ejemplo n.º 5
0
 /// <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();
 }
Ejemplo n.º 6
0
 /// <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();
 }
Ejemplo n.º 7
0
 /// <summary> Construct a FastLongBuffer instance with specified page size</summary>
 /// <param name="e">int (so that pageSize = (1&lt;&lt;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);
 }
Ejemplo n.º 8
0
 /// <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();
 }