Package net.anwiba.commons.utilities.io
Class ListValueProvider<T>
- java.lang.Object
-
- net.anwiba.commons.utilities.io.ListValueProvider<T>
-
- All Implemented Interfaces:
IValueProvider<T>
public class ListValueProvider<T> extends java.lang.Object implements IValueProvider<T>
-
-
Constructor Summary
Constructors Constructor Description ListValueProvider(java.util.List<T> list)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetNumberOfValues()TgetValue(int i)
-
-
-
Constructor Detail
-
ListValueProvider
public ListValueProvider(java.util.List<T> list)
-
-
Method Detail
-
getValue
public T getValue(int i) throws ValueProviderException
- Specified by:
getValuein interfaceIValueProvider<T>- Throws:
ValueProviderException
-
getNumberOfValues
public int getNumberOfValues()
- Specified by:
getNumberOfValuesin interfaceIValueProvider<T>
-
-