Skip to content

Commit

Permalink
Interface names changed
Browse files Browse the repository at this point in the history
  • Loading branch information
BeytullahYayla committed May 8, 2022
1 parent d49405c commit 1c43777
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@



public interface AgArayuzu{
public interface IAgArayuzu{
public void getMenu();
public void sogutucuAc();
public void sogutucuKapat();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
import java.io.Console;
import java.io.InputStreamReader;
import java.util.Scanner;
import CentralProcessingUnit.Eyleyici.Abstract.Eyleyici;
import CentralProcessingUnit.SicaklikAlgilayici.Abstract.SicaklikAlgilayici;
import CentralProcessingUnit.Eyleyici.Abstract.IEyleyici;
import CentralProcessingUnit.SicaklikAlgilayici.Abstract.ISicaklikAlgilayici;
import Observer.Concrete.Subscriber1;

public class AgArayuzu implements CentralProcessingUnit.AgArayuzu.Abstract.AgArayuzu {
public class AgArayuzu implements CentralProcessingUnit.AgArayuzu.Abstract.IAgArayuzu {

private Eyleyici eyleyici;
private SicaklikAlgilayici sicaklikAlgilayici;
public AgArayuzu(Eyleyici eyleyici,SicaklikAlgilayici sicaklikAlgilayici){
private IEyleyici eyleyici;
private ISicaklikAlgilayici sicaklikAlgilayici;
public AgArayuzu(IEyleyici eyleyici,ISicaklikAlgilayici sicaklikAlgilayici){
this.eyleyici=eyleyici;
this.sicaklikAlgilayici=sicaklikAlgilayici;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@



public interface Eyleyici {
public interface IEyleyici {
public void sogutucuAc();
public void sogutucuKapat();
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package CentralProcessingUnit.Eyleyici.Concrete;


public class Eyleyici implements CentralProcessingUnit.Eyleyici.Abstract.Eyleyici {
public class Eyleyici implements CentralProcessingUnit.Eyleyici.Abstract.IEyleyici {
@Override
public void sogutucuAc() {
System.out.println("Sogutucu Acildi");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package CentralProcessingUnit.SicaklikAlgilayici.Abstract;
import Observer.Abstract.Observer;

public interface SicaklikAlgilayici{
public interface ISicaklikAlgilayici{
public double sicaklikAlgila();

}
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package CentralProcessingUnit.SicaklikAlgilayici.Concrete;
import java.util.Random;


import CentralProcessingUnit.SicaklikAlgilayici.Abstract.ISicaklikAlgilayici;
import Observer.Abstract.Subject;
import Observer.Concrete.Subscriber1;
import Observer.Concrete.Subscriber2;


public class SicaklikAlgilayici implements CentralProcessingUnit.SicaklikAlgilayici.Abstract.SicaklikAlgilayici {
public class SicaklikAlgilayici implements ISicaklikAlgilayici {
Subject publisher;
public SicaklikAlgilayici(Subject publisher) {
this.publisher=publisher;
Expand Down

0 comments on commit 1c43777

Please sign in to comment.