Y
- the type of the dependent variable (output)of the discrete functionpublic class CodomainExtraction<Y> extends java.lang.Object implements Conversion<DiscreteFunction<?,Y>,java.lang.Iterable<Y>>
DiscreteFunction
and produces an iterable that contains the values of its codomain.
See CodomainConstructor and Description |
---|
CodomainExtraction() |
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<Y> |
apply(DiscreteFunction<?,Y> inputfunction)
Has to implement the conversion logic to convert the given object into an object of type R.
|
public java.lang.Iterable<Y> apply(DiscreteFunction<?,Y> inputfunction)
Conversion
apply
in interface java.util.function.Function<DiscreteFunction<?,Y>,java.lang.Iterable<Y>>
apply
in interface Conversion<DiscreteFunction<?,Y>,java.lang.Iterable<Y>>
inputfunction
- the object to convert