de.zib.scalaris
Interface ErlangValue.ListElementConverter<T>

Type Parameters:
T - the type to convert to
All Known Implementing Classes:
ErlangValue.StringListElementConverter
Enclosing class:
ErlangValue

public static interface ErlangValue.ListElementConverter<T>

Converts list elements to a desired type.

Since:
3.5
Author:
Nico Kruber, kruber@zib.de

Method Summary
 T convert(int i, ErlangValue v)
          Conversion function.
 

Method Detail

convert

T convert(int i,
          ErlangValue v)
Conversion function.

Parameters:
i - the index in the list
v - the value to convert
Returns:
the value to convert to