source: trunk/ab5.0/ablib/src/Classes/System/Collections/misc.ab@ 582

Last change on this file since 582 was 582, checked in by イグトランス (egtra), 16 years ago

非Genericコレクションインタフェースの扱いを大幅に縮小。Queue/Stackの実装インタフェースの修正。

File size: 950 bytes
Line 
1' Classes/System/Collections/misc.ab
2
3Namespace System
4Namespace Collections
5
6Interface IEnumerable
7 ' Method
8 Function GetEnumerator() As IEnumerator
9End Interface
10
11Interface IEnumerator
12 ' Methods
13 Function MoveNext() As Boolean
14 Sub Reset()
15 ' Property
16 Function Current() As Object
17End Interface
18
19Interface IList
20 'Inherits /*, IEnumerable */
21 ' Methods
22 'Function Add(value As *Object) As Long
23 'Sub Clear()
24 '/*Const*/ Function Contains(value As *Object) As Boolean
25 /*Const*/ Function IndexOf(value As Object) As Long
26 Sub Insert(index As Long, value As Object)
27 Sub Remove(value As Object)
28 Sub RemoveAt(index As Long)
29 ' Properties
30 /*Const*/ Function IsFixedSize() As Boolean
31 /*Const*/ Function IsReadOnly() As Boolean
32 '/*Const*/ Function Operator [](index As Long) As *Object
33 '/*Const*/ Sub Operator []=(index As Long, obj As *Object)
34End Interface
35
36End Namespace 'Collections
37End Namespace 'System
Note: See TracBrowser for help on using the repository browser.