Package hu.akarnokd.rxjava3.string
Class StringFlowable
- java.lang.Object
-
- hu.akarnokd.rxjava3.string.StringFlowable
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Flowable<Integer>characters(CharSequence string)Signals each character of the given string CharSequence as Integers.static FlowableTransformer<String,String>split(String pattern)Splits the input sequence of strings based on a pattern even across subsequent elements if needed.static FlowableTransformer<String,String>split(String pattern, int bufferSize)Splits the input sequence of strings based on a pattern even across subsequent elements if needed.static FlowableTransformer<String,String>split(Pattern pattern)Splits the input sequence of strings based on a pattern even across subsequent elements if needed.static FlowableTransformer<String,String>split(Pattern pattern, int bufferSize)Splits the input sequence of strings based on a pattern even across subsequent elements if needed.
-
-
-
Method Detail
-
characters
public static Flowable<Integer> characters(CharSequence string)
Signals each character of the given string CharSequence as Integers.- Parameters:
string- the source of characters- Returns:
- the new Flowable instance
-
split
public static FlowableTransformer<String,String> split(Pattern pattern)
Splits the input sequence of strings based on a pattern even across subsequent elements if needed.- Parameters:
pattern- the Rexexp pattern to split along- Returns:
- the new FlowableTransformer instance
- Since:
- 0.13.0
-
split
public static FlowableTransformer<String,String> split(Pattern pattern, int bufferSize)
Splits the input sequence of strings based on a pattern even across subsequent elements if needed.- Parameters:
pattern- the Rexexp pattern to split alongbufferSize- the number of items to prefetch from the upstream- Returns:
- the new FlowableTransformer instance
- Since:
- 0.13.0
-
split
public static FlowableTransformer<String,String> split(String pattern)
Splits the input sequence of strings based on a pattern even across subsequent elements if needed.- Parameters:
pattern- the Rexexp pattern to split along- Returns:
- the new FlowableTransformer instance
- Since:
- 0.13.0
-
split
public static FlowableTransformer<String,String> split(String pattern, int bufferSize)
Splits the input sequence of strings based on a pattern even across subsequent elements if needed.- Parameters:
pattern- the Rexexp pattern to split alongbufferSize- the number of items to prefetch from the upstream- Returns:
- the new FlowableTransformer instance
- Since:
- 0.13.0
-
-