internal ListArray(ListArray <T> listArray) { _list = new T[listArray._list.Length]; for (int i = 0; i < _list.Length; i++) { _list[i] = listArray._list[i]; } _count = listArray._count; }
/// <summary>Constructs a Order_ListArray.</summary> /// <param name="compare">The soring technique used by this data structure.</param> public OrderListArray(Compare <T> compare) { this._compare = compare; this._list = new ListArray <T>(); }
/// <summary>Constructs a Order_ListArray.</summary> public OrderListArray() { this._compare = Towel.Compare.Default; this._list = new ListArray <T>(); }
internal ListArray(ListArray <T> listArray) { _list = new T[listArray._list.Length]; listArray._list.CopyTo(_list); _count = listArray._count; }
/// <summary>Constructs a Order_ListArray.</summary> /// <param name="compare">The soring technique used by this data structure.</param> public OrderListArray(Func <T, T, CompareResult> compare) { this._compare = compare; this._list = new ListArray <T>(); }
/// <summary>Constructs a Order_ListArray.</summary> public OrderListArray() { this._compare = Comparison; this._list = new ListArray <T>(); }
internal ListArray(ListArray <T> list) { _array = (T[])list._array.Clone(); _count = list._count; }