C# 클래스 SupportClass.ListCollectionSupport, csharp-ldap

This class contains different methods to manage list collections.
상속: System.Collections.ArrayList
파일 보기 프로젝트 열기: EventStore/csharp-ldap 1 사용 예제들

공개 메소드들

메소드 설명
Add ( System valueToInsert ) : bool

Adds an object to the end of the List.

AddAll ( CollectionSupport collection ) : bool

Adds all the elements contained in the specified support class collection.

AddAll ( System collection ) : bool

Adds all the elements contained in the specified collection.

AddAll ( int index, CollectionSupport collection ) : bool

Adds all the elements contained into the specified support class collection, starting at the specified position.

AddAll ( int index, System list ) : bool

Adds all the elements contained into the specified collection, starting at the specified position.

ContainsAll ( CollectionSupport collection ) : bool

Verifies if all the elements of the specified collection are contained into the current collection.

ContainsAll ( System collection ) : bool

Verifies if all the elements of the specified collection are contained into the current collection.

Get ( int index ) : Object

Returns the element at the specified position in the list.

GetLast ( ) : Object

Gets the last value from a list.

IsEmpty ( ) : bool

Return whether this list is empty.

ListCollectionClone ( ) : Object

Creates a copy of the ListCollectionSupport.

ListCollectionSupport ( ) : System

Creates a new instance of the class ListCollectionSupport.

ListCollectionSupport ( System collection ) : System

Creates a new instance of the class ListCollectionSupport.

ListCollectionSupport ( int capacity ) : System

Creates a new instance of the class ListCollectionSupport with the specified capacity.

ListIterator ( ) : System.Collections.IEnumerator

Returns an iterator of the collection.

ListIterator ( int index ) : System.Collections.IEnumerator

Returns an iterator of the collection starting at the specified position.

RemoveAll ( CollectionSupport collection ) : bool

Removes all the elements contained into the specified collection.

RemoveAll ( System collection ) : bool

Removes all the elements contained into the specified collection.

RemoveElement ( int index ) : Object

Removes the value in the specified index from the list.

RemoveElement ( System element ) : bool

Removes an specified element from the collection.

RemoveFirst ( ) : Object

Removes the first value from an array list.

RemoveLast ( ) : Object

Removes the last value from an array list.

RetainAll ( CollectionSupport collection ) : bool

Removes all the elements that aren't contained into the specified collection.

RetainAll ( System collection ) : bool

Removes all the elements that aren't contained into the specified collection.

Set ( int index, System element ) : Object

Replaces the element at the specified position in this list with the specified element.

SubList ( int startIndex, int endIndex ) : ListCollectionSupport

Returns a new list containing a portion of the current list between a specified range.

ToArray ( System objects ) : System.Object[]

Obtains an array containing all the elements of the collection.

메소드 상세

Add() 공개 메소드

Adds an object to the end of the List.
public Add ( System valueToInsert ) : bool
valueToInsert System The value to insert in the array list.
리턴 bool

AddAll() 공개 메소드

Adds all the elements contained in the specified support class collection.
public AddAll ( CollectionSupport collection ) : bool
collection CollectionSupport The collection used to extract the elements that will be added.
리턴 bool

AddAll() 공개 메소드

Adds all the elements contained in the specified collection.
public AddAll ( System collection ) : bool
collection System The collection used to extract the elements that will be added.
리턴 bool

AddAll() 공개 메소드

Adds all the elements contained into the specified support class collection, starting at the specified position.
public AddAll ( int index, CollectionSupport collection ) : bool
index int Position at which to add the first element from the specified collection.
collection CollectionSupport
리턴 bool

AddAll() 공개 메소드

Adds all the elements contained into the specified collection, starting at the specified position.
public AddAll ( int index, System list ) : bool
index int Position at which to add the first element from the specified collection.
list System The list used to extract the elements that will be added.
리턴 bool

ContainsAll() 공개 메소드

Verifies if all the elements of the specified collection are contained into the current collection.
public ContainsAll ( CollectionSupport collection ) : bool
collection CollectionSupport The collection used to extract the elements that will be verified.
리턴 bool

ContainsAll() 공개 메소드

Verifies if all the elements of the specified collection are contained into the current collection.
public ContainsAll ( System collection ) : bool
collection System The collection used to extract the elements that will be verified.
리턴 bool

Get() 공개 메소드

Returns the element at the specified position in the list.
public Get ( int index ) : Object
index int Index of element to return.
리턴 System.Object

GetLast() 공개 메소드

Gets the last value from a list.
public GetLast ( ) : Object
리턴 System.Object

IsEmpty() 공개 메소드

Return whether this list is empty.
public IsEmpty ( ) : bool
리턴 bool

ListCollectionClone() 공개 메소드

Creates a copy of the ListCollectionSupport.
public ListCollectionClone ( ) : Object
리턴 System.Object

ListCollectionSupport() 공개 메소드

Creates a new instance of the class ListCollectionSupport.
public ListCollectionSupport ( ) : System
리턴 System

ListCollectionSupport() 공개 메소드

Creates a new instance of the class ListCollectionSupport.
public ListCollectionSupport ( System collection ) : System
collection System The collection to insert into the new object.
리턴 System

ListCollectionSupport() 공개 메소드

Creates a new instance of the class ListCollectionSupport with the specified capacity.
public ListCollectionSupport ( int capacity ) : System
capacity int The capacity of the new array.
리턴 System

ListIterator() 공개 메소드

Returns an iterator of the collection.
public ListIterator ( ) : System.Collections.IEnumerator
리턴 System.Collections.IEnumerator

ListIterator() 공개 메소드

Returns an iterator of the collection starting at the specified position.
public ListIterator ( int index ) : System.Collections.IEnumerator
index int The position to set the iterator.
리턴 System.Collections.IEnumerator

RemoveAll() 공개 메소드

Removes all the elements contained into the specified collection.
public RemoveAll ( CollectionSupport collection ) : bool
collection CollectionSupport The collection used to extract the elements that will be removed.
리턴 bool

RemoveAll() 공개 메소드

Removes all the elements contained into the specified collection.
public RemoveAll ( System collection ) : bool
collection System The collection used to extract the elements that will be removed.
리턴 bool

RemoveElement() 공개 메소드

Removes the value in the specified index from the list.
public RemoveElement ( int index ) : Object
index int The index of the value to remove.
리턴 System.Object

RemoveElement() 공개 메소드

Removes an specified element from the collection.
public RemoveElement ( System element ) : bool
element System The element to be removed.
리턴 bool

RemoveFirst() 공개 메소드

Removes the first value from an array list.
public RemoveFirst ( ) : Object
리턴 System.Object

RemoveLast() 공개 메소드

Removes the last value from an array list.
public RemoveLast ( ) : Object
리턴 System.Object

RetainAll() 공개 메소드

Removes all the elements that aren't contained into the specified collection.
public RetainAll ( CollectionSupport collection ) : bool
collection CollectionSupport The collection used to verify the elements that will be retained.
리턴 bool

RetainAll() 공개 메소드

Removes all the elements that aren't contained into the specified collection.
public RetainAll ( System collection ) : bool
collection System The collection used to verify the elements that will be retained.
리턴 bool

Set() 공개 메소드

Replaces the element at the specified position in this list with the specified element.
public Set ( int index, System element ) : Object
index int Index of element to replace.
element System Element to be stored at the specified position.
리턴 System.Object

SubList() 공개 메소드

Returns a new list containing a portion of the current list between a specified range.
public SubList ( int startIndex, int endIndex ) : ListCollectionSupport
startIndex int The start index of the range.
endIndex int The end index of the range.
리턴 ListCollectionSupport

ToArray() 공개 메소드

Obtains an array containing all the elements of the collection.
public ToArray ( System objects ) : System.Object[]
objects System The array into which the elements of the collection will be stored.
리턴 System.Object[]