@Test public void testClone() { RiddleImpl m = new RiddleImpl(); m.setAll(QuadraticArrays.parse(FULL_EXAMPLE)); RiddleImpl clone = (RiddleImpl) m.clone(); assertNotSame(clone, m); assertEquals(clone, m); }
@Override public final Object clone() { RiddleImpl clone; clone = (RiddleImpl) super.clone(); clone.writeable = QuadraticArrays.cloneArray(writeable); return clone; }
RiddleImpl extends GameMatrixImpl implements Cloneable, Riddle { @Override public final Object clone() { RiddleImpl clone; clone = (RiddleImpl) super.clone(); clone.writeable = QuadraticArrays.cloneArray(writeable); return clone; } }
RiddleImpl extends GameMatrixImpl implements Cloneable, Riddle { @Override public final Object clone() { RiddleImpl clone; clone = (RiddleImpl) super.clone(); clone.writeable = QuadraticArrays.cloneArray(writeable); return clone; } RiddleImpl(); }
RiddleImpl extends GameMatrixImpl implements Cloneable, Riddle { @Override public final Object clone() { RiddleImpl clone; clone = (RiddleImpl) super.clone(); clone.writeable = QuadraticArrays.cloneArray(writeable); return clone; } RiddleImpl(); @Override final boolean getWritable(final int row, final int column); @Override final void setWritable(final int row,
            final int column,
            final boolean set); @Override final Object clone(); }
RiddleImpl extends GameMatrixImpl implements Cloneable, Riddle { @Override public final Object clone() { RiddleImpl clone; clone = (RiddleImpl) super.clone(); clone.writeable = QuadraticArrays.cloneArray(writeable); return clone; } RiddleImpl(); @Override final boolean getWritable(final int row, final int column); @Override final void setWritable(final int row,
            final int column,
            final boolean set); @Override final Object clone();  }