C# Class System.Collections.SortedList

Inheritance: IDictionary, ICollection, IEnumerable, ICloneable
Mostra file Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
Add ( Object key, Object value ) : void
Add ( object key, object value ) : void
Clear ( ) : void
Clone ( ) : Object
Clone ( ) : object
Contains ( Object key ) : bool
Contains ( object key ) : bool
ContainsKey ( Object key ) : bool
ContainsKey ( object key ) : bool
ContainsValue ( Object value ) : bool
ContainsValue ( object value ) : bool
CopyTo ( Array array, int arrayIndex ) : void
CopyTo ( System array, int arrayIndex ) : void
GetByIndex ( int index ) : Object
GetByIndex ( int index ) : object
GetEnumerator ( ) : IDictionaryEnumerator
GetEnumerator ( ) : System.Collections.IDictionaryEnumerator
GetKey ( int index ) : Object
GetKey ( int index ) : object
GetKeyList ( ) : IList
GetKeyList ( ) : System.Collections.IList
GetValueList ( ) : IList
GetValueList ( ) : System.Collections.IList
IndexOfKey ( Object key ) : int
IndexOfKey ( object key ) : int
IndexOfValue ( Object value ) : int
IndexOfValue ( object value ) : int
Remove ( Object key ) : void
Remove ( object key ) : void
RemoveAt ( int index ) : void
SetByIndex ( int index, Object value ) : void
SetByIndex ( int index, object value ) : void
SortedList ( )
SortedList ( System comparer )
SortedList ( System d, System comparer )
SortedList ( System comparer, int capacity )
SortedList ( int initialCapacity )
SortedList ( ) : System.Diagnostics
SortedList ( IComparer comparer ) : System.Diagnostics
SortedList ( IComparer comparer, int capacity ) : System.Diagnostics
SortedList ( IDictionary d ) : System.Diagnostics
SortedList ( IDictionary d, IComparer comparer ) : System.Diagnostics
SortedList ( int initialCapacity ) : System.Diagnostics
Synchronized ( SortedList list ) : SortedList
Synchronized ( System list ) : System.Collections.SortedList
TrimToSize ( ) : void
this ( Object key ) : Object
this ( object key ) : object

Private Methods

Method Description
EnsureCapacity ( int min ) : void
IEnumerable ( ) : IEnumerator
Init ( ) : void
Insert ( int index, Object key, Object value ) : void
System ( ) : System.Collections.IEnumerator
ToKeyValuePairsArray ( ) : System.Collections.KeyValuePairs[]

Method Details

Add() public method

public Add ( Object key, Object value ) : void
key Object
value Object
return void

Add() public method

public Add ( object key, object value ) : void
key object
value object
return void

Clear() public method

public Clear ( ) : void
return void

Clone() public method

public Clone ( ) : Object
return Object

Clone() public method

public Clone ( ) : object
return object

Contains() public method

public Contains ( Object key ) : bool
key Object
return bool

Contains() public method

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

ContainsKey() public method

public ContainsKey ( Object key ) : bool
key Object
return bool

ContainsKey() public method

public ContainsKey ( object key ) : bool
key object
return bool

ContainsValue() public method

public ContainsValue ( Object value ) : bool
value Object
return bool

ContainsValue() public method

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

CopyTo() public method

public CopyTo ( Array array, int arrayIndex ) : void
array System.Array
arrayIndex int
return void

CopyTo() public method

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

GetByIndex() public method

public GetByIndex ( int index ) : Object
index int
return Object

GetByIndex() public method

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

GetEnumerator() public method

public GetEnumerator ( ) : IDictionaryEnumerator
return IDictionaryEnumerator

GetEnumerator() public method

public GetEnumerator ( ) : System.Collections.IDictionaryEnumerator
return System.Collections.IDictionaryEnumerator

GetKey() public method

public GetKey ( int index ) : Object
index int
return Object

GetKey() public method

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

GetKeyList() public method

public GetKeyList ( ) : IList
return IList

GetKeyList() public method

public GetKeyList ( ) : System.Collections.IList
return System.Collections.IList

GetValueList() public method

public GetValueList ( ) : IList
return IList

GetValueList() public method

public GetValueList ( ) : System.Collections.IList
return System.Collections.IList

IndexOfKey() public method

public IndexOfKey ( Object key ) : int
key Object
return int

IndexOfKey() public method

public IndexOfKey ( object key ) : int
key object
return int

IndexOfValue() public method

public IndexOfValue ( Object value ) : int
value Object
return int

IndexOfValue() public method

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

Remove() public method

public Remove ( Object key ) : void
key Object
return void

Remove() public method

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

RemoveAt() public method

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

SetByIndex() public method

public SetByIndex ( int index, Object value ) : void
index int
value Object
return void

SetByIndex() public method

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

SortedList() public method

public SortedList ( )

SortedList() public method

public SortedList ( System comparer )
comparer System

SortedList() public method

public SortedList ( System d, System comparer )
d System
comparer System

SortedList() public method

public SortedList ( System comparer, int capacity )
comparer System
capacity int

SortedList() public method

public SortedList ( int initialCapacity )
initialCapacity int

SortedList() public method

public SortedList ( ) : System.Diagnostics
return System.Diagnostics

SortedList() public method

public SortedList ( IComparer comparer ) : System.Diagnostics
comparer IComparer
return System.Diagnostics

SortedList() public method

public SortedList ( IComparer comparer, int capacity ) : System.Diagnostics
comparer IComparer
capacity int
return System.Diagnostics

SortedList() public method

public SortedList ( IDictionary d ) : System.Diagnostics
d IDictionary
return System.Diagnostics

SortedList() public method

public SortedList ( IDictionary d, IComparer comparer ) : System.Diagnostics
d IDictionary
comparer IComparer
return System.Diagnostics

SortedList() public method

public SortedList ( int initialCapacity ) : System.Diagnostics
initialCapacity int
return System.Diagnostics

Synchronized() public static method

public static Synchronized ( SortedList list ) : SortedList
list SortedList
return SortedList

Synchronized() public static method

public static Synchronized ( System list ) : System.Collections.SortedList
list System
return System.Collections.SortedList

TrimToSize() public method

public TrimToSize ( ) : void
return void

this() public method

public this ( Object key ) : Object
key Object
return Object

this() public method

public this ( object key ) : object
key object
return object