HashMap4
A 4-dimensional hash map. More...
#include <xpress_maps.hpp>

Public Member Functions |
|
bool | contains (K1 const &key1, K2 const &key2, K3 const &key3, K4 const &key4) const |
Test whether (key1,key2,key3,key4) exists. |
|
bool | containsKey (K1 const &key1, K2 const &key2, K3 const &key3, K4 const &key4) const |
Test whether (key1,key2,key3,key4) exists. |
|
V | get (K1 const &key1, K2 const &key2, K3 const &key3, K4 const &key4) const |
Get the value for tuple (key1,key2,key3,key4) . |
|
V | operator() (K1 const &key1, K2 const &key2, K3 const &key3, K4 const &key4) const |
Get the value for tuple (key1,key2,key3,key4) . |
|
void | put (K1 const &key1, K2 const &key2, K3 const &key3, K4 const &key4, V value) |
Map (key1,key2,key3,key4) to value . |
|
Detailed Description
class xpress::maps::HashMap4< K1, K2, K3, K4, V >
A 4-dimensional hash map.
Instances of this class map tuples with 4 elements to value and provide some convenience functions to access elements without having to explicitly construct the tuples. Tuples are mapped using their hash codes.
- Since
- 44.00
Member Function Documentation
contains()
|
inline |
Test whether (key1,key2,key3,key4)
exists.
- Since
- 44.00
containsKey()
|
inline |
Test whether (key1,key2,key3,key4)
exists.
- Since
- 44.00
get()
|
inline |
Get the value for tuple (key1,key2,key3,key4)
.
- Returns
-
null
the mapping does not exist.
- Since
- 44.00
operator()()
|
inline |
Get the value for tuple (key1,key2,key3,key4)
.
- Returns
-
null
the mapping does not exist.
- Since
- 44.00
put()
|
inline |
Map (key1,key2,key3,key4)
to value
.
- Since
- 44.00
The documentation for this class was generated from the following file:
- xpress_maps.hpp
© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.