Commit Graph

796 Commits

Author SHA1 Message Date
Yang Libin
6ad2c9ff3b
Merge pull request #1178 from ali4j/Development
Adding Proxy Design Pattern
2019-11-28 11:33:47 +08:00
ali4j
5d790266e7 adds proxy design pattern. 2019-11-03 18:05:40 +03:30
Yang Libin
6c8151f64e
Merge pull request #902 from renjithgr/Development
Use Gradle instead of Maven
2019-09-28 14:43:55 +08:00
Renjith
98982f8f25 Converting to a gradle project 2019-09-27 22:35:00 -07:00
Yang Libin
3750999f5a
Merge pull request #795 from laingke/Development
* Add Maven frameworks support
* close #529 
* close #815
2019-08-27 16:43:07 +08:00
laingke
d6002f87da docs: update README 2019-07-19 14:40:15 +08:00
laingke
87693f051c fix: Correct the package path and reference 2019-07-19 14:32:02 +08:00
laingke
d579b8e903 feat: Add Maven frameworks support.
1. Add JUnit Jupiter dependency;
2. Add maven-resources-plugin to fix path problem in SimplexNoise testcase;
3. Add maven-compiler-plugin to tell the default compiler version;
2019-07-19 14:16:37 +08:00
Libin Yang
837f635001
Merge pull request #769 from abhijay94/Development
Added adapter pattern and its test case
2019-05-29 09:46:45 +08:00
Abhijay Kumar
c31c39a08e Removed usage of BigInteger constructor for constants 2019-05-28 17:45:32 +05:30
Abhijay Kumar
a7a9abd8c0 Corrected the package for the JUnit 2019-05-27 12:06:39 +05:30
Abhijay Kumar
afe5d241b9 Added adapter pattern and its test case 2019-05-27 12:05:42 +05:30
Libin Yang
13a08836be
Update Sha2Test.java
Fix #768
2019-05-24 17:28:00 +08:00
Libin Yang
fc421591fc
Merge pull request #767 from abhijay94/Development
Added the code for Abstract factory pattern implementation and JUnit
2019-05-24 16:47:04 +08:00
Abhijay Kumar
7e33042c3a @Test annotated methods must be public. Removed the annotation and made methods private 2019-05-24 13:45:48 +05:30
Abhijay Kumar
8841314c87 Added the code for Abstract factory pattern implementation and its unit test 2019-05-24 13:24:29 +05:30
Libin Yang
ceae5ee44a
Merge pull request #766 from abhijay94/Development
Cast the second operand of Math.pow to double - SonarQube analysis
2019-05-23 14:47:32 +08:00
Abhijay Kumar
4456658f82 Merge remote-tracking branch 'origin/Development' into Development 2019-05-23 12:07:44 +05:30
Abhijay Kumar
3f9ff6e3b5 Prevent the byte from getting automatically promoted 2019-05-23 12:07:30 +05:30
Abhijay Kumar
c25da3ce97
Update src/main/java/com/generation/SimplexNoise.java
Co-Authored-By: Libin Yang <contact@yanglibin.info>
2019-05-23 09:40:46 +05:30
Abhijay Kumar
5358f8ddc9
Added space after typecast expression
Co-Authored-By: Libin Yang <contact@yanglibin.info>
2019-05-23 00:21:14 +05:30
Abhijay Kumar
b6772c5fb1 Cast the second operand of Math.pow to double 2019-05-22 12:49:33 +05:30
Libin Yang
d8bfa59b14
Merge pull request #763 from abhijay94/Development
Added the prototype pattern and its unit test
2019-05-22 08:52:22 +08:00
Abhijay Kumar
132060f078
Merge branch 'Development' into Development 2019-05-21 14:26:32 +05:30
Abhijay Kumar
4fd7698fd2 Updated SimpleNoise test to use org.juint.Assert instead of jupiter 2019-05-21 14:21:25 +05:30
Abhijay Kumar
ba90059624 Added the prototype pattern and its unit test 2019-05-21 14:14:43 +05:30
Libin Yang
04f6924ec5
Merge pull request #762 from abhijay94/Development
Added a sub-package for "creational" in order to organize the code
2019-05-21 14:57:10 +08:00
Abhijay Kumar
ee985d510b Added a sub-package for "creational" in order to organize the code better 2019-05-21 11:37:16 +05:30
Libin Yang
6458e31c45
Merge pull request #757 from abhijay94/Development
Added Builder Design pattern implementation in Java and its test
2019-05-17 18:14:50 +08:00
Abhijay Kumar
b532d70716 Added Builder Design pattern implementation in Java and its test 2019-05-16 16:05:27 +05:30
Libin Yang
21f82001dd
Merge pull request #756 from abhijay94/Development
Added Factory pattern implementation in Java and its test
2019-05-16 15:42:51 +08:00
Abhijay Kumar
616d5cfcc8
Update src/test/java/com/designpatterns/factorypattern/PolygonFactoryTest.java
Co-Authored-By: Libin Yang <contact@yanglibin.info>
2019-05-16 13:05:49 +05:30
Abhijay Kumar
321ebea864
Update src/test/java/com/designpatterns/factorypattern/PolygonFactoryTest.java
Co-Authored-By: Libin Yang <contact@yanglibin.info>
2019-05-16 13:05:42 +05:30
Abhijay Kumar
6ffb2d5b4e
Update src/test/java/com/designpatterns/factorypattern/PolygonFactoryTest.java
Co-Authored-By: Libin Yang <contact@yanglibin.info>
2019-05-16 13:05:13 +05:30
Abhijay Kumar
77881f67fd
Update src/test/java/com/designpatterns/factorypattern/PolygonFactoryTest.java
Co-Authored-By: Libin Yang <contact@yanglibin.info>
2019-05-16 13:05:06 +05:30
Abhijay Kumar
c11a0611a0
Update src/test/java/com/designpatterns/factorypattern/PolygonFactoryTest.java
Co-Authored-By: Libin Yang <contact@yanglibin.info>
2019-05-16 13:04:56 +05:30
Abhijay Kumar
c29640e0e2
Update src/test/java/com/designpatterns/factorypattern/PolygonFactoryTest.java
Co-Authored-By: Libin Yang <contact@yanglibin.info>
2019-05-16 13:04:41 +05:30
Abhijay Kumar
43d47225be Added Factory Design pattern implementation in Java and its test 2019-05-15 17:17:37 +05:30
Libin Yang
f01927dcb3
Merge pull request #754 from abhijay94/Development
Added Singleton Design pattern implementation in Java and its test
2019-05-15 16:03:23 +08:00
Abhijay Kumar
4a3f871218
Update src/test/java/com/designpatterns/singletonpattern/SingletonTest.java
Removed println statement

