- packedSet
Pack longs into a sorted set.
- asLongSet
Get a Fastutil LongSet from a java.util.Set of longs.
- frozenMap
Create a frozen long-to-double map. This effectively creates a copy of a map,
but if the provided ma
- setIntersect
Compute the intersection of two sets.
- asLong2DoubleFunction
Create a long-to-double function from a map, casting if appropriate. Useful to
allow unboxed access
- asLong2DoubleMap
Wrap or cast a long-to-double map into Fastutil.
- asLongCollection
Get a Fastutil it.unimi.dsi.fastutil.longs.LongCollection from a
java.util.Collection of longs. This
- asLongList
- flyweightMap
Create a flyweight vector with a key set and value function.
- frozenSet
Create a frozen long set. If the underlying collection is already an immutable
sorted set (specifica
- hasNCommonItems
Check if two sets have at least a given number of common items.
- intersectSize
Compute the size of the intersection of two sets.