The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
HashMap.length
containers
hashmap
HashMap
struct
HashMap
(K, V, Allocator = Mallocator, alias hashFunction = generateHash!K, bool supportGC = shouldAddGCRange!K || shouldAddGCRange!V, bool storeHash = true)
const nothrow pure @
property
@
safe
@
nogc
size_t
length
(
)
Return Value
Type:
size_t
the number of key/value pairs in this container.
Meta
Source
See Implementation
containers
hashmap
HashMap
aliases
opSlice
constructors
this
functions
byKey
byKeyValue
byValue
clear
containsKey
empty
get
getOrAdd
keys
length
opApply
opBinaryRight
opIndex
opIndexAssign
remove
values