@Test public void testSet_Mutability() { ModelBoolean bool1 = modelBoolean().set(true); ModelBoolean bool2 = bool1.set(false); ModelBoolean bool3 = bool2.set(true); assertTrue(bool1 == bool2); assertTrue(bool2 == bool3); }
@Override public ModelBoolean set(boolean value) { this.value.set(value); return this; }
DmrModelBoolean extends DmrModelValue implements ModelBoolean { @Override public ModelBoolean set(boolean value) { this.value.set(value); return this; } }
DmrModelBoolean extends DmrModelValue implements ModelBoolean { @Override public ModelBoolean set(boolean value) { this.value.set(value); return this; } DmrModelBoolean(ModelNode value); }
DmrModelBoolean extends DmrModelValue implements ModelBoolean { @Override public ModelBoolean set(boolean value) { this.value.set(value); return this; } DmrModelBoolean(ModelNode value); @Override boolean getValue(); @Override ModelBoolean set(boolean value); @Override T asValue(Class<T> valueType); }
DmrModelBoolean extends DmrModelValue implements ModelBoolean { @Override public ModelBoolean set(boolean value) { this.value.set(value); return this; } DmrModelBoolean(ModelNode value); @Override boolean getValue(); @Override ModelBoolean set(boolean value); @Override T asValue(Class<T> valueType);  }