io.siddhi.extension.execution.streamingml.clustering.kmeans.util

## Class DataPoint

- java.lang.Object
- - io.siddhi.extension.execution.streamingml.clustering.kmeans.util.DataPoint

- All Implemented Interfaces:
    Serializable

      public class DataPoint
      extends Object
      implements Serializable

  Object which holds the data from each event and information about centroids in terms of coordinates
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DataPoint()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object o)`
    `int` | `hashCode()`
    `void` | `setCoordinates(double[] coordinates)`

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

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

- - ### Constructor Detail

    - #### DataPoint

          public DataPoint()

  - ### Method Detail

    - #### setCoordinates

          public void setCoordinates(double[] coordinates)

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

Copyright © 2022 WSO2. All rights reserved.