* Bean Injection Project is added

Different Types of Bean Injection article codes are added.

* Java-based configuration added

Java-based configuration and tests are added. Coding styles are fixed.

* List of Lists Article Codes added.

List of Lists Article Codes added.
This commit is contained in:
Muhammet Oğuz ÖZCAN
2017-02-26 19:53:32 +02:00
committed by maibin
parent d4576d9762
commit 325466a782
16 changed files with 311 additions and 6 deletions
@@ -0,0 +1,18 @@
package com.baeldung.list.listoflist;
public class Pen implements Stationery {
public String name;
public Pen(String name) {
this.name = name;
}
public void setName(String name) {
this.name = name;
}
public String getName() {
return this.name;
}
}
@@ -0,0 +1,18 @@
package com.baeldung.list.listoflist;
public class Pencil implements Stationery{
public String name;
public Pencil(String name) {
this.name = name;
}
public void setName(String name) {
this.name = name;
}
public String getName() {
return this.name;
}
}
@@ -0,0 +1,18 @@
package com.baeldung.list.listoflist;
public class Rubber implements Stationery {
public String name;
public Rubber(String name) {
this.name = name;
}
public void setName(String name) {
this.name = name;
}
public String getName() {
return this.name;
}
}
@@ -0,0 +1,5 @@
package com.baeldung.list.listoflist;
public interface Stationery {
}