Uses of Class
fj.data.LazyString
-
Packages that use LazyString Package Description fj Types that set the premise for the existence of Functional Java.fj.data Common algebraic data types. -
-
Uses of LazyString in fj
Fields in fj with type parameters of type LazyString Modifier and Type Field Description static Equal<LazyString>Equal. eqAn equal instance for lazy strings.static Show<LazyString>Show. lazyStringShowA show instance for lazy strings. -
Uses of LazyString in fj.data
Fields in fj.data declared as LazyString Modifier and Type Field Description static LazyStringLazyString. emptyThe empty string.Fields in fj.data with type parameters of type LazyString Modifier and Type Field Description static F<Stream<java.lang.Character>,LazyString>LazyString. fromStreamFirst-class conversion from character streams to lazy strings.static F<LazyString,Stream<java.lang.Character>>LazyString. toStreamFirst-class conversion from lazy strings to streams.static F<LazyString,java.lang.String>LazyString. toStringFirst-class conversion from lazy strings to String.Methods in fj.data that return LazyString Modifier and Type Method Description LazyStringLazyString. append(LazyString cs)Appends the given lazy string to the end of this lazy string.LazyStringLazyString. append(java.lang.String s)Appends the given String to the end of this lazy string.LazyStringLazyString. bind(F<java.lang.Character,LazyString> f)static LazyStringLazyString. fromStream(Stream<java.lang.Character> s)Constructs a lazy string from a stream of characters.LazyStringLazyString. map(F<java.lang.Character,java.lang.Character> f)LazyStringLazyString. reverse()Returns the reverse of this string.static LazyStringLazyString. str(java.lang.String s)Constructs a lazy string from a String.LazyStringLazyString. tail()Returns all but the first character of this string.static LazyStringLazyString. unlines(Stream<LazyString> str)Joins the given stream of lazy strings into one, separated by newlines.static LazyStringLazyString. unwords(Stream<LazyString> str)Joins the given stream of lazy strings into one, separated by spaces.Methods in fj.data that return types with arguments of type LazyString Modifier and Type Method Description static IO<LazyString>IO. getContents()static IO<LazyString>IOFunctions. getContents()Stream<LazyString>LazyString. lines()Splits this lazy string into lines.static F<LazyString,Stream<LazyString>>LazyString. lines_()static F<LazyString,Stream<LazyString>>LazyString. lines_()Stream<LazyString>LazyString. split(char c)Splits this lazy string by the given delimiter character.Stream<LazyString>LazyString. split(F<java.lang.Character,java.lang.Boolean> p)Splits this lazy string by characters matching the given predicate.static F<LazyString,F<LazyString,java.lang.Boolean>>LazyString. startsWith()First-class prefix check.static F<LazyString,F<LazyString,java.lang.Boolean>>LazyString. startsWith()First-class prefix check.static F<Stream<LazyString>,LazyString>LazyString. unlines_()static F<Stream<LazyString>,LazyString>LazyString. unlines_()Stream<LazyString>LazyString. words()Splits this lazy string into words by spaces.Methods in fj.data with parameters of type LazyString Modifier and Type Method Description LazyStringLazyString. append(LazyString cs)Appends the given lazy string to the end of this lazy string.booleanLazyString. contains(LazyString cs)Returns true if the given lazy string is a substring of this lazy string.booleanLazyString. endsWith(LazyString cs)Returns true if the given lazy string is a suffix of this lazy string.Option<java.lang.Integer>LazyString. indexOf(LazyString cs)Returns the first index of the given substring in this lazy string, if present.booleanLazyString. startsWith(LazyString cs)Returns true if the given lazy string is a prefix of this lazy string.Method parameters in fj.data with type arguments of type LazyString Modifier and Type Method Description LazyStringLazyString. bind(F<java.lang.Character,LazyString> f)static IO<Unit>IO. interact(F<LazyString,LazyString> f)static IO<Unit>IO. interact(F<LazyString,LazyString> f)static IO<Unit>IOFunctions. interact(F<LazyString,LazyString> f)static IO<Unit>IOFunctions. interact(F<LazyString,LazyString> f)static LazyStringLazyString. unlines(Stream<LazyString> str)Joins the given stream of lazy strings into one, separated by newlines.static LazyStringLazyString. unwords(Stream<LazyString> str)Joins the given stream of lazy strings into one, separated by spaces.
-