592 Commits

Author SHA1 Message Date
eric-martin
ea1a467892 BAEL-2386: Moved FlightRecorder from core-java to core-java-perf 2019-01-07 20:32:55 -06:00
Andrey Shcherbakov
6f1e14b649 Code for article BAEL-2386 (#5958)
* Add code for the article 'Java Primitives versus Objects'

* Use JMH for benchmarking the primitive and wrapper classes

* Uncomment the benchmarks and remove unused class

* Add a binary search tree implementation

* Add an example of how to use the binary tree class

* Adjust the print statements

* Add a code for article #BAEL-2386
2019-01-06 14:31:51 -06:00
Loredana Crusoveanu
4258a15bb6
Merge pull request #6081 from FDPro/master
dupirefr/dupire.francois+pro@gmail.com [BAEL-2424] Retrieving a Java Class Fields Using Reflection
2019-01-06 00:17:59 +02:00
dupirefr
994cb303a0 [BAEL-2424] Added classes and tests 2019-01-05 19:08:19 +01:00
amit2103
b5c29f0e1b [BAEL-11403] - Moved DoubleToString and DoubleToStringUnitTest to java-numbers module 2019-01-05 20:11:29 +05:30
Olaniyi Anjola
d5ab82475d BAEL-2452: Using curl from Java (#6043)
* BAEL-2452: Using curl from Java

* A re-do of the examples using tests, instead of main class

* Fix un-used variable
2019-01-04 08:44:24 -08:00
Loredana Crusoveanu
01ded32d6a
Merge branch 'master' into BAEL-11403 2019-01-02 00:12:51 +02:00
Loredana Crusoveanu
9053ecd128
Merge pull request #6025 from amit2103/BAEL-11402
[BAEL-11402] - Moved articles out of core-java (part 3)
2019-01-01 23:40:21 +02:00
Urvy Agrawal
1ed8fcf9dc BAEL-2323 Java Native Keyword (#6038)
-Moved files to core-java-lang module
2018-12-31 13:26:19 -08:00
amit2103
eb4928b972 [BAEL-11403] - Moved articles out of core-java (part 4) 2018-12-30 16:30:36 +05:30
amit2103
b4ff5c46f0 [BAEL-11402] - Moved articles out of core-java (part 3) 2018-12-30 01:19:12 +05:30
amit2103
c61ac5101e [BAEL-11401] - Moved articles out of core-java (part 2) 2018-12-29 21:54:59 +05:30
Loredana
0a0701c947 new module core-java-perf 2018-12-26 20:42:28 +02:00
Loredana Crusoveanu
4600c02f84
Merge pull request #5990 from faabianr/BAEL-2454
BAEL-2454 Add new section in Java Http Request article
2018-12-26 20:10:07 +02:00
Loredana
fb66f1bc78 move networking articles, update readme 2018-12-25 14:05:10 +02:00
Fabian Rivera
cdaf0b46bf BAEL-2454 Reading the error response and building the full response
BAEL-2454 Add examples for reading response content on failed requests. Add example on how to build full response string.
2018-12-24 17:44:09 -06:00
amit2103
ec53cb77ac [BAEL-9044] - Moved articles out of core-java 2018-12-23 16:32:19 +05:30
charlesgonzales
0032ec40eb
Update README.md 2018-12-20 21:27:02 +08:00
Urvy Agrawal
c28fa5541d BAEL-2323 Adding files for native keyword tutorial (#5913)
* BAEL-2323 Adding files for native keyword tutorial

* junit test files and native library

* update test method name
2018-12-19 10:56:14 -08:00
Jonathan Paul Cook
ab2ee364f2 BAEL-2175 - Verbose Garbage Collection in Java 2018-12-16 22:32:09 +01:00
Seun Matt
5dec6f7006 added example code for BAEL-2418 (#5882)
* added example code for BAEL-2366

* moved example code for BAEL-2366

* example code for BAEL-1961

* moved example code into integration test

* updated the test assertions

* refactor the spring boot persistence mongodb module

* remove redundant example code

* declared the spring boot persistence module in the root pom

* fixed issue with non-imported file

* added example code for BAEL-2418
2018-12-10 10:07:29 -08:00
Mher Baghinyan
3addff050f printf examples
Issue: BAEL-2228
2018-12-03 22:17:57 -07:00
chrisoberle
6b29e94a40 BAEL-2174 How to use proxies in core java (#5805)
* move samples from core-java to new core-java-net module
* remove erroneous commit of .vscode dir
2018-12-02 20:23:39 -06:00
Kumar Chandrakant
7410f52561 Changed the source files for incorporating review comments on the tutorial. 2018-11-28 01:00:16 +05:30
Kumar Chandrakant
56ab8e2049 BAEL-2334: Adding file for the tutorial on Graph in Java 2018-11-22 15:29:58 +05:30
Alejandro Gervasio
86184f8270 BAEL-2312 - Abstract Classes in Java (#5704)
* Initial Commit

* Fixed project files

* Update UppercaseFileReaderUnitTest.java

* Update UppercaseFileReaderUnitTest.java

* Refactored File Reader SubClasses

* Update UppercaseFileReaderUnitTest.java
2018-11-18 09:54:57 -06:00
chrisoberle
301ffdbc75 BAEL-2174: proxies in core java (#5628) 2018-11-17 12:24:21 -06:00
eric-martin
3defeb3e96 Moved AddingNewLineToString from core-java to java-strings 2018-11-17 11:20:06 -06:00
Eric Martin
eaada6e9d0
Merge pull request #5620 from rahusriv/rahul/newline1
BAEL-2143 : Adding newline to a string in Java , rahusr@gmail.com, rahul/newline1
2018-11-17 11:09:48 -06:00
amit2103
99b8077bba [BAEL-10302] - Moved articles to core-java-collections 2018-11-16 16:06:20 +05:30
Rahul Srivastava
007aa9b66e Changing para to rhyme 2018-11-16 11:22:18 +05:30
Loredana Crusoveanu
8d9f995624
Merge pull request #5649 from rozagerardo/geroza/BAEL-9549_reduce-articles-in-core-java
[BAEL-9549] reduce core-java module migrating code to core-java-lang and core-java-arrays
2018-11-11 13:47:28 +02:00
geroza
6634c0e100 6 - Sixth commit to split core-java module. This commit includes:
* fixiing failing unit tests, moving required resources to new modules
2018-11-10 12:55:07 -02:00
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
geroza
55c49b25f1 4- Fourth commit for core-java module splitting. This commit includes:
* to core-java-lang:
  * https://www.baeldung.com/java-stack-overflow-error
  * https://www.baeldung.com/java-new-custom-exception
  * https://www.baeldung.com/java-exceptions
  * https://www.baeldung.com/java-final-finally-finalize
  * https://www.baeldung.com/java-static-dynamic-binding
  * https://www.baeldung.com/java-throw-throws
  * https://www.baeldung.com/java-synthetic
  * https://www.baeldung.com/java-switch
  * https://www.baeldung.com/modulo-java
  * https://www.baeldung.com/java-ternary-operator
2018-11-10 10:29:12 -02:00
geroza
61574b7228 3-Third commit for articles:
* to core-java-lang:
  * https://www.baeldung.com/java-lang-system
  * https://www.baeldung.com/java-type-erasure
  * https://www.baeldung.com/java-assert
  * https://www.baeldung.com/java-pass-by-value-or-pass-by-reference
  * https://www.baeldung.com/java-variable-method-hiding
  * https://www.baeldung.com/java-access-modifiers
  * https://www.baeldung.com/java-super
  * https://www.baeldung.com/java-this
  * https://www.baeldung.com/java-immutable-object
  * https://www.baeldung.com/java-classnotfoundexception-and-noclassdeffounderror
  * https://www.baeldung.com/infinite-loops-java (changes for this were included in commit 1, with other loop-related examples)
2018-11-10 01:21:58 -02:00
geroza
64a22eec31 2 - Second commit for articles:
* to core-java-lang:
  * https://www.baeldung.com/java-inner-interfaces
  * https://www.baeldung.com/java-polymorphism
  * https://www.baeldung.com/java-recursion
  * https://www.baeldung.com/java-finalize
  * https://www.baeldung.com/java-method-overload-override
  * https://www.baeldung.com/java-deep-copy
  * https://www.baeldung.com/java-inheritance
  * https://www.baeldung.com/java-type-casting
  * https://www.baeldung.com/java-final
  * https://www.baeldung.com/a-guide-to-java-enums
2018-11-10 00:37:39 -02:00
geroza
792d6f6cc4 First commit to migrate the following articles from core-java:
* to core-java-lang:
  * https://www.baeldung.com/java-reflection
  * https://www.baeldung.com/java-generics
  * https://www.baeldung.com/java-eclipse-equals-and-hashcode
  * https://www.baeldung.com/java-chained-exceptions
  * https://www.baeldung.com/java-primitive-conversions //to package
  * https://www.baeldung.com/java-method-reflection
  * https://www.baeldung.com/java-enum-iteration
  * https://www.baeldung.com/java-reflection-change-annotation-params
  * https://www.baeldung.com/java-dynamic-proxies
  * https://www.baeldung.com/java-double-brace-initialization
  * https://www.baeldung.com/java-hashcode
  * https://www.baeldung.com/java-diamond-operator
  * https://www.baeldung.com/java-static (?https://github.com/eugenp/tutorials/pull/3392)
  * https://www.baeldung.com/java-comparator-comparable
  * https://www.baeldung.com/java-continue-and-break
  * https://www.baeldung.com/java-initialization
  * https://www.baeldung.com/java-nested-classes
  * https://www.baeldung.com/java-loops
  * https://www.baeldung.com/java-varargs
2018-11-09 22:22:33 -02:00
cdjole
2d872af165 Circle class update. (#5648) 2018-11-09 10:25:50 -08:00
Emily Cheyne
abe483a85f
Merge pull request #5637 from kcacademic/character-encoding
BAEL-2300: Adding files for the tutorial on character encoding.
2018-11-09 08:14:37 -08:00
Rahul Srivastava
4590bb37f1 Deleting html file 2018-11-09 11:01:57 +05:30
cdjole
6a352be977 Calculate circle area. (#5644) 2018-11-08 16:07:59 -08:00
Rahul Srivastava
6dd09ae35d New line in Java for HTML and Changing HTML file 2018-11-08 15:39:06 +05:30
Kumar Chandrakant
6f9e1fd103 BAEL-2300: Adding files for the tutorial on character encoding. 2018-11-08 15:13:12 +05:30
Kumar Chandrakant
e52a4d0ce6 Handshake failures (#5624)
* BAEL-2250: Adding files for the article on SSL handshake failure.

* BAEL-2250 cleanup formatting

* Applied review feedback on the article.

* Adding cipher suite and protocol selection in server and client

* Corrected some code conventions.

* Revert: BAEL-2250 cleanup formatting

* Made further changes for the review comments on the tutorial.

* Fixed some formatting issues.
2018-11-05 15:51:10 -08:00
Rahul Srivastava
b9b4cec7ae Adding new line to a string in Java 2018-11-05 13:29:42 +05:30
Alejandro Gervasio
c7b7d94409 BAEL-2312 - Abstract Classes in Java (#5598)
* Initial Commit

* Add files via upload

* Update UppercaseFileReaderUnitTest.java
2018-11-03 22:06:46 -05:00
Kumar Chandrakant
0690a6332e BAEL-2250: Adding files for the article on SSL handshake failure. (#5541)
* BAEL-2250: Adding files for the article on SSL handshake failure.

* BAEL-2250 cleanup formatting

* Applied review feedback on the article.

* Adding cipher suite and protocol selection in server and client

* Corrected some code conventions.

* Revert: BAEL-2250 cleanup formatting
2018-10-27 20:22:33 -07:00
daoire
e24426923e Refactor Code and add Tests (#5251) 2018-10-23 22:09:29 +02:00
fanatixan
03065a43e9 moving heap sort from core-java to algorithms (#5475) 2018-10-17 12:54:35 -07:00