16 template <
class KEY,
class VALUE,
class LESS = std::less<KEY> >
22 typedef std::map< KEY, VALUE, LESS, LuceneAllocator<key_value> >
map_type;
99 void put(
const KEY& key,
const VALUE& value)
101 (*mapContainer)[key] = value;
104 template <
class ITER>
107 for (
iterator current = first; current != last; ++current)
111 template <
class ITER>
112 void remove(ITER pos)
117 template <
class ITER>
118 ITER
remove(ITER first, ITER last)
123 bool remove(
const KEY& key)
133 VALUE
get(
const KEY& key)
const
136 return findValue ==
mapContainer->end() ? VALUE() : findValue->second;