Rev | Line | |
---|
[557] | 1 |
|
---|
| 2 | Namespace System
|
---|
| 3 | Namespace Collections
|
---|
| 4 | Namespace Generic
|
---|
| 5 |
|
---|
| 6 | Interface IEnumerable<T>
|
---|
| 7 | ' Method
|
---|
| 8 | Function GetEnumerator () As IEnumerator<T>
|
---|
| 9 | End Interface
|
---|
| 10 |
|
---|
| 11 | Interface IEnumerator<T>
|
---|
| 12 | ' Methods
|
---|
| 13 | Function MoveNext () As Boolean
|
---|
| 14 | Sub Reset()
|
---|
| 15 | ' Property
|
---|
| 16 | Function Current () As T
|
---|
| 17 | End Interface
|
---|
| 18 |
|
---|
| 19 |
|
---|
| 20 | Class ICollection<T>
|
---|
| 21 | Implements IEnumerable<T>, IEnumerator<T>
|
---|
| 22 | Public
|
---|
| 23 | ' Property
|
---|
[577] | 24 | Abstract Function Count() As Long
|
---|
| 25 | Abstract Function IsReadOnly() As Boolean
|
---|
[557] | 26 |
|
---|
| 27 | ' Methods
|
---|
[577] | 28 | Abstract Sub Add ( item As T )
|
---|
| 29 | Abstract Sub Clear ()
|
---|
| 30 | ' Abstract Function Contains ( item As T ) As Boolean
|
---|
| 31 | ' Abstract Sub CopyTo (ByRef array As List<T>, arrayIndex As Long )
|
---|
| 32 | Abstract Function Remove ( item As T ) As Boolean
|
---|
[557] | 33 | End Class
|
---|
| 34 |
|
---|
| 35 |
|
---|
| 36 | Class IList<T>
|
---|
| 37 | Inherits ICollection<T>
|
---|
| 38 | Public
|
---|
| 39 | ' Property
|
---|
[577] | 40 | Abstract Sub Operator[] ( index As Long, item As T )
|
---|
| 41 | Abstract Function Operator[] ( index As Long ) As T
|
---|
| 42 |
|
---|
[557] | 43 | ' Methods
|
---|
[577] | 44 | Abstract Function IndexOf ( item As T ) As Long
|
---|
| 45 | Abstract Sub Insert ( index As Long, item As T )
|
---|
| 46 | Abstract Sub RemoveAt( index As Long )
|
---|
[557] | 47 | End Class
|
---|
| 48 |
|
---|
[577] | 49 | Namespace Details
|
---|
| 50 |
|
---|
| 51 | Interface ICollection<T>
|
---|
| 52 | ' Property
|
---|
| 53 | Function Count() As Long
|
---|
| 54 | '/*Const*/ Function IsSynchronized() As Boolean
|
---|
| 55 | ' Function SyncRoot() As ...
|
---|
| 56 | End Interface
|
---|
| 57 |
|
---|
[557] | 58 | End Namespace
|
---|
[577] | 59 |
|
---|
| 60 |
|
---|
[557] | 61 | End Namespace
|
---|
| 62 | End Namespace
|
---|
[577] | 63 | End Namespace
|
---|
Note:
See
TracBrowser
for help on using the repository browser.