@Test(expected=UnsupportedOperationException.class) public void wrap2() { ArrayBoolean array = new ArrayBoolean(new boolean[] {true, false, true, true}); array.setBoolean(0, true); }
@Override public void setBoolean(int index, boolean value) { if (!readOnly) { array[index] = value; } else { throw new UnsupportedOperationException("Read only list."); } }
ArrayBoolean extends ListBoolean implements Serializable { @Override public void setBoolean(int index, boolean value) { if (!readOnly) { array[index] = value; } else { throw new UnsupportedOperationException("Read only list."); } } }
ArrayBoolean extends ListBoolean implements Serializable { @Override public void setBoolean(int index, boolean value) { if (!readOnly) { array[index] = value; } else { throw new UnsupportedOperationException("Read only list."); } } ArrayBoolean(boolean... array);  ArrayBoolean(boolean[] array, boolean readOnly); }
ArrayBoolean extends ListBoolean implements Serializable { @Override public void setBoolean(int index, boolean value) { if (!readOnly) { array[index] = value; } else { throw new UnsupportedOperationException("Read only list."); } } ArrayBoolean(boolean... array);  ArrayBoolean(boolean[] array, boolean readOnly); @Override final int size(); @Override boolean getBoolean(int index); @Override void setBoolean(int index, boolean value); @Override boolean equals(Object obj); }
ArrayBoolean extends ListBoolean implements Serializable { @Override public void setBoolean(int index, boolean value) { if (!readOnly) { array[index] = value; } else { throw new UnsupportedOperationException("Read only list."); } } ArrayBoolean(boolean... array);  ArrayBoolean(boolean[] array, boolean readOnly); @Override final int size(); @Override boolean getBoolean(int index); @Override void setBoolean(int index, boolean value); @Override boolean equals(Object obj);  }