Co-Authored-By: Libin Yang <contact@yanglibin.info>
2019-05-15 13:31:07 +05:30
Abhijay Kumar
ea6c4e5a8a Added Singleton Design pattern implementation in Java and its test 2019-05-14 14:54:50 +05:30
Libin Yang
e2a6b024b1
Merge pull request #753 from abhijay94/Development
Added the algorithm and test for Fibonacci Search
2019-05-13 21:30:17 +08:00
Libin Yang
09c4cd790f
Update FibonacciSearch.java
Add single space after `//`
2019-05-13 21:29:00 +08:00
Abhijay Kumar
36f977936d Added the algorithm and test for Fibonacci Search 2019-05-13 16:36:38 +05:30
Libin Yang
0276ccd903
Merge pull request #751 from TheAlgorithms/revert-737-Development
Revert "Added DepthFirstSearch.java and DepthFirstTestSearch.java"
2019-05-11 09:53:11 +08:00
Libin Yang
e5856e329f
Revert "Added DepthFirstSearch.java and DepthFirstTestSearch.java" 2019-05-11 09:52:38 +08:00
Libin Yang
af6daf7af6
Merge pull request #737 from abircb/Development
Added DepthFirstSearch.java and DepthFirstTestSearch.java
2019-05-11 09:42:32 +08:00
Abir Bhushan
fa1503fa77
Apply suggestions from code review
Update DepthFirstSearch.java - signature removed, and whitespaces resolved

Co-Authored-By: Libin Yang <contact@yanglibin.info>
2019-05-10 19:48:02 +01:00
Libin Yang
ada660a4c3
refactor: update FastPower 2019-05-10 15:43:36 +08:00
Libin Yang
cac1b0b4c7
Delete FastPowerTest.java___jb_tmp___ 2019-05-10 15:42:55 +08:00