Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(amap_t), | intent(in) | :: | this | |||
type(key_t), | intent(in) | :: | k |
function find_amap_t(this, k) result(r)
class(amap_t), intent(in) :: this
type(key_t), intent(in) :: k
integer :: r
do r = 1, this%high_water
if (this%pairs(r)%k == k) then
return
end if
end do
r = 0
end function find_amap_t