Package org.midheaven.lang
Interface Strings.Splitter
- All Superinterfaces:
Countable
- Enclosing class:
Strings
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescription<A> Stringcollect(Collector<CharSequence, A, String> collector) first()get(int index) default Stringjoin(char delimiter) Performs join.default StringPerforms join.last()sequence()static Strings.Splitter.Conditionsplit(CharSequence text) Performs split.
-
Method Details
-
split
Performs split.- Parameters:
text- the text value- Returns:
- the result of split
-
get
-
sequence
-
map
-
first
-
last
-
withoutFirst
Strings.Splitter withoutFirst() -
withoutLast
Strings.Splitter withoutLast() -
join
Performs join.- Parameters:
delimiter- the delimiter value- Returns:
- the result of join
-
join
Performs join.- Parameters:
delimiter- the delimiter value- Returns:
- the result of join
-
collect
-