Interface Positionable

  • All Superinterfaces:
    java.lang.Comparable<Positionable>
    All Known Implementing Classes:
    Category

    public interface Positionable
    extends java.lang.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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      double position()
      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 Detail

      • 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