V
- the type of the elements of the field.public class IterableSize<V> extends ScalarSupport<V> implements Conversion<java.lang.Iterable<?>,V>
Constructor and Description |
---|
IterableSize(ExtendedField<V> field) |
Modifier and Type | Method and Description |
---|---|
V |
apply(java.lang.Iterable<?> iterable)
Has to implement the conversion logic to convert the given object into an object of type R.
|
absoluteValueOf, calculate, countOf, field, inverseOf, negativeOf, one, squareOf, squareRootOf, testIf, two, zero
public IterableSize(ExtendedField<V> field)
public V apply(java.lang.Iterable<?> iterable)
Conversion
apply
in interface java.util.function.Function<java.lang.Iterable<?>,V>
apply
in interface Conversion<java.lang.Iterable<?>,V>
iterable
- the object to convert