Interface IdentifierGetter<T>

Type Parameters:
T - the type of elements with an associated identifier
All Known Implementing Classes:
IdentifyFromIteration
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 IdentifierGetter<T>
Gets a unique identifier for a particular element at a particular iteration point.
Author:
Owen Feehan
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    getIdentifier(T element, int iteration)
    Gets the unique identifier.
  • Method Details

    • getIdentifier

      int getIdentifier(T element, int iteration)
      Gets the unique identifier.
      Parameters:
      element - the element, that may or may not be used to form the identifier
      iteration - the current iteration timepoint, that may or may not be used to form the identifier
      Returns:
      the unique identifier