Commit Graph

18 Commits

Author SHA1 Message Date
Ulisses Lima 8ad8a38682 BAEL-5678 - Creating Random Numbers With No Duplicates in Java (#12698)
* BAEL-5678 - Creating Random Numbers With No Duplicates in Java

Ready for review.

* BAEL-5678 - review

* using `isEmpty()` for `hasNext()`;
* using `assertEquals` instead of `assertTrue`;
2022-10-26 08:44:35 +02:00
Asjad J b35be2b56e Updated README.md
added link back to the article: https://www.baeldung.com/java-unique-random-numbers
2022-09-30 16:33:34 +05:00
collaboratewithakash a9b07fe7c6 Update README.md 2022-09-23 16:39:30 +05:30
freelansam dc1815c10c JAVA-14673 - Fix formatting of POMs (#12722)
* JAVA-14673 - Fix formatting of POMs

* cleanup
2022-09-13 21:22:49 +05:30
Kai Yuan 1b334f6a2d Positive or negative (#12706)
* Check if a number is positive or negative in Java

* reformat single line if/else statements

* Check if a number is positive or negative in Java

* [positiveOrNegative] using compareTo() instead of == to compare float numbers

* [positiveOrNegative] re-org imports
2022-09-10 10:06:11 -05:00
Asjad J 795cbd3325 Updated README.md
added link back to the article: https://www.baeldung.com/java-integer-division-float-result
2022-09-02 09:00:15 +05:00
Asjad J 1ab14889e2 Updated README.md
added link back to the article: https://www.baeldung.com/java-list-factors-integer
2022-09-02 08:50:53 +05:00
Kai Yuan 78b7c6dcf8 Make Division of Two Integers Result in a Float (#12658) 2022-08-29 19:08:50 -05:00
Kai Yuan 0ea458117e List all factors of a number in Java (#12646)
* List all factors of a number in Java

* format the map code in the test
2022-08-26 20:26:38 -05:00
Asjad J 2da3b9df1d Updated README.md
added link back to the article: https://www.baeldung.com/java-armstrong-numbers
2022-08-25 21:45:03 +05:00
Asjad J 8bc901c7d1 Updated README.md
added link back to the article: https://www.baeldung.com/java-check-number-positive-negative
2022-08-25 16:59:44 +05:00
Kai Yuan 18d1cb40dc Armstrong Number in Java (#12637) 2022-08-24 20:40:26 -05:00
Kai Yuan 842a71ad92 Check if a number is positive or negative in Java (#12604)
* Check if a number is positive or negative in Java

* reformat single line if/else statements

* Check if a number is positive or negative in Java
2022-08-20 21:46:14 -05:00
Asjad J 659cfd8a27 Updated README.md
added link back to the article: https://www.baeldung.com/java-interval-contains-integer
2022-08-10 09:23:50 +05:00
Matei Cernăianu 858e158680 BAEL-5651: How to check if an integer is in a given range? (#12470)
* BAEL-5651: How to check if an integer is in a given range?

* BAEL-5651: How to check if an integer is in a given range?
2022-07-30 19:18:52 -04:00
tudor.marc ffe5873397 BAEL-5560 - quick fix for negative numbers 2022-06-30 10:24:43 +03:00
Asjad J cee261bdcb Updated README.md
added link back to the article: https://www.baeldung.com/java-check-number-parity
2022-06-27 14:43:46 +05:00
sampadawagde a1fbbd3c0c JAVA-12730: Rename java-numbers-5 to core-java-numbers-5 2022-06-26 16:25:18 +05:30