sll_find_in Subroutine

public recursive subroutine sll_find_in(node, key, data, found)

Search for a node with a specific key. Returns a pointer to the 'data' component of the corresponding node. Pointer is not associated if node cannot be found

Arguments

Type IntentOptional Attributes Name
type(fhash_node_t), intent(in), target :: node

Node to search in

class(fhash_key_t) :: key

Key to look for

type(fhash_container_t), intent(out), pointer :: data

Pointer to value container if found. (Unassociated if the key is not found in node)

logical, intent(out), optional :: found

Contents