NearestTo

class NearestTo(target: Locatable) : Comparator<Locatable?>

NearestTo

Constructors

NearestTo
Link copied to clipboard
fun NearestTo(target: Locatable)

Functions

compare
Link copied to clipboard
open override fun compare(o1: Locatable?, o2: Locatable?): Int
reversed
Link copied to clipboard
open fun reversed(): Comparator<Locatable?>
thenComparing
Link copied to clipboard
open fun thenComparing(p0: Comparator<in Locatable?>): Comparator<Locatable?>
open fun <U : Comparable<U>> thenComparing(p0: Function<in Locatable?, out U>): Comparator<Locatable?>
open fun <U : Any> thenComparing(p0: Function<in Locatable?, out U>, p1: Comparator<in U>): Comparator<Locatable?>
thenComparingDouble
Link copied to clipboard
open fun thenComparingDouble(p0: ToDoubleFunction<in Locatable?>): Comparator<Locatable?>
thenComparingInt
Link copied to clipboard
open fun thenComparingInt(p0: ToIntFunction<in Locatable?>): Comparator<Locatable?>
thenComparingLong
Link copied to clipboard
open fun thenComparingLong(p0: ToLongFunction<in Locatable?>): Comparator<Locatable?>

Properties

target
Link copied to clipboard
val target: Locatable