59 Commits

Author SHA1 Message Date
psevestre
6c237aaf3a [BAEL-1381] Add JPA Examples (#6369)
* BAEL-1381

* [BAEL-1381]

* [BAEL-1381] New module name

* [BAEL-1381] software-security module

* [BAEL-1381] Add JPA examples
2019-02-17 21:39:24 -08:00
Dhananjay Singh
f894b40fe6 Char stack (#6248)
* Corrected Package name

* Char stack

* Changed file names
2019-02-10 19:30:35 -08:00
eric-martin
01fa4cfaf8 BAEL-2399: Migrate Spring DI example to spring-core module 2019-02-05 22:14:51 -06:00
Sam Millington
44490a052f BAEL2526 queue interface code (#6115)
* BAEL2526 queue interface code

* renamed test class to end with 'UnitTest', removed camel case from package name
2019-01-09 19:06:47 +01:00
amit2103
d1fb8935e7 [BAEL-10836] - Removed CollectionsEmpty from core-java-collections module 2018-12-30 00:00:54 +05:30
Loredana Crusoveanu
9a2f8a87a4
Merge branch 'master' into BAEL-10836 2018-12-27 22:26:35 +02:00
greg
a5cf9e4343 BAEL-2438 Difference between HashMap and HashTable (#5931)
* BAEL-2368 convert string array to string

* BAEL-2368 Convert array to string code

* BAEL-2368 Change package

* Fix for test

* BAEL-2438 Difference between HashMap and HashTable
2018-12-26 21:46:39 -06:00
amit2103
bba9a99f32 [BAEL-10836] - Create core-java-collections-list module 2018-12-23 01:15:24 +05:30
cror
5e02becb5e BAEL-2445: adding example for the intersection of two lists (#5968) 2018-12-21 18:21:08 -08:00
Darío Carrasquel
5812866573 Ways to iterate over a list
Issue: BAEL-2311
2018-11-29 09:58:12 -07:00
amit2103
99b8077bba [BAEL-10302] - Moved articles to core-java-collections 2018-11-16 16:06:20 +05:30
geroza
7249a2c88d 5 - Fifth commit to split core-java. This one includes:
* to core-java-lang:
  * https://www.baeldung.com/java-separate-double-into-integer-decimal-parts
  * https://www.baeldung.com/java-sneaky-throws
  * https://www.baeldung.com/java-inheritance-composition
* to core-java-array:
  * https://www.baeldung.com/java-array-copy
  * https://www.baeldung.com/java-initialize-array
  * https://www.baeldung.com/java-array-contains-value
  * https://www.baeldung.com/java-invert-array
  * https://www.baeldung.com/java-array-sum-average
  * https://www.baeldung.com/java-jagged-arrays
  * https://www.baeldung.com/java-util-arrays
  * https://www.baeldung.com/java-common-array-operations (from core-java-collections)
2018-11-10 11:13:04 -02:00
Ger Roza
81a7e1966e [BAEL-2235] | core-java | Common Array Operations in Java (#5599)
* * added all array operations and tests

* fixed details, adn added some more methods to java array operations examples

* * moved arrays operations package to core-java-collections submodule
2018-11-03 22:23:38 -07:00
bungrudi
947e8a3edc Guide to EnumMap
Issue: BAEL-2260
2018-11-02 09:14:27 -06:00
amit2103
71793cef7f [BAEL-9550] - Moved articles and codes from core-java-collections module to java-collections-convversions and java-collections-maps module 2018-10-20 00:37:31 +05:30
José Carlos Valero Sánchez
a470906e66
Merge pull request #5454 from danielguedesb/master
BAEL-2242
2018-10-17 20:10:16 +01:00
Tom Hombergs
eeb5e0892b removed unnecessary Mockito and refactored test method name 2018-10-15 21:40:00 +02:00
elrisita
6b3803a683 BAEL-2242 2018-10-14 17:27:34 +01:00
Alejandro Gervasio
53d22bebbc BAEL-2287 - An Introduction to Synchronized Java Collections (#5385)
* Initial Commit

* Add pom.xml

* Update pom.xml

* Update pom.xml

* Update SynchronizedSortedMapUnitTest.java
2018-10-09 22:20:23 -05:00
Eugen Paraschiv
1931f571d1 fixing test name 2018-10-09 22:21:36 +03:00
clininger
ee1b2cb40b BAEL-2184 sorted test not include deep copy 2018-10-09 21:20:09 +07:00
clininger
3c0bd8e6e8 BAEL-2184 formatting 2018-10-09 04:08:07 +07:00
clininger
7d64241f16 BAEL-2184 test names 2018-10-09 04:07:47 +07:00
clininger
45da250fff BAEL-2184 Converting a Collection to ArrayList 2018-10-09 04:06:52 +07:00
puneetd30
bed849289c BAEL-2179 Java Map check if key exists (#5394)
Add Unit test
2018-10-06 01:13:10 -06:00
Siben Nayak
51914a01e1 [BAEL-2032] Operate on an item in a Stream then remove it (#5175)
* [BAEL-2032] Operate on an item in a Stream then remove it

* Remove the unit test from this package
2018-09-28 12:47:10 -07:00
Loredana Crusoveanu
f2de1b2db3
Merge pull request #5326 from kcacademic/map-max
Referenced files for the mini-article tracked through BAEL-2225
2018-09-25 22:29:54 +03:00
Kumar Chandrakant
183959edfa Adding files referenced in the mini article for the Jira item BAEL-2225 2018-09-24 22:01:20 +01:00
ramansahasi
a14104319f BAEL-2181 complete commit (#5294) 2018-09-24 09:11:37 -07:00
Tom Hombergs
1aa23402c4
Merge pull request #5182 from FDPro/master
dupirefr/dupire.francois+pro@gmail.com [BAEL-2170] Differences between ArrayList clear and removeAll
2018-09-11 20:45:47 +02:00
Swapan Pramanick
fe96e112a5 BAEL-2178 (#5194)
* BAEL-2178

* revert previous commit, adding classes to collections project
2018-09-11 05:56:33 +02:00
dupirefr
69c6c30d8d [BAEL-2170] Moved code to Collection-dedicated package 2018-09-10 20:28:27 +02:00
dupirefr
a1194fdfbc [BAEL-2170] Renamed test and used Collection instead of ArrayList 2018-09-10 20:27:21 +02:00
dupirefr
cc0749ce8a [BAEL-2170] Differences between ArrayList clear and removeAll 2018-09-06 20:15:23 +02:00
amit2103
4f18b712f9 [] - Moved artices / codes from from the core-java related modules 2018-09-02 01:37:11 +05:30
Siben Nayak
ae287cb55f [BAEL-2032] Operate on an item in a Stream then remove it (#5086)
* [BAEL-2032] Operate on an item in a Stream then remove it

* [BAEL-2032] Refactored unit test

* [BAEL-2032] Added a new test for filter and used logger

* Stored the predicate in a separate variable
2018-08-27 13:07:35 +01:00
Tom Hombergs
3d3dfd7970
Merge pull request #4760 from MajewskiKrzysztof/master
BAEL-1912
2018-08-19 16:41:59 +02: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
Siben Nayak
a966b54d42 [BAEL-2032] Operate on an item in a Stream then remove it (#4955)
* [BAEL-2032] Operate on an item in a Stream then remove it

* [BAEL-2032] Refactored unit test

* [BAEL-2032] Added a new test for filter and used logger
2018-08-15 09:49:00 +01:00
Krzysztof Majewski
2a3c5b8eac BAEL-2056 (#4945) 2018-08-10 13:55:58 +02:00
Krzysztof Majewski
9ea9b7ae72 BAEL-2056 2018-08-10 10:05:51 +02:00
Felipe Santiago Corro
ee52998f6b Collection to Stream without nulls in core-java-collections (#4903) 2018-08-05 19:33:27 +02:00
Karthikeyan Subbaraj
3b0fef0266 Unit tests method names and class names modified as per the guidelines 2018-08-02 21:46:00 +01:00
Karthikeyan Subbaraj
9bc5b950f6 Unit tests and DequeBasedSynchronizedStack added up 2018-08-02 21:46:00 +01:00
fanatixan
cc4ab484cc moved examples for 'removing all occurrences of an element from a list' to core-java-collections (#4878) 2018-08-02 08:59:55 +02:00
Felipe Santiago Corro
748c94f231 Add items to list in core-java-collections (#4841) 2018-07-29 06:38:51 +02:00
Dhrubajyoti Bhattacharjee
7ff4d2ea4c BAEL-1983 Intialize a HashMap in Java (#4819) 2018-07-28 20:44:05 +02:00
geroza
81027b7fbd * minor fixes and cleaning duties 2018-07-26 20:52:18 +01:00
geroza
5b489423d8 * added examples of filtering collections using Streams, Apache CollectionUtils, Guava and Eclipse Collections 2018-07-26 20:52:18 +01:00
myluckagain
4ee81a2fd9 BAEL-2030 remove first element from list (#4803) 2018-07-26 08:12:23 +02:00