Package org.ojalgo.type.function
Class MappedSupplier<IN,OUT>
- java.lang.Object
-
- org.ojalgo.type.function.MappedSupplier<IN,OUT>
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.lang.Iterable<OUT>
,java.util.function.Supplier<OUT>
,AutoFunctional
,AutoSupplier<OUT>
final class MappedSupplier<IN,OUT> extends java.lang.Object implements AutoSupplier<OUT>
-
-
Constructor Summary
Constructors Constructor Description MappedSupplier(java.util.function.Supplier<IN> supplier, java.util.function.Function<IN,OUT> mapper)
MappedSupplier(java.util.function.Supplier<IN> supplier, java.util.function.Predicate<IN> filter, java.util.function.Function<IN,OUT> mapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
OUT
read()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.ojalgo.type.function.AutoSupplier
drainTo, get, iterator, processAll
-
-
-
-
Method Detail
-
close
public void close() throws java.lang.Exception
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfaceAutoSupplier<IN>
- Throws:
java.lang.Exception
-
read
public OUT read()
- Specified by:
read
in interfaceAutoSupplier<IN>
-
-