Package fj.data
Class IOFunctions.CharChunkReader<A>
- java.lang.Object
-
- fj.data.IOFunctions.CharChunkReader<A>
-
- All Implemented Interfaces:
F<Iteratee.IterV<char[],A>,IO<Iteratee.IterV<char[],A>>>
,java.util.function.Function<Iteratee.IterV<char[],A>,IO<Iteratee.IterV<char[],A>>>
- Enclosing class:
- IOFunctions
private static class IOFunctions.CharChunkReader<A> extends java.lang.Object implements F<Iteratee.IterV<char[],A>,IO<Iteratee.IterV<char[],A>>>
-
-
Field Summary
Fields Modifier and Type Field Description private F<P2<A,Iteratee.Input<char[]>>,P1<Iteratee.IterV<char[],A>>>
done
private F<Iteratee.IterV<char[],A>,java.lang.Boolean>
isDone
private java.io.Reader
r
-
Constructor Summary
Constructors Constructor Description CharChunkReader(java.io.Reader r)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IO<Iteratee.IterV<char[],A>>
f(Iteratee.IterV<char[],A> it)
TransformA
toB
.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface fj.F
andThen, andThen, apply, apply, apply, arrayK, bind, bind, contramap, contramapActor, contramapEqual, contramapHash, contramapShow, dimap, eitherLeftK, eitherRightK, failK, foldMapTree, iterableK, lazy, listK, map, mapArray, mapBoth, mapFail, mapFst, mapIterable, mapJ, mapJ, mapJ, mapJ, mapJ, mapJ, mapJ, mapJ, mapJ, mapJ, mapJ, mapLeft, mapList, mapNel, mapOption, mapP1, mapPromise, mapRight, mapSet, mapSnd, mapStream, mapSuccess, mapTree, mapTreeZipper, mapZipper, nelK, o, o, on, on, onFail, onLeft, onRight, onSuccess, optionK, partial, promiseK, setK, streamK, successK, treeK, treeZipperK, zipperK
-
-
-
-
Field Detail
-
r
private final java.io.Reader r
-
isDone
private final F<Iteratee.IterV<char[],A>,java.lang.Boolean> isDone
-
done
private final F<P2<A,Iteratee.Input<char[]>>,P1<Iteratee.IterV<char[],A>>> done
-
-
Method Detail
-
f
public IO<Iteratee.IterV<char[],A>> f(Iteratee.IterV<char[],A> it)
Description copied from interface:F
TransformA
toB
.- Specified by:
f
in interfaceF<Iteratee.IterV<char[],A>,IO<Iteratee.IterV<char[],A>>>
- Parameters:
it
- TheA
to transform.- Returns:
- The result of the transformation.
-
-