public void Add(int value) { if (Column0.Count == 0) Column0.Add(new List<int>()); Column0[0].Add(value); DBIndex i = new DBIndex(Column0[0].Count - 1); indexes.Add(i); if (Root == null) Root = new BTree<int>(ref Column0, indexes[indexes.Count - 1]); else Root.Add(indexes[indexes.Count - 1]); }
private List<IComparable> GetRow(DBIndex index) { List<IComparable> ret = new List<IComparable>(); for (int i = 0; i < Values.Length; i++) { ret.Add(Values[i][index.A][index.B]); } return ret; }