DoublyLinkedListUD60x18
Functions
contains
Returns true if the doubly linked list self
contains the value
function contains(DoublyLinkedList.Bytes32List storage self, UD60x18 value) internal view returns (bool);
prev
Returns the stored element before value
in the doubly linked list self
function prev(DoublyLinkedList.Bytes32List storage self, UD60x18 value) internal view returns (UD60x18);
next
Returns the stored element after value
in the doubly linked list self
function next(DoublyLinkedList.Bytes32List storage self, UD60x18 value) internal view returns (UD60x18);
insertBefore
Returns true if newValue
was successfully inserted before nextValue
in the doubly linked list self
function insertBefore(DoublyLinkedList.Bytes32List storage self, UD60x18 nextValue, UD60x18 newValue)
internal
returns (bool status);
insertAfter
Returns true if newValue
was successfully inserted after prevValue
in the doubly linked list self
function insertAfter(DoublyLinkedList.Bytes32List storage self, UD60x18 prevValue, UD60x18 newValue)
internal
returns (bool status);
push
Returns true if value
was successfully inserted at the end of the doubly linked list self
function push(DoublyLinkedList.Bytes32List storage self, UD60x18 value) internal returns (bool status);
pop
Removes the first element in the doubly linked list self
, returns the removed element value
function pop(DoublyLinkedList.Bytes32List storage self) internal returns (UD60x18 value);
shift
Removes the last element in the doubly linked list self
, returns the removed element value
function shift(DoublyLinkedList.Bytes32List storage self) internal returns (UD60x18 value);
unshift
Returns true if value
was successfully inserted at the front of the doubly linked list self
function unshift(DoublyLinkedList.Bytes32List storage self, UD60x18 value) internal returns (bool status);
remove
Returns true if value
was successfully removed from the doubly linked list self
function remove(DoublyLinkedList.Bytes32List storage self, UD60x18 value) internal returns (bool status);
replace
Returns true if oldValue
was successfully replaced with newValue
in the doubly linked list self
function replace(DoublyLinkedList.Bytes32List storage self, UD60x18 oldValue, UD60x18 newValue)
internal
returns (bool status);