Biblioteca Java - Blame information for rev 3

Subversion Repositories:
Rev:
Rev Author Line No. Line
3 mihai 1 /*
2  * To change this license header, choose License Headers in Project Properties.
3  * To change this template file, choose Tools | Templates
4  * and open the template in the editor.
5  */
6 package designpatterns.mvc.senzor;
7  
8 import java.util.Observable;
9  
10 /**
11  *
12  * @author evo2
13  */
14 public class Senzor extends Observable{
15     private int valoare;
16  
17  
18     void setValoare(int v){
19         valoare = v;
20         this.setChanged();
21         this.notifyObservers();
22     }
23  
24     int getValoare(){
25         return valoare;
26     }
27  
28 }