Interface IOutputLabelMapper

Type Parameters:
T - output type
All Known Implementing Classes:
DefaultOrientationMapper

public interface IOutputLabelMapper
Interface for mapping an integer index (continuous from 0) to output values.
  • Method Summary

    Modifier and Type
    Method
    Description
    T
    map(int index)
    Returns value, which is mapped to the specified index.
    int
    size()
    Returns a number of mappable values.
  • Method Details

    • size

      int size()
      Returns a number of mappable values.
      Returns:
      a number of mappable values
    • map

      T map (int index)
      Returns value, which is mapped to the specified index.
      Parameters:
      index - index to map
      Returns:
      mapped output value