public class StreamObj extends Object implements DistanceFunctions.EuclideanCoordinate, Comparable<StreamObj>
Constructor and Description |
---|
StreamObj(double... values) |
public int dimensions()
DistanceFunctions.EuclideanCoordinate
dimensions
in interface DistanceFunctions.EuclideanCoordinate
public double get(int index)
DistanceFunctions.EuclideanCoordinate
index
-th component of the coordinate.get
in interface DistanceFunctions.EuclideanCoordinate
index
- The index of the component. Must be less than DistanceFunctions.EuclideanCoordinate.dimensions()
.public int compareTo(StreamObj that)
compareTo
in interface Comparable<StreamObj>
Copyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.