return x.getArray1().equals(y.getArray1())
&& x.getArray2().equals(y.getArray2());
}
public void testCompoundArray() throws Exception {
CompoundArray x = new CompoundArray();
x.getArray1().addAll(Arrays.asList("AAA", "BBB", "CCC"));
x.getArray2().addAll(Arrays.asList("aaa", "bbb", "ccc"));
CompoundArray yOrig = new CompoundArray();
yOrig.getArray1().addAll(Arrays.asList("XXX", "YYY", "ZZZ"));
yOrig.getArray2().addAll(Arrays.asList("xxx", "yyy", "zzz"));
Holder<CompoundArray> y = new Holder<CompoundArray>(yOrig);
Holder<CompoundArray> z = new Holder<CompoundArray>();
CompoundArray ret;
if (testDocLiteral) {
ret = docClient.testCompoundArray(x, y, z);
} else {
ret = rpcClient.testCompoundArray(x, y, z);
}