package test.xstream; public class MyClass extends MyAbstractBase { private static final int[] iArray = new int[] { 0, 1, 2, 3 }; private static final boolean b = true; private static String s = "string"; public MyClass() { super(iArray, b, s); } String getString() { return s; } void setString(final String string) { s = string; } void zeroArray() { super.zeroArray(); } public boolean equals(Object rhs) { if (rhs != null && rhs instanceof MyClass == false) return false; return (this == rhs) ? true : super.equals(rhs); } }