Commit Graph

76 Commits

Author SHA1 Message Date
Amit Pandey ec46f6de26 [BAEL-12899] - Splitted the java-strings module (#7410) 2019-08-02 00:44:32 -04:00
eric-martin 8f5f12519f BAEL-2328: Using isTrue() and isFalse() for assertions 2019-01-28 20:37:45 -06:00
Eric Martin 72574f554a
Merge pull request #6112 from MherBaghinyan/BAEL-2328
Bael 2328
2019-01-28 20:22:43 -06:00
mherbaghinyan 2a308c51cb suggested refactor 2019-01-27 10:34:13 +04:00
mherbaghinyan 8c18214c55 more unit tests 2019-01-23 09:44:05 +04:00
mherbaghinyan 5c1a0a0629 change the ArrayList into List 2019-01-21 09:57:15 +04:00
mherbaghinyan 9f798d483d test the methods with Unit test 2019-01-16 13:18:04 +04:00
mherbaghinyan aa125c6c6b remove unnecessary method 2019-01-14 11:58:31 +04:00
mherbaghinyan c9275edf90 matching for all keywords 2019-01-14 11:53:53 +04:00
mherbaghinyan 04c6cd1215 replace hardcoded strings 2019-01-13 11:35:54 +04:00
mherbaghinyan 06ffe3b5e4 match words final refactor 2019-01-13 11:04:42 +04:00
mherbaghinyan 16bed6f64b match words refactoring 2019-01-13 10:42:18 +04:00
Eric Martin 0fa8d64898
Merge pull request #6118 from rodolforfq/BAEL-2446
BAEL-2446
2019-01-11 13:29:04 -06:00
mherbaghinyan ea5039f1a1 indexOf changed example 2019-01-11 15:05:34 +04:00
Emily Cheyne c65180c74f
BAEL-2535
Remove CustomerReflectionToStringUnitTest
2019-01-10 15:05:00 -07:00
Rodolfo Felipe 44a796b9e6 Deleting invalid package
Package added by eclipse. Nonexistent.
2019-01-09 23:16:44 -04:00
Rodolfo Felipe 57228dfc6b BAEL-2446
Unit tests for new added examples.
2019-01-09 22:29:44 -04:00
mherbaghinyan 9e9458ea5f indexOf example 2019-01-09 17:17:35 +04:00
mherbaghinyan d413ec768f match words final 2019-01-09 16:18:32 +04:00
mherbaghinyan 1861e9b94c match words 2019-01-09 16:16:48 +04:00
mherbaghinyan f1e3ceaea7 text searching Aho-Corasick algorithm 2019-01-09 12:21:43 +04:00
eric-martin 59fa72d45b Fix PMD violations in java-strings *ToStringTest 2019-01-07 21:51:47 -06:00
Eric Martin 3da571a218
Merge pull request #6052 from jainvarz/BAEL-2536-check-for-a-panagram-string
BAEL-2536-check-for-a-panagram-string
2019-01-07 19:59:02 -06:00
Rajesh Bhojwani 65b9909fed username:rajeshbhojwani "Java toString() method" (#6047)
* Check in code for Java toString method

* fix formatting issues

* Fix formatting issues

* Fix formatting issues

* Fix formatting issues

* Fix formatting issues

* Fix formatting issues

* replacing orders with order

* Update formatting

* Fix formatting

* Fix formatting

* Fix formatting

* Fix formatting

* Fix formatting
2019-01-07 10:31:13 +02:00
Varun Jain 082724abec BAEL-2536-addressed review comments 2019-01-05 10:38:13 +05:30
Varun Jain 693da95f44 BAEL-2536-updated Panagram to Pangram 2019-01-03 22:44:52 +05:30
Varun Jain 4eb3f29430 BAEL-2536-addressed review comments 2019-01-03 22:42:26 +05:30
ramansahasi bdcc961542 BAEL-2392_Java_String_interview_questions second commit (#6064) 2019-01-03 07:49:51 -07:00
Varun Jain eacc84a450 BAEL-2536-added-unit-tests-for-panagram 2019-01-03 08:08:25 +05:30
Varun Jain 75bf7ba515 BAEL-2536-check-for-a-panagram-string 2019-01-02 22:11:21 +05:30
amit2103 eb4928b972 [BAEL-11403] - Moved articles out of core-java (part 4) 2018-12-30 16:30:36 +05:30
Sam Millington b4eee1e231 BAEL-2419: Added String Concatenation Unit Tests (#5898) 2018-12-24 10:02:29 -03:00
Shashank agarwal fda7ff2690 Added Character Array method (#5965)
* Added the code of Replace char in a string at specific index

* added test cases

* Renamed the Test class name end with UnitTest

* Renamed the Test class name end with UnitTest

* Renamed the Test class name end with UnitTest

* Replaced README with the upstream repo

* Added Char Array Method
2018-12-23 09:27:01 -06:00
Shashank agarwal 547f99925f Added the code of Replace char in a string at specific index (#5869)
* Added the code of Replace char in a string at specific index

* added test cases

* Renamed the Test class name end with UnitTest

* Renamed the Test class name end with UnitTest

* Renamed the Test class name end with UnitTest

* Replaced README with the upstream repo
2018-12-19 22:49:27 -06:00
Loredana Crusoveanu 46c8f48d3c
Merge branch 'master' into BAEL-2313-String-to-byte-array 2018-12-16 12:39:51 +02:00
PranayVJain b6e0928f5b BAEL-2337: Moved code from java-strings to algorithm-miscellaneous-1 (#5905) 2018-12-14 22:31:26 -06:00
Surapaneni Venkata Kiran cb7e515723 BAEL-2421
* Changes for http://jira.baeldung.com/browse/BAEL-2421

* fixed formatting

* Merged the test and main classes as per the suggestion.

* Merged the source code with tests.
2018-12-12 11:19:45 -08:00
PranayVJain 5072291b32 BAEL-2337: Find Substring which are palindromes (#5766)
* BAEL-2337: Added test cases to find substring which are palindromes

* BAEL-2337: Changed the names of the variables

* BAEL-2237: Formatted code using formatter.xml

* BAEL-2237: Renamed method and added variety of test cases

* BAEL-2337: Renamed unit test cases name according to BBD style naming convention
2018-12-07 21:16:28 -06:00
fanatixan 857192358c bael-2361 (#5804)
* bael-2361

* Update RemoveLeadingAndTrailingZeroes.java

* moving examples to java-string project
2018-12-02 10:36:38 -08:00
FrancoCorleone a1de031c67 Add joining primitives tests (#5740)
* Add joining primitives tests

* Small refactor

* Fix naming for PMD

* Add char examples to testing cases

* Fix literal separator

* CR changes
2018-11-25 21:14:20 -06:00
amit2103 bff2c6f5b0 [BAEL-10780] - Added code for the checking string input article 2018-11-25 01:25:41 +05:30
kyleandari 58a536c395 BAEL 2330
* Implementing Hexagonal Architecture in java

* Removing duplicates from a string

* Fix for the code review feedback
- removing the hexagonal architecture code
- removing the methods removeDuplicatesUsingCharArray
- adding some meaningful sentences to test

* Fix for the code review feedback
- fix for removeDuplicatesUsingCharArray
- adding unit testing
- adding brackets around for loops

* Fix for the code review feedback

* Adding remove duplicates using java 8 distinct
adding assets to the unittests to test for empty strings

* Checking for empty strings in unit tests
Adding an if statement to check whether an empty string is passed to removeDuplicatesUsingSorting method
2018-11-23 07:46:20 -08:00
Seun Matt 4d3b4ca3f0 Moved example code for BAEL-2366 (#5752)
* added example code for BAEL-2366

* moved example code for BAEL-2366
2018-11-21 23:02:44 -08:00
kyleandari eba76ca5a2 BAEL-2330 (#5694)
* Implementing Hexagonal Architecture in java

* Removing duplicates from a string

* Fix for the code review feedback
- removing the hexagonal architecture code
- removing the methods removeDuplicatesUsingCharArray
- adding some meaningful sentences to test

* Fix for the code review feedback
- fix for removeDuplicatesUsingCharArray
- adding unit testing
- adding brackets around for loops

* Fix for the code review feedback
2018-11-18 19:56:37 -08:00
eric-martin 3defeb3e96 Moved AddingNewLineToString from core-java to java-strings 2018-11-17 11:20:06 -06:00
Eric Martin 06bb9653b9
Merge pull request #5661 from cror/substring-indexof
BAEL-2365: added 2 further examples with substring and indexOf
2018-11-12 21:17:29 -06:00
chandra 243323c55f Modified sample inputs to make the tests more meaningful. 2018-11-12 21:36:21 -05:00
cdjole c0a5e01918 Pad string. (#5669) 2018-11-11 19:44:35 -08:00
cror 129aa9ddc9 BAEL-2365: added 2 further examples with substring and indexOf 2018-11-11 16:18:36 +01:00
chandra be17633174 BAEL-2313 Convert String to Byte Array and Reverse in Java 2018-11-09 21:08:02 -05:00