Interface AssociatedIndex

All Known Implementing Classes:
Indexable, IndexableMarksWithEnergy
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface AssociatedIndex
Associated an index with the object.

The meaning of the index is context-dependent, but an index should always be unique for a particular instance.

Author:
Owen Feehan
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    The associated index.
  • Method Details

    • getIndex

      int getIndex()
      The associated index.
      Returns:
      the index.