Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.kasource.kaevent.example.guice.simple.event;
 
 
 
 //CHECKSTYLE:OFF
 ///CLOVER:OFF
public class TemperatureChangeEvent extends EventObject {
	private static final long serialVersionUID = 1L;
	private double currentTemperature;
    
	 public TemperatureChangeEvent(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