Interface Positionable

All Superinterfaces:
Comparable<Positionable>
All Known Implementing Classes:
Category

public interface Positionable extends Comparable<Positionable>
The idea of being positionable is to place a point somewhere along a one-dimensional axis This is very natural for numerical data, but can be applied to categorical data too.
Author:
Simon White (swhite@catalysoft.com)
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Map the Positionable object to a numeric value (a double) so that it can be positioned on an axis.

    Methods inherited from interface java.lang.Comparable

    compareTo
  • Method Details

    • position

      double position()
      Map the Positionable object to a numeric value (a double) so that it can be positioned on an axis.
      Returns:
      the position of the object