Class RelativeDoublyLinkedListMethodsBase<TElement>
- Namespace
- Platform.Collections.Methods.Lists
- Assembly
- Platform.Collections.Methods.dll
Represents the relative doubly linked list methods base.
public abstract class RelativeDoublyLinkedListMethodsBase<TElement> : DoublyLinkedListMethodsBase<TElement> where TElement : IUnsignedNumber<TElement>, IComparisonOperators<TElement, TElement, bool>
Type Parameters
TElement
- Inheritance
-
DoublyLinkedListMethodsBase<TElement>RelativeDoublyLinkedListMethodsBase<TElement>
- Derived
- Inherited Members
Methods
DecrementSize(TElement)
Decrements the size using the specified head element.
protected void DecrementSize(TElement headElement)
Parameters
headElementTElementThe head element.
GetFirst(TElement)
Gets the first using the specified head element.
protected abstract TElement GetFirst(TElement headElement)
Parameters
headElementTElementThe head element.
Returns
- TElement
The element
GetLast(TElement)
Gets the last using the specified head element.
protected abstract TElement GetLast(TElement headElement)
Parameters
headElementTElementThe head element.
Returns
- TElement
The element
GetSize(TElement)
Gets the size using the specified head element.
protected abstract TElement GetSize(TElement headElement)
Parameters
headElementTElementThe head element.
Returns
- TElement
The element
IncrementSize(TElement)
Increments the size using the specified head element.
protected void IncrementSize(TElement headElement)
Parameters
headElementTElementThe head element.
SetFirst(TElement, TElement)
Sets the first using the specified head element.
protected abstract void SetFirst(TElement headElement, TElement element)
Parameters
headElementTElementThe head element.
elementTElementThe element.
SetLast(TElement, TElement)
Sets the last using the specified head element.
protected abstract void SetLast(TElement headElement, TElement element)
Parameters
headElementTElementThe head element.
elementTElementThe element.
SetSize(TElement, TElement)
Sets the size using the specified head element.
protected abstract void SetSize(TElement headElement, TElement size)
Parameters
headElementTElementThe head element.
sizeTElementThe size.
See Also
DoublyLinkedListMethodsBase<TElement>