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.
Gets a unique identifier for a particular element at a particular iteration point.
- Author:
- Owen Feehan
-
Method Summary
Modifier and TypeMethodDescriptionint
getIdentifier
(T element, int iteration) Gets the unique identifier.
-
Method Details
-
getIdentifier
Gets the unique identifier.- Parameters:
element
- the element, that may or may not be used to form the identifieriteration
- the current iteration timepoint, that may or may not be used to form the identifier- Returns:
- the unique identifier
-