@Test public void testSetValue() { point.setValue(val2); assertEquals(val2, point.getValue()); verify(eventHelper, times(1)) .addEventPayload( eq(continuousMapping), any(VisualMappingFunctionChangeRecord.class), eq(VisualMappingFunctionChangedEvent.class)); }
public void setValue(K value) { K oldValue = this.value; if ((value == null && oldValue != null) || (value != null && !value.equals(oldValue))) { this.value = value; eventHelper.addEventPayload(parentMapping, new VisualMappingFunctionChangeRecord(), VisualMappingFunctionChangedEvent.class); } }
ContinuousMappingPoint { public void setValue(K value) { K oldValue = this.value; if ((value == null && oldValue != null) || (value != null && !value.equals(oldValue))) { this.value = value; eventHelper.addEventPayload(parentMapping, new VisualMappingFunctionChangeRecord(), VisualMappingFunctionChangedEvent.class); } } }
ContinuousMappingPoint { public void setValue(K value) { K oldValue = this.value; if ((value == null && oldValue != null) || (value != null && !value.equals(oldValue))) { this.value = value; eventHelper.addEventPayload(parentMapping, new VisualMappingFunctionChangeRecord(), VisualMappingFunctionChangedEvent.class); } } ContinuousMappingPoint(K value, BoundaryRangeValues<V> range, final ContinuousMapping<K, V> parentMapping,
			final CyEventHelper eventHelper); }
ContinuousMappingPoint { public void setValue(K value) { K oldValue = this.value; if ((value == null && oldValue != null) || (value != null && !value.equals(oldValue))) { this.value = value; eventHelper.addEventPayload(parentMapping, new VisualMappingFunctionChangeRecord(), VisualMappingFunctionChangedEvent.class); } } ContinuousMappingPoint(K value, BoundaryRangeValues<V> range, final ContinuousMapping<K, V> parentMapping,
			final CyEventHelper eventHelper); K getValue(); void setValue(K value); BoundaryRangeValues<V> getRange(); void setRange(BoundaryRangeValues<V> range); }
ContinuousMappingPoint { public void setValue(K value) { K oldValue = this.value; if ((value == null && oldValue != null) || (value != null && !value.equals(oldValue))) { this.value = value; eventHelper.addEventPayload(parentMapping, new VisualMappingFunctionChangeRecord(), VisualMappingFunctionChangedEvent.class); } } ContinuousMappingPoint(K value, BoundaryRangeValues<V> range, final ContinuousMapping<K, V> parentMapping,
			final CyEventHelper eventHelper); K getValue(); void setValue(K value); BoundaryRangeValues<V> getRange(); void setRange(BoundaryRangeValues<V> range);  }