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
RelativeDoublyLinkedListMethodsBase<TElement>
Derived
Inherited Members

Methods

DecrementSize(TElement)

Decrements the size using the specified head element.

protected void DecrementSize(TElement headElement)

Parameters

headElement TElement

The head element.

GetFirst(TElement)

Gets the first using the specified head element.

protected abstract TElement GetFirst(TElement headElement)

Parameters

headElement TElement

The head element.

Returns

TElement

The element

GetLast(TElement)

Gets the last using the specified head element.

protected abstract TElement GetLast(TElement headElement)

Parameters

headElement TElement

The head element.

Returns

TElement

The element

GetSize(TElement)

Gets the size using the specified head element.

protected abstract TElement GetSize(TElement headElement)

Parameters

headElement TElement

The head element.

Returns

TElement

The element

IncrementSize(TElement)

Increments the size using the specified head element.

protected void IncrementSize(TElement headElement)

Parameters

headElement TElement

The head element.

SetFirst(TElement, TElement)

Sets the first using the specified head element.

protected abstract void SetFirst(TElement headElement, TElement element)

Parameters

headElement TElement

The head element.

element TElement

The element.

SetLast(TElement, TElement)

Sets the last using the specified head element.

protected abstract void SetLast(TElement headElement, TElement element)

Parameters

headElement TElement

The head element.

element TElement

The element.

SetSize(TElement, TElement)

Sets the size using the specified head element.

protected abstract void SetSize(TElement headElement, TElement size)

Parameters

headElement TElement

The head element.

size TElement

The size.

See Also