All Downloads are FREE. Search and download functionalities are using the official Maven repository.

uk.sponte.automation.seleniumpom.helpers.ArrayHelper Maven / Gradle / Ivy

There is a newer version: 3.0.14
Show newest version
package uk.sponte.automation.seleniumpom.helpers;

import java.util.Collection;

/**
 * Created by evops on 08/02/2016.
 */
public class ArrayHelper {
    public static  String join(Iterable aArr, String sSep) {
        StringBuilder sbStr = new StringBuilder();

        boolean first = true;
        for (Object o : aArr) {
            if(!first) sbStr.append(sSep);
            first = false;
            sbStr.append(o.toString());
        }

        return sbStr.toString();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy