Class SimpleIterableMapper
java.lang.Object
ch.nolix.base.foundation.iterablemapper.SimpleIterableMapper
- All Implemented Interfaces:
ISimpleIterableMapper
- Author:
- Silvan Wyss
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontoIterable(byte[] values) toIterable(double[] values) toIterable(int[] values) toIterable(long[] values) <E> Iterable<E> toIterable(E[] elements)
-
Constructor Details
-
SimpleIterableMapper
public SimpleIterableMapper()
-
-
Method Details
-
toIterable
- Specified by:
toIterablein interfaceISimpleIterableMapper- Parameters:
values-- Returns:
- a new
Iterablewith the given bytes
-
toIterable
- Specified by:
toIterablein interfaceISimpleIterableMapper- Parameters:
values-- Returns:
- a new
Iterablewith the given values
-
toIterable
- Specified by:
toIterablein interfaceISimpleIterableMapper- Type Parameters:
E- the type of the given elements- Parameters:
elements-- Returns:
- a new
Iterablewith the given elements
-
toIterable
- Specified by:
toIterablein interfaceISimpleIterableMapper- Parameters:
values-- Returns:
- a new
Iterablewith the given values
-
toIterable
- Specified by:
toIterablein interfaceISimpleIterableMapper- Parameters:
values-- Returns:
- a new
Iterablewith the given values
-