![JAR search and dependency download from the Maven repository](/logo.png)
io.prismic.Utils Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-kit Show documentation
Show all versions of java-kit Show documentation
The developer kit to access Prismic.io repositories using the Java language.
The newest version!
package io.prismic;
import java.util.Arrays;
class Utils {
public static String mkString(Iterable it, String separator) {
boolean first = true;
StringBuilder result = new StringBuilder();
for (T t: it) {
if (!first) {
result.append(separator);
}
result.append(t.toString());
first = false;
}
return result.toString();
}
public static String mkString(T[] arr, String separator) {
return mkString(Arrays.asList(arr), separator);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy