Package org.stianloader.stianknn

# Class PointObjectPair<T>

java.lang.Object
org.stianloader.stianknn.PointObjectPair<T>

All Implemented Interfaces:
  `Comparable<PointObjectPair<?>>`

public class PointObjectPair<T> extends Object implements Comparable<PointObjectPair<?>>

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `final T`
  `object`
  `final float`
  `x`
  `final float`
  `y`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PointObjectPair(T object, float x, float y)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `compareTo(PointObjectPair<?> o)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### object

    @NotNull public final T object

  - ### x

    public final float x

  - ### y

    public final float y

- ## Constructor Details

  - ### PointObjectPair

    public PointObjectPair(@NotNull T object, float x, float y)

- ## Method Details

  - ### compareTo

    public int compareTo(PointObjectPair<?> o)
    Specified by:
      `compareTo` in interface `Comparable<T>`