Commit Graph

1185 Commits

Author SHA1 Message Date
Josh Cummings 1a06dfb941
Floating-point Formatting (#5244)
These samples show some different approaches for formatting a
floating-point value into a String, while removing its decimal part.

Included is a benchmark to show how each approach performs.

Issue: BAEL-2152
2018-09-13 06:42:33 -06:00
daoire 6009c4f910 Updates to Double to string 2018-09-12 20:35:59 +01:00
daoire d037c59c3c
Merge pull request #5197 from vaibs28/master
BAEL-2152
2018-09-09 20:17:56 +01:00
Vaibhav Sahay c98a0234ae
Delete DoubletoString.java 2018-09-08 10:04:07 +05:30
Vaibhav Sahay 6b5204cf47
BAEL-2152 Convert double to String
Code snippet for converting and formatting double to String
2018-09-08 09:59:28 +05:30
Vaibhav Sahay 9aa085292d
import NumberFormat 2018-09-08 00:27:15 +05:30
Vaibhav Sahay 37544c141b
added formatting using Locales 2018-09-08 00:25:25 +05:30
Rokon Uddin Ahmed fccf56fdc2 BAEL-8287 (#5180)
* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2018-09-07 13:56:13 +03:00
daoire 1dab83863b
Update README.md 2018-09-07 07:41:52 +01:00
Vaibhav Sahay 0da07de99e
BAEL-2152
code snippet for converting double to String
2018-09-05 19:09:31 +05:30
Donato Rimenti 2a66773c7c [BAEL-1935] Synthetic Class in Java (#5122)
* BAEL-1935: Synthetic Class in Java

* Converted tabs to spaces
2018-09-03 19:05:41 +02:00
Predrag Maric a32904fc19
BAEL-2151 code moved to algorithms module (#5141) 2018-09-02 12:06:04 +02:00
Swapan Pramanick b7aa6a2caa BAEL-2140 (#5092) 2018-09-02 07:08:12 +02:00
myluckagain de84251d48 fix y-coord (#5124)
BAEL-2151 fix y-coord
2018-09-01 09:54:59 +02:00
myluckagain 3824590375 float to double (#5118) 2018-08-30 23:42:16 +02:00
myluckagain 2a12e9abd4 BAEL-2151 (#5087)
BAEL-2151
2018-08-30 00:56:21 +02:00
Kacper c4cb6eec73 Move optional to java-8-core (#5105) 2018-08-29 06:51:41 -07:00
Kacper 8ac53f70c4 Optional or else throw (#5088)
* Throw and throws in Java

* BAEL-2122 | throw exception in optional

* BAEL-2122 | optional orelsethrow

* fix test
2018-08-27 22:21:33 +02:00
amit2103 c5e1d6f0ef [BAEL-8456] - Moved more articles into 'java-dates' module 2018-08-26 00:49:30 +05:30
amit2103 3bd1ed4ece [BAEL-8456] - Moved Java Date articles into a new module - 'java-dates' 2018-08-25 17:44:06 +05:30
Kacper 9b343be45e BAEL-2122 Optional or else throw (#5047)
* Throw and throws in Java

* BAEL-2122 | throw exception in optional

* BAEL-2122 | optional orelsethrow
2018-08-24 13:18:30 +02:00
daoire 2779300352
Merge pull request #4898 from Kirti-Deo/master
BAEL-2024 : java.lang.ClassCastException: java.util.Arrays$ArrayList cannot be cast to java.util.ArrayList
2018-08-24 07:59:47 +01:00
Kirti Deo 7afb1b2dc8 BAEL-2024 : Fixed review comments by Darragh. 2018-08-22 20:17:33 +05:30
sachin fb0023286a BAEL-7674: Let's make sure our logging configuration has the same pattern 2018-08-21 18:22:53 -04:00
daoire cae45a3be6
Update README.md 2018-08-21 07:06:37 +01:00
Loredana Crusoveanu 32f2daa7f2
Merge pull request #4964 from dkapil/story/BAEL-7636
BAEL-7636 Add the missing plugin versions in the tutorial repo
2018-08-21 08:33:37 +03:00
Kirti Deo 8136464a6e BAEL-2024 : ClassCastException : Fixing review comments 2018-08-20 21:12:40 +05:30
Kacper 9156ec3736 Throw and throws in Java (#4990) 2018-08-19 22:02:27 +02:00
Dhawal Kapil 847c9e9edd Merge branch 'master' of https://github.com/eugenp/tutorials into story/BAEL-7636 2018-08-19 22:59:08 +05:30
Loredana Crusoveanu ec790a6a8c
delete duplicate test 2018-08-19 15:14:16 +03:00
Loredana Crusoveanu a6327bdcc2
Update PizzaUnitTest.java 2018-08-19 14:22:32 +03:00
Loredana Crusoveanu ab560b7580
remove string-related code 2018-08-19 07:33:37 +03:00
Loredana Crusoveanu a35c7789b9
Merge pull request #4997 from amit2103/BAEL-8232
[BAEL-8232] - Moved java string related code and github links into ne…
2018-08-19 07:28:48 +03:00
Kevin Wittek ba7efbcc43 Example for removing first element of array (BAEL-2029) (#4970)
* Example for removing first element of array (BAEL-2029)

* Use AssertJ assertions

* Move array test to collections module.

* Remove redundant test
2018-08-18 19:34:47 -05:00
KevinGilmore 65cd3b3bd5
BAEL-2066 Update README (#5000)
* BAEL-1766: Update README

* BAEL-1853: add link to article

* BAEL-1801: add link to article

* Added links back to articles

* Add links back to articles

* BAEL-1795: Update README

* BAEL-1901 and BAEL-1555 add links back to article

* BAEL-2026 add link back to article
2018-08-18 19:29:20 -05:00
amit2103 b4036907b9 [BAEL-8232] - Moved non-string related code to core-java and copied PizzaStatusEnum class and PizzaUnitTest relavent TCs to java-strings module 2018-08-19 01:20:13 +05:30
amit2103 742c77a931 [BAEL-8232] - Moved code from core-java to java-strings module for 'Converting Strings to Enums in Java' article 2018-08-19 00:34:16 +05:30
amit2103 74bfeb18ad Merge branch 'master' of https://github.com/eugenp/tutorials into BAEL-8232 2018-08-19 00:04:04 +05:30
amit2103 ca9b13d705 [BAEL-8232] - Removed unwanted dependencies and moved CountCharsExampleUnitTest from core-java to java-strings module 2018-08-19 00:02:02 +05:30
Loredana Crusoveanu 9d1568c654
Merge pull request #4996 from lor6/fix-equals
fix equals method
2018-08-18 21:16:44 +03:00
amit2103 ab17b8e697 [BAEL-8232] - Moved java string related code and github links into new module java-strings 2018-08-18 23:24:10 +05:30
amit2103 bbc36e0daf [BAEL-8217] - Updated github links 2018-08-18 21:14:31 +05:30
Loredana Crusoveanu b4f0f403e2
Update User.java 2018-08-18 16:00:18 +03:00
Loredana Crusoveanu 955e78a306
Merge pull request #4991 from lor6/BAEL-8219
Bael 8219
2018-08-18 15:53:59 +03:00
Alejandro Gervasio 65fa376887 BAEL #4987 - Java Constructors vs Static Factory Methods (#4987)
* Initial Commit

* Update User.java

* Update UserUnitTest.java

* Update User.java - UserUnitTest.java

* Update User.java
2018-08-17 17:50:13 -05:00
Loredana Crusoveanu 79a8c80853 fix equals method 2018-08-17 15:39:55 +03:00
Alejandro Gervasio 880bd891b9 BAEL-2066 - Java Constructors vs Static Factory Methods (#4934)
* Initial Commit

* Update User.java

* Update UserUnitTest.java

* Update User.java - UserUnitTest.java
2018-08-16 21:00:43 -05:00
Dhawal Kapil 3b4c74874d Merge branch 'master' of https://github.com/eugenp/tutorials into story/BAEL-7636 2018-08-16 10:07:18 +05:30
Loredana Crusoveanu 59d82006c5
Merge pull request #4974 from amit2103/BAEL-8217
Moved core persisatnce codes from core java to core java persistence
2018-08-15 22:26:34 +03:00
Loredana Crusoveanu 854614166f fix exceptions tests 2018-08-15 22:19:02 +03:00