Class CollisionMap
HashMap to store colliding labels. See CompactLabelToOrdinal for details.
@lucene.experimental
Inheritance
System.Object
CollisionMap
Assembly: DistributedLucene.Net.Facet.dll
Syntax
public class CollisionMap : object
Properties
Name | Description |
---|---|
Capacity | How many slots are allocated. |
Count | How many mappings. |
Methods
Name | Description |
---|---|
AddLabel(FacetLabel, Int32, Int32) | Add another mapping. |
AddLabelOffset(Int32, Int32, Int32) | This method does not check if the same value is already in the map because we pass in an char-array offset, so so we now that we're in resize-mode here. |
Get(FacetLabel, Int32) | Return the mapping, or INVALID_ORDINAL if the label isn't recognized. |