Class IdentifyFromIteration<T>
Object
IdentifyFromIteration<T>
- Type Parameters:
T
- element-type to be identified.
- All Implemented Interfaces:
IdentifierGetter<T>
Identify an element uniquely only by its iteration timepoint.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getIdentifier
(T element, int iteration) Gets the unique identifier.
-
Constructor Details
-
IdentifyFromIteration
public IdentifyFromIteration()
-
-
Method Details
-
getIdentifier
Description copied from interface:IdentifierGetter
Gets the unique identifier.- Specified by:
getIdentifier
in interfaceIdentifierGetter<T>
- 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
-