gtool5 Fortran 90/95 ライブラリ 1.0.0-rc5
English
Loading...
Searching...
No Matches
Public Member Functions | List of all members
dc_hash::number Interface Reference

Public Member Functions

integer function dchashnumber0 (hashv)
 

Detailed Description

Definition at line 229 of file dc_hash.f90.

Member Function/Subroutine Documentation

◆ dchashnumber0()

integer function dc_hash::number::dchashnumber0 ( type(hash), intent(in)  hashv)

ハッシュのサイズを返す

hashv に格納されているキーと値のペア数を返します.

Parameters
[in]hashvハッシュ変数
Returns
ハッシュ内のキーと値のペア数

Definition at line 331 of file dc_hash.f90.

332 implicit none
333 type(HASH), intent(in) :: hashv
334 integer :: result
335 continue
336 if (associated(hashv % hash_table)) then
337 result = size(hashv % hash_table)
338 else
339 result = 0
340 end if

The documentation for this interface was generated from the following file: