@Test(expected=UnsupportedOperationException.class) public void wrap2() { ArrayDouble array = new ArrayDouble(0, 1, 2, 3, 4, 5); array.setDouble(0, 0); }
@Override public void setDouble(int index, double value) { if (!readOnly) { array[index] = value; } else { throw new UnsupportedOperationException("Read only list."); } }
ArrayDouble extends ListDouble implements Serializable { @Override public void setDouble(int index, double value) { if (!readOnly) { array[index] = value; } else { throw new UnsupportedOperationException("Read only list."); } } }
ArrayDouble extends ListDouble implements Serializable { @Override public void setDouble(int index, double value) { if (!readOnly) { array[index] = value; } else { throw new UnsupportedOperationException("Read only list."); } } ArrayDouble(double... array);  ArrayDouble(double[] array, boolean readOnly); }
ArrayDouble extends ListDouble implements Serializable { @Override public void setDouble(int index, double value) { if (!readOnly) { array[index] = value; } else { throw new UnsupportedOperationException("Read only list."); } } ArrayDouble(double... array);  ArrayDouble(double[] array, boolean readOnly); @Override final IteratorDouble iterator(); @Override final int size(); @Override double getDouble(int index); @Override void setDouble(int index, double value); @Override boolean equals(Object obj); }
ArrayDouble extends ListDouble implements Serializable { @Override public void setDouble(int index, double value) { if (!readOnly) { array[index] = value; } else { throw new UnsupportedOperationException("Read only list."); } } ArrayDouble(double... array);  ArrayDouble(double[] array, boolean readOnly); @Override final IteratorDouble iterator(); @Override final int size(); @Override double getDouble(int index); @Override void setDouble(int index, double value); @Override boolean equals(Object obj);  }