Send feedback
Stay organized with collections
Save and categorize content based on your preferences.
C++ Reference: class RevImmutableMultiMap
Note: This documentation is automatically generated.
Method
ContainsKey
Return type: bool
Arguments: const K& key
Returns true if the multi-map contains at least one instance of 'key'.
FindWithDefault
Return type: const V&
Arguments: const K& key, const V& default_value
Returns one value attached to 'key', or 'default_value' if 'key'
is not in the multi-map. The actual value returned if more than one
values is attached to the same key is not specified.
Insert
Return type: void
Arguments: const K& key, const V& value
Inserts (key, value) in the multi-map.
num_items
Return type: int
RevImmutableMultiMap
Arguments: Solver* const solver, int initial_size
~RevImmutableMultiMap
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-09-14 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?