I hereby claim:
- I am hwiggy on github.
- I am hwiggy (https://keybase.io/hwiggy) on keybase.
- I have a public key ASA0R0k6oMEb8muQt3BTm2c6niJ1VrQLMn4Ww5SJqTuDjQo
To claim this, I am signing this object:
/** | |
* Dependency class for the Dependency Injection example. | |
*/ | |
class Dependency { | |
/** | |
* The value enclosed inside this Dependency | |
*/ | |
private final Object value; | |
/** |
//This Dependency class will be our main class. | |
public class Dependency implements Dependable{ | |
//Create a Dependent object using the instance of this dependency in the constructor | |
private final Dependent dependent = new Dependent(this); | |
//Create an OtherDependent object using the instance of this dependency in the constructor | |
private final OtherDependent otherDependent = new OtherDependent(this); | |
//Create an OtherDependent object using the instance of the dependent object in the constructor |
I hereby claim:
To claim this, I am signing this object: