- Timestamp:
- Aug 16, 2008, 1:25:04 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/ablib/src/Classes/System/Collections/Generic/misc.ab
r582 r592 19 19 20 20 21 Class ICollection<T> 22 Implements IEnumerable<T> 23 Public 21 Interface ICollection<T> 22 Inherits IEnumerable<T> 24 23 ' Property 25 AbstractFunction Count() As Long26 AbstractFunction IsReadOnly() As Boolean24 Function Count() As Long 25 Function IsReadOnly() As Boolean 27 26 28 27 ' Methods 29 AbstractSub Add ( item As T )30 AbstractSub Clear ()31 ' AbstractFunction Contains ( item As T ) As Boolean32 ' AbstractSub CopyTo (ByRef array As List<T>, arrayIndex As Long )33 AbstractFunction Remove ( item As T ) As Boolean34 End Class28 Sub Add ( item As T ) 29 Sub Clear () 30 ' Function Contains ( item As T ) As Boolean 31 ' Sub CopyTo (ByRef array As List<T>, arrayIndex As Long ) 32 Function Remove ( item As T ) As Boolean 33 End Interface 35 34 36 35 37 ClassIList<T>36 Interface IList<T> 38 37 Inherits ICollection<T> 39 Public40 38 ' Property 41 AbstractSub Operator[] ( index As Long, item As T )42 AbstractFunction Operator[] ( index As Long ) As T39 ' Sub Operator[] ( index As Long, item As T ) 40 ' Function Operator[] ( index As Long ) As T 43 41 44 AbstractSub Item ( index As Long, item As T )45 AbstractFunction Item ( index As Long ) As T42 Sub Item ( index As Long, item As T ) 43 Function Item ( index As Long ) As T 46 44 47 Abstract Function IndexOf ( item As T ) As Long 48 Abstract Sub Insert ( index As Long, item As T ) 49 Abstract Sub RemoveAt( index As Long ) 50 End Class 51 52 Namespace Details 53 54 Interface ICollection<T> 55 ' Property 56 Function Count() As Long 57 '/*Const*/ Function IsSynchronized() As Boolean 58 ' Function SyncRoot() As ... 45 Function IndexOf ( item As T ) As Long 46 Sub Insert ( index As Long, item As T ) 47 Sub RemoveAt( index As Long ) 59 48 End Interface 60 61 End Namespace62 63 49 64 50 End Namespace
Note:
See TracChangeset
for help on using the changeset viewer.