class LinearProbeLongLongHashMap extends AbstractLongIterable implements MutableLongLongMap, Resource {

    @Override
    public long[] toArray()
    {
        final MutableInt idx = new MutableInt();
        final long[] array = new long[size()];
        each( element -> array[idx.getAndIncrement()] = element );
        return array;
    }

      LinearProbeLongLongHashMap( MemoryAllocator allocator );

}