Inluminous
2d4d7dd742
Rewrote Stack.java
...
The previous implementation would show unexpected behaviour when using the values returned by pop() and peek().
Generic type was needed but not used in implementation thus leading to redundancy.
push() had unnecessary return type.
2020-03-07 17:19:52 +01:00
Inluminous
573b1ce056
Update Maven URL from HTTP to HTTPS
...
Since January 15, 2020 Maven Central no longer supports insecure communication over plain HTTP and requires that all requests to the repository are encrypted over HTTPS.
2020-03-07 16:10:38 +01:00
Yang Libin
8b416b1267
Merge pull request #1199 from myronrotter/Development
...
Add simple gradle workflow for Development
2020-01-12 09:42:45 +08:00
Myron Rotter
f015210382
Add simple gradle workflow
2020-01-04 11:04:48 +01:00
Yang Libin
3fe20e3eff
Merge pull request #1186 from ali4j/Development
...
Decorator pattern Implementation
2019-12-15 10:06:51 +08:00
ehsan
78f7a803ea
adds new test for testing encoding and compressing email.
2019-12-14 22:03:49 +03:30
ehsan
59eb36e4ab
commits tests for testing decorator pattern.
2019-12-13 23:57:49 +03:30
Ehsan
c52e12aa05
commits decorator design pattern.
2019-12-13 23:08:14 +03:30
Ehsan
15d0f56c7a
Merge pull request #2 from TheAlgorithms/Development
...
merging thealgorithms/java to ali4j/java dev branch
2019-12-11 21:31:32 +03:30
Yang Libin
5ec13c6bcb
Merge pull request #1180 from myidrajkumar/Development
...
Fixing 'Generics' issue in Sort
2019-12-08 16:19:38 +08:00
Rajkumar
56b374ce9f
Fixed 'Generics' issue of bubble sort since Sort class should accept
...
only comparable datatype rather than just restricting sort method
2019-12-08 01:03:31 +05:30
Ehsan
45fee1868e
adds commit to the President class.
2019-11-29 03:03:25 +03:30
Ehsan
e30d11545f
removes the Citizen class in src directory.
...
changes messages printed by the secretary and the president.
2019-11-29 02:59:56 +03:30
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