/// <summary> /// Move a node to the head/top of a list. Used to maintain LRU lists. /// </summary> /// <param name="node">The node to move.</param> public void Up(ListNode node) { FT.FT_List_Up(Reference, node.Reference); }
/// <summary> /// Insert an element at the head of a list. /// </summary> /// <param name="node">The node to insert.</param> public void Insert(ListNode node) { FT.FT_List_Insert(Reference, node.Reference); }
/// <summary> /// Remove a node from a list. This function doesn't check whether the node is in the list! /// </summary> /// <param name="node">The node to remove.</param> public void Remove(ListNode node) { FT.FT_List_Remove(Reference, node.Reference); }
/// <summary> /// Append an element to the end of a list. /// </summary> /// <param name="node">The node to append.</param> public void Add(ListNode node) { FT.FT_List_Add(Reference, node.Reference); }