Last active
August 29, 2015 14:25
Revisions
-
Topher Winward renamed this gist
Jul 18, 2015 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
Topher Winward revised this gist
Jul 18, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ // Telescoping constructor var employee = Immutable(new Employee("John", "01234 56432", "07922344500", "53 Oakland Road", "Devon", "UK")); // With builder var employee = new EmployeeBuilder() -
Topher Winward created this gist
Jul 18, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ // Telescoping constructor var employee = new Employee("John", "01234 56432", "07922344500", "53 Oakland Road", "Devon", "UK"); // With builder var employee = new EmployeeBuilder() .name("John") .phone("01234 56432") .mobile("07922344500") .addresslineone("53 Oakland Road") .county("Devon") .country("UK") .build();