public abstract [email protected] idMapper([email protected] numberArrayFactory, [email protected] groups);
/// <summary> /// An <seealso cref="IdMapper"/> capable of mapping <seealso cref="Long arbitrary longs"/> to long ids. /// </summary> /// <param name="cacheFactory"> <seealso cref="NumberArrayFactory"/> for allocating memory for the cache used by this index. </param> /// <param name="groups"> <seealso cref="Groups"/> containing all id groups. </param> /// <returns> <seealso cref="IdMapper"/> for when input ids are numbers. </returns> public static IdMapper Longs(NumberArrayFactory cacheFactory, Groups groups) { return(new EncodingIdMapper(cacheFactory, new LongEncoder(), Radix.LONG, NO_MONITOR, dynamic(), groups, numberOfCollisions => new LongCollisionValues(cacheFactory, numberOfCollisions))); }