Lucene.Net
3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
|
Helper class for keeping Listss of Objects associated with keys. WARNING: THIS CLASS IS NOT THREAD SAFE More...
Public Member Functions | |
MapOfSets (IDictionary< TKey, HashSet< TValue >> m) | |
virtual int | Put (TKey key, TValue val) |
Adds val to the Set associated with key in the Map. If key is not already in the map, a new Set will first be created. | |
virtual int | PutAll (TKey key, IEnumerable< TValue > vals) |
Adds multiple vals to the Set associated with key in the Map. If key is not already in the map, a new Set will first be created. | |
Properties | |
virtual IDictionary< TKey, HashSet< TValue > > | Map [get] |
direct access to the map backing this object. | |
Helper class for keeping Listss of Objects associated with keys. WARNING: THIS CLASS IS NOT THREAD SAFE
Definition at line 25 of file MapOfSets.cs.
Lucene.Net.Util.MapOfSets< TKey, TValue >.MapOfSets | ( | IDictionary< TKey, HashSet< TValue >> | m | ) |
m | the backing store for this object |
Definition at line 31 of file MapOfSets.cs.
|
virtual |
Adds val to the Set associated with key in the Map. If key is not already in the map, a new Set will first be created.
Definition at line 47 of file MapOfSets.cs.
|
virtual |
Adds multiple vals to the Set associated with key in the Map. If key is not already in the map, a new Set will first be created.
Definition at line 64 of file MapOfSets.cs.
|
get |
direct access to the map backing this object.
Definition at line 38 of file MapOfSets.cs.