Package org.jparsec.examples.common
Class Strings
java.lang.Object
org.jparsec.examples.common.Strings
Manipulates String.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringBuilder
join
(StringBuilder builder, String delim, Iterable<?> objects) Joinsobjects
withdelim
as the delimiter.static StringBuilder
join
(StringBuilder builder, String delim, Object... objects) Joinsobjects
withdelim
as the delimiter.static String
Joinsobjects
withdelim
as the delimiter.static String
Joinsobjects
withdelim
as the delimiter.static String
prependEach
(String delim, Iterable<?> objects) Prependsdelim
before each object ofobjects
.
-
Constructor Details
-
Strings
public Strings()
-
-
Method Details
-
prependEach
Prependsdelim
before each object ofobjects
. -
join
Joinsobjects
withdelim
as the delimiter. -
join
Joinsobjects
withdelim
as the delimiter. -
join
Joinsobjects
withdelim
as the delimiter. -
join
Joinsobjects
withdelim
as the delimiter.
-