Re: Joining Strings

2016-01-11 Thread Silviu Burcea
FWIW, Java 8 also comes with a String joiner. On Tue, Jan 12, 2016 at 12:44 AM, Colin Patrick McCabe wrote: > Guava is a good library, but it has had some versioning issues in the > past. I don't see why we shouldn't just use the hadoop util version or a > stringbuilder, as appropriate. > > Bes

Re: Joining Strings

2016-01-11 Thread Colin Patrick McCabe
Guava is a good library, but it has had some versioning issues in the past. I don't see why we shouldn't just use the hadoop util version or a stringbuilder, as appropriate. Best, Colin On Dec 22, 2015 1:56 PM, "dam6923 ." wrote: > Hello! > > I have been looking through some of the Hadoop code

Joining Strings

2015-12-22 Thread dam6923 .
Hello! I have been looking through some of the Hadoop code and I see that there are (at least) four different ways used to join a collection of Strings with a delimiter: 1) org.apache.hadoop.util.StringUtils.join(...) 2) org.apache.commons.lang.StringUtils.join(...) 3) com.google.common.base.Join