Project

General

Profile

Array_skeleton.patch

Andrei Plugaru, 01/29/2026 09:57 AM

Download (2.53 KB)

View differences:

new/oo4gl/OpenEdge/Core/Collections/Array.cls 2026-01-29 14:30:33 +0000
1 1
class OpenEdge.Core.Collections.Array
2
	implements OpenEdge.Core.Collections.ICollection, 
3
		OpenEdge.Core.Collections.IIterable:
2
	implements OpenEdge.Core.Collections.IList:
4 3

  
5 4
	constructor public Array ( piSize as integer):
6 5
	end.
......
11 10
	constructor public Array ():
12 11
	end.
13 12

  
14
	define public static variable DefaultArraySize as integer no-undo.
15

  
13
     constructor static Array():
14
    end.
15
    
16
    destructor Array():
17
    end.
18
    
19
    define public static property DefaultArraySize as integer no-undo
20
     get.
21
     set.
22
    
16 23
	define public property AutoExpand as logical no-undo
17 24
		public get.
18 25
		public set.
......
82 89

  
83 90
	method protected void CloneElements ( poClone as OpenEdge.Core.Collections.ICollection):
84 91
	end.
85

  
92
    
93
    method protected void InsertElement (input pIndex as integer,
94
                                        input pElement as Progress.Lang.Object):
95
    end.
96
    
97
    method protected void InsertElements(input pIndex as integer,
98
                                         input pElement as Progress.Lang.Object extent):
99
    end.
100
    
101
    method public logical Add(input pIndex as integer,
102
                              input pElement as Progress.Lang.Object):
103
    end.
104
    
105
    method public logical AddAll(input pIndex as integer,
106
                                 input pCollection as ICollection):
107
    end.  
108
    
109
    method public logical AddArray(input pIndex as integer,
110
                                   input pArray as Progress.Lang.Object extent):
111
    end.
112
    
113
    method public Progress.Lang.Object Get(input pIndex as integer ):
114
    end.
115
    
116
    method public integer IndexOf( input pElement as Progress.Lang.Object ):
117
    end.
118
    
119
    method public IListIterator ListIterator():
120
    end.
121
    
122
    method public IListIterator ListIterator(input pIndex as integer):
123
    end.
124
    
125
    method public integer LastIndexOf(input pElement as Progress.Lang.Object):
126
    end.
127
    
128
    method public Progress.Lang.Object Remove(input pIndex as integer):
129
    end.
130
    
131
    method public IList SubList(input pFromIndex as integer,
132
                                input pToIndex as integer):
133
    end.
134
    
135
    method public override logical Equals(o as Object):
136
    end.
86 137
end.