C# Class System.Collections.ArrayList.ArrayListAdapter

Inheritance: ArrayList
Show file Open project: runefs/Marvin

Public Methods

Method Description
Add ( object value ) : int
AddRange ( ICollection c ) : void
ArrayListAdapter ( IList adaptee ) : System.Runtime.InteropServices
BinarySearch ( int index, int count, object value, IComparer comparer ) : int
BinarySearch ( object value ) : int
BinarySearch ( object value, IComparer comparer ) : int
Clear ( ) : void
Clone ( ) : object
Contains ( object value ) : bool
CopyTo ( System array ) : void
CopyTo ( System array, int index ) : void
CopyTo ( int index, System array, int arrayIndex, int count ) : void
GetEnumerator ( ) : IEnumerator
GetEnumerator ( int index, int count ) : IEnumerator
GetRange ( int index, int count ) : ArrayList
IndexOf ( object value ) : int
IndexOf ( object value, int startIndex ) : int
IndexOf ( object value, int startIndex, int count ) : int
Insert ( int index, object value ) : void
InsertRange ( int index, ICollection c ) : void
LastIndexOf ( object value ) : int
LastIndexOf ( object value, int startIndex ) : int
LastIndexOf ( object value, int startIndex, int count ) : int
Remove ( object value ) : void
RemoveAt ( int index ) : void
RemoveRange ( int index, int count ) : void
Reverse ( ) : void
Reverse ( int index, int count ) : void
SetRange ( int index, ICollection c ) : void
Sort ( ) : void
Sort ( IComparer comparer ) : void
Sort ( int index, int count, IComparer comparer ) : void
ToArray ( Type elementType ) : Array
ToArray ( ) : object[]
TrimToSize ( ) : void
this ( int index ) : object

Private Methods

Method Description
QuickSort ( IList list, int left, int right, IComparer comparer ) : void

Quicksort for lists.

This function acts as both qsort() and partition().

Swap ( IList list, int x, int y ) : void

Swaps two items in a list at the specified indexes.

Method Details

Add() public method

public Add ( object value ) : int
value object
return int

AddRange() public method

public AddRange ( ICollection c ) : void
c ICollection
return void

ArrayListAdapter() public method

public ArrayListAdapter ( IList adaptee ) : System.Runtime.InteropServices
adaptee IList
return System.Runtime.InteropServices

BinarySearch() public method

public BinarySearch ( int index, int count, object value, IComparer comparer ) : int
index int
count int
value object
comparer IComparer
return int

BinarySearch() public method

public BinarySearch ( object value ) : int
value object
return int

BinarySearch() public method

public BinarySearch ( object value, IComparer comparer ) : int
value object
comparer IComparer
return int

Clear() public method

public Clear ( ) : void
return void

Clone() public method

public Clone ( ) : object
return object

Contains() public method

public Contains ( object value ) : bool
value object
return bool

CopyTo() public method

public CopyTo ( System array ) : void
array System
return void

CopyTo() public method

public CopyTo ( System array, int index ) : void
array System
index int
return void

CopyTo() public method

public CopyTo ( int index, System array, int arrayIndex, int count ) : void
index int
array System
arrayIndex int
count int
return void

GetEnumerator() public method

public GetEnumerator ( ) : IEnumerator
return IEnumerator

GetEnumerator() public method

public GetEnumerator ( int index, int count ) : IEnumerator
index int
count int
return IEnumerator

GetRange() public method

public GetRange ( int index, int count ) : ArrayList
index int
count int
return ArrayList

IndexOf() public method

public IndexOf ( object value ) : int
value object
return int

IndexOf() public method

public IndexOf ( object value, int startIndex ) : int
value object
startIndex int
return int

IndexOf() public method

public IndexOf ( object value, int startIndex, int count ) : int
value object
startIndex int
count int
return int

Insert() public method

public Insert ( int index, object value ) : void
index int
value object
return void

InsertRange() public method

public InsertRange ( int index, ICollection c ) : void
index int
c ICollection
return void

LastIndexOf() public method

public LastIndexOf ( object value ) : int
value object
return int

LastIndexOf() public method

public LastIndexOf ( object value, int startIndex ) : int
value object
startIndex int
return int

LastIndexOf() public method

public LastIndexOf ( object value, int startIndex, int count ) : int
value object
startIndex int
count int
return int

Remove() public method

public Remove ( object value ) : void
value object
return void

RemoveAt() public method

public RemoveAt ( int index ) : void
index int
return void

RemoveRange() public method

public RemoveRange ( int index, int count ) : void
index int
count int
return void

Reverse() public method

public Reverse ( ) : void
return void

Reverse() public method

public Reverse ( int index, int count ) : void
index int
count int
return void

SetRange() public method

public SetRange ( int index, ICollection c ) : void
index int
c ICollection
return void

Sort() public method

public Sort ( ) : void
return void

Sort() public method

public Sort ( IComparer comparer ) : void
comparer IComparer
return void

Sort() public method

public Sort ( int index, int count, IComparer comparer ) : void
index int
count int
comparer IComparer
return void

ToArray() public method

public ToArray ( Type elementType ) : Array
elementType Type
return Array

ToArray() public method

public ToArray ( ) : object[]
return object[]

TrimToSize() public method

public TrimToSize ( ) : void
return void

this() public method

public this ( int index ) : object
index int
return object