コード例 #1
0
        ///<summary>
        ///Creates a shallow copy of the ArrayList.
        ///</summary>
        ///<returns>A shallow copy of the unit_nodeArrayList.</returns>
        public virtual unit_nodeArrayList clone()
        {
            unit_nodeArrayList al = new unit_nodeArrayList();

            al.arr = (System.Collections.ArrayList) this.arr.Clone();
            return(al);
        }
コード例 #2
0
        public unit_nodeArrayList GetRange(int index, int count)
        {
            System.Collections.ArrayList al   = arr.GetRange(index, count);
            unit_nodeArrayList           tnal = new unit_nodeArrayList();

            tnal.arr = al;
            return(tnal);
        }
コード例 #3
0
 ///<summary>
 ///Adds the elements of an unit_nodeArrayList to the end of the unit_nodeArrayList
 ///</summary>
 ///<param name="array_list">The unit_nodeArrayList whose elements should be added to the end of the ArrayList. The unit_nodeArrayList itself cannot be a null reference, but it can contain elements that are a null reference.<param>
 ///<returns>Return value is void</returns>
 public void AddRange(unit_nodeArrayList array_list)
 {
     arr.AddRange(array_list);
 }
コード例 #4
0
 public void SetRange(int index, unit_nodeArrayList tnarl)
 {
     SetRange(index, tnarl);
 }
コード例 #5
0
 ///<summary>
 ///Inserts the elements of a collection into the unit_nodeArrayList at the specified index.
 ///</summary>
 ///<param name="index">The zero-based index at which the new elements should be inserted.<param>
 ///<param name="array_list">The unit_nodeArrayList whose elements should be inserted into the unit_nodeArrayList. The unit_nodeArrayList itself cannot be a null reference, but it can contain elements that are a null reference.<param>
 ///<returns>Return value is void</returns>
 public void InsertRange(int index, unit_nodeArrayList array_list)
 {
     arr.InsertRange(index, array_list);
 }