Class ConvertedIterable<FROM,TO>

java.lang.Object
com.storedobject.common.ConvertedIterable<FROM,TO>
Type Parameters:
FROM - the type of the elements in the original iterable
TO - the type of the elements in the converted iterable
All Implemented Interfaces:
Iterable<TO>

public class ConvertedIterable<FROM,TO> extends Object implements Iterable<TO>
A decorator class that transforms elements of an iterable by applying a conversion function. This class allows iteration over a collection of elements, converting each element from its original type to a different target type during iteration.
Author:
Syam