blob: 83a796b7a0bb733f4dd974aa570dc8b7cbc91f64 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
package cgeo.geocaching.utils;
import org.apache.commons.lang3.StringUtils;
import android.test.AndroidTestCase;
import java.util.ArrayList;
import java.util.Collection;
public abstract class AbstractLRUTest extends AndroidTestCase {
protected static String colToStr(Collection<?> col) {
final ArrayList<String> list = new ArrayList<String>(col.size());
for (Object o : col) {
list.add(o.toString());
}
return StringUtils.join(list, ", ");
}
}
|