I am using JDK 1.7 and Eclipse and trying to execute two string arrays:
String [] a1 = { "a12", "b12" };
String [] a2 = { "c12", "d23", "ewe", "fdfsd" };
I tried
String[] both = ObjectArrays.concat(a1,a2,String.class);
imported
import com.google.common.collect.ObjectArrays;
getting error:
can not resolve "import com.google.common.collect.ObjectArrays"
Can anyone help? I use Maven to create a project.
Patty source
share