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 TypeMethodDescriptionintgetIdentifier(T element, int iteration) Gets the unique identifier.
-
Constructor Details
-
IdentifyFromIteration
public IdentifyFromIteration()
-
-
Method Details
-
getIdentifier
Description copied from interface:IdentifierGetterGets the unique identifier.- Specified by:
getIdentifierin 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
-