mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-18 10:10:58 +00:00
pulled up the remaining methods from com.sap.sailing.common.Util to com.sap.sse.common.Util
This commit is contained in:
1 parent
ed8ab3d5ad
commit
f9bdd96d55
2 files changed
+12
-12
No files matched your search
@@ -316,4 +316,16 @@ public class Util {
|
||||
}
|
||||
return result.toString();
|
||||
}
|
||||
|
||||
public static String join(String separator, Iterable<? extends Named> nameds) {
|
||||
return join(separator, toArray(nameds, new Named[size(nameds)]));
|
||||
}
|
||||
|
||||
public static String join(String separator, Named... nameds) {
|
||||
String[] strings = new String[nameds.length];
|
||||
for (int i=0; i<nameds.length; i++) {
|
||||
strings[i] = nameds[i].getName();
|
||||
}
|
||||
return join(separator, strings);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user