Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.kasource.kaevent.example.guice.channel.event;
 
 
 //CHECKSTYLE:OFF
 ///CLOVER:OFF
 @Event(annotation = OnTemperatureChanged.class)
public class TemperatureChangedEvent extends BaseEvent {
	private static final long serialVersionUID = 1L;
	private double currentTemperature;
	public TemperatureChangedEvent(Thermometer sourcedouble currentTemperature) {
		super(source);
		this. = currentTemperature;
	}
	 public Thermometer getSource() {
		 return (Thermometersuper.getSource();
	 }
	 
     public double getCurrentTemperature() {
         return this.;
     }
New to GrepCode? Check out our FAQ X