|
Last change
on this file since 674 was 582, checked in by イグトランス (egtra), 17 years ago |
|
非Genericコレクションインタフェースの扱いを大幅に縮小。Queue/Stackの実装インタフェースの修正。
|
|
File size:
950 bytes
|
| Line | |
|---|
| 1 | ' Classes/System/Collections/misc.ab
|
|---|
| 2 |
|
|---|
| 3 | Namespace System
|
|---|
| 4 | Namespace Collections
|
|---|
| 5 |
|
|---|
| 6 | Interface IEnumerable
|
|---|
| 7 | ' Method
|
|---|
| 8 | Function GetEnumerator() As IEnumerator
|
|---|
| 9 | End Interface
|
|---|
| 10 |
|
|---|
| 11 | Interface IEnumerator
|
|---|
| 12 | ' Methods
|
|---|
| 13 | Function MoveNext() As Boolean
|
|---|
| 14 | Sub Reset()
|
|---|
| 15 | ' Property
|
|---|
| 16 | Function Current() As Object
|
|---|
| 17 | End Interface
|
|---|
| 18 |
|
|---|
| 19 | Interface 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)
|
|---|
| 34 | End Interface
|
|---|
| 35 |
|
|---|
| 36 | End Namespace 'Collections
|
|---|
| 37 | End Namespace 'System
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.