package org.stianloader.stianknn; import org.jetbrains.annotations.Nullable; /** * A 2D spatial index that is capable of looking up the nearest element to a provided point. * *
Mutability is undefined for this interface, it is best to assume that it is unsupported.
* The behaviour of elements with equal distance (and thus overlapping points) are undefined
* by this interface.
*
* @param