fhash_key_int32_1d_t Derived Type

type, public, extends(fhash_key_t) :: fhash_key_int32_1d_t

Hash table key container


Contents


Type-Bound Procedures

generic, public :: operator(==) => equals

  • private pure function key_equal_int64_1d(key1, key2) result(keys_equal)

    Check if two keys are equal

    Arguments

    Type IntentOptional Attributes Name
    class(fhash_key_int64_1d_t), intent(in) :: key1
    class(fhash_key_t), intent(in) :: key2

    Return Value logical

procedure, public, pass :: hash => key_hash_int32_1d

  • private pure function key_hash_int32_1d(key) result(hash)

    Generate hash of key

    Arguments

    Type IntentOptional Attributes Name
    class(fhash_key_int32_1d_t), intent(in) :: key

    Return Value integer(kind=int64)

procedure, public, pass :: equals => key_equal_int32_1d

  • private pure function key_equal_int32_1d(key1, key2) result(keys_equal)

    Check if two keys are equal

    Arguments

    Type IntentOptional Attributes Name
    class(fhash_key_int32_1d_t), intent(in) :: key1
    class(fhash_key_t), intent(in) :: key2

    Return Value logical

procedure, public, pass :: to_string => key_int32_1d_to_string

  • private pure function key_int32_1d_to_string(key) result(str)

    Generate string representation of hash

    Arguments

    Type IntentOptional Attributes Name
    class(fhash_key_int32_1d_t), intent(in) :: key

    Return Value character(len=:), allocatable