NevronOpenVision
Nevron.Nov.DataStructures Namespace / NList<T> Class
Fields Properties Methods


In This Topic
    NList<T> Class Members
    In This Topic

    The following tables list the members exposed by NList<T>.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded. Adds (appends) an item to the list.  
    Public MethodUnsafe add method that adds the specified item and increases the count. Call the BeginFastAdd method before calling this method.  
    Public MethodUnsafe add method that adds the specified item and increases the count, unless it is null. Call the BeginFastAdd method before calling this method.  
    Public MethodOverloaded. Adds a non duplicate item to the list  
    Public MethodAdds a non-null item to the list.  
    Public MethodOverloaded. Adds a range of items to this list.  
    Public MethodOverloaded. Adds a range of objects without adding duplicate ones.  
    Public MethodCall this method before calling the FastAdd method not more that the specified count.  
    Public MethodOverloaded. Searches for the index at which the item occurs by using a binary search. It is an user responsibility to first sort the list in ascending order.  
    Public MethodOverloaded. Sorts the entire list by using a default comparer and the bubble sort algorithm.  
    Public MethodCasts all items in this list to the specified target type. Returns a new list with the casted objects  
    Public MethodConverts all items in this list to the specified output type. Uses the given converter delegate for the conversion.  
    Public MethodOverloaded. Copies the items of this array (from 0 to Count) to the specified target array (from 0).  
    Public MethodFilters the elements of this list and returns a new list in which all elements satisfy the filter criteria  
    Public MethodDetermines the count of elements in this array, which satisfy the specified filter  
    Public Methodstatic (Shared in Visual Basic)Creates a list that contains the specified item.  
    Public MethodGets a range of items of this list  
    Public MethodInserts the specified item at the specified index  
    Public MethodOverloaded. Inserts a range of items in the specified list at the specified index  
    Public MethodReturns the last item from the deque, without removing it.  
    Public MethodReturns the first item from the deque, without removing it.  
    Public MethodRemoves and returns the last item from the deque.  
    Public MethodRemoves and returns the first item from the deque.  
    Public MethodPushes the item at the back of the deque (makes it the last item in the deque)  
    Public MethodPushes the item at the front of the deque (makes it the first item in the deque)  
    Public MethodRecycles this object.  
    Public MethodOverloaded. Removes the first occurrence of the specified item, if any.  
    Public MethodRemoves all occurrence of the specified item.  
    Public MethodRemoves the item at the given index from the list.  
    Public MethodOverloaded. Removes the last occurrence of the specified item.  
    Public MethodRemoves the specified range of items from this list  
    Public MethodOverloaded. Reverses the items in this list  
    Public MethodRandomly repositions the elements in this list using the Fisher-Yates algorithm AKA the Knuth Shuffle. It runs in O(n) time and shuffles in place, so it's better performing than the "sort by random" technique.  
    Public MethodOverloaded. Sorts the entire list by using a default comparer and the quick sort algorithm.  
    Public MethodSwaps this list content with the specified other list.  
    Public MethodOverloaded. Converts this list to system array of the corresponding type  
    Public MethodTries to get the first item that passes the specified filter. If filter is null the first item in the list is returned.  
    Public MethodTries to get the index of the first item that passes the specified filter. If filter is null the index of the first item in the list is returned.  
    Public MethodTries to get the last item that passes the specified filter. If filter is null the last item in the list is returned.  
    Public MethodTries to get the index of the last item that passes the specified filter. If filter is null the index of the last item in the list is returned.  
    Top
    Protected Methods
     NameDescription
    Internal MethodOverloaded.   
    Internal Method  
    Top
    See Also