Commit Graph
22 Commits
Author SHA1 Message Date
ramansahasi bdcc961542 BAEL-2392_Java_String_interview_questions second commit (#6064) 2019-01-03 07:49:51 -07:00
ramansahasi 317ed150a1 BAEL-2015 Memory leaks in Java (#5295)
* BAEL-2015_Memory_leaks_in_Java

* Ignored tests

* Update NonStaticFieldsDemo.java

* Corrected class name

* converted tabspaces to whitespaces
2018-09-30 20:59:53 -05:00
ramansahasi a14104319f BAEL-2181 complete commit (#5294) 2018-09-24 09:11:37 -07:00
ramansahasi 07838a2d25 BAEL-1739 - Check If a String is Numeric in Java (#4209)
* BAEL-1725 Java Pass-by-reference vs Pass-by-value - First commit

* updated test cases

* First commit consisting only of test cases

* First commit with test cases

* Introduced JMH Michrobenchmarking

* Minor corrections
2018-05-10 13:41:33 -07:00
ramansahasi 5f1b1b0b0d BAEL-1725 Java Pass-by-reference vs Pass-by-value - First commit (#4058)
* BAEL-1725 Java Pass-by-reference vs Pass-by-value - First commit

* updated test cases
2018-04-23 07:57:02 -07:00
ramansahasi d70fbdc273 Bael 1269 Intro to JSON Java (#3662)
* Final commit

* Made changes as per last review

* Moved from core-java to json module

* Interrupted thread before logging

* Separated out JSON serialization to Java Object

* Reverting access modifier
2018-03-19 16:58:02 +00:00
ramansahasi a18ce8a380 Bael 1427 Life cycle of thread (#3637)
* Interrupted thread before logging

* abbrevated word thread and interrupted main thread
2018-02-12 09:39:31 -08:00
ramansahasi 15f18bbb83 BAEL 1269 Intro to JSON-JAVA (#3493)
* Final commit

* Made changes as per last review

* Moved from core-java to json module
2018-02-01 10:57:48 +01:00
ramansahasi 3e4b6df194 Interrupted thread before logging (#3563) 2018-01-31 13:06:16 -08:00
ramansahasi 5d6c47789e Logged InterruptedException instead of ignoring it (#3517) 2018-01-26 10:04:38 -08:00
ramansahasi 58f8e6163f BAEL-1327 Java Threads: notify and wait (initial commit) (#3160) 2017-11-30 11:01:44 -08:00
ramansahasi 8de9f342e4 BAEL-1212 Guide to Creational Design Patterns (#2932)
* Initial commit for 'Introduction to Creational Design Patterns'

* second commit with some minor fixes and test case additions

* second commit with some minor fixes and test case additions

* BAEL-1212 Guide to Creational Patterns - Made changes as per latest review

* Renamed Toy family to AAnimal family.
2017-11-20 22:13:07 +01:00
ramansahasi 1d5b17ad6c BAEL-1210 Guide to the Static Keyword in Java (#2767)
* Adding Source Files

* Guide to the Static Keyword in Java - Test files
2017-10-20 11:49:48 -07:00
ramansahasi 3a9654370a BAEL-1072 Difference between Proxy, Decorator, Adapter, and Bridge Patterns (#2635)
* Changes as per last review. Changed method names so that they look more idiomatic.

* Updated pattern, changed method names and test cases
2017-09-17 16:59:23 -07:00
ramansahasi 133bbe1aca Introduced jmh benchmarking (#2549) 2017-09-04 07:22:28 -07:00
ramansahasi 5945d5ceb3 BAEL-1072 - Difference between Proxy, Decorator, Adapter, and Bridge (Update) (#2518)
* Removing old code

* Removing old code

* Removing old code

* Removing old code

* Updated design for Adapter pattern

* Updated test cases for new design
2017-08-29 14:25:11 -07:00
ramansahasi 09d10ac85f BAEL-1076 How to get a number of digits in an int? (#2457)
* BAEL-1076 How to get a number of digits in an int?

Six different ways to find the number of digits in an integer.

* BAEL-1076 How to get a number of digits in an int?

* Update NumberOfDigits.java
2017-08-25 12:24:43 -07:00
ramansahasi 415b80d03f BAEL-1072 - Difference between Proxy, Decorator, Adapter, and Bridge Patterns (#2390)
* Structural Design Patterns 

Difference between several types of structural design patterns

* Structural Design Pattern

Difference between several types of structural design patterns

* Structural Design Patterns

Difference between several types of structural design patterns

* Structural Design Patterns

Difference between several types of structural design patterns
2017-08-08 10:56:53 -07:00
ramansahasi eab110d0d0 BAEL-787 (updated) - AWS S3 with Java (#2296)
* Replacing manual handling of stream

Replacing manual handling of stream apache commons FileUtils library.

* Replacing manual handling of stream

Replacing manual handling of stream apache commons FileUtils library.

* Update S3Application.java
2017-07-20 09:06:54 -07:00
ramansahasi 24b14e55b7 BAEL-787 AWS S3 with Java (#2179)
* Files - S3 Bucket Creation and Object Upload

S3 Bucket Creation and Object Upload Using the AWS SDK for Java.
Please note. This code is not readily plug-and-play type. User needs to put his own 'access key' and 'secret key'

* S3 Bucket Creation and Object Upload-dependencies

S3 Bucket Creation and Object Upload - Adding Dependencies

* Update S3Application.java

* Update S3Application.java

* Update S3Application.java

* Fixed Test Names

* Update S3Application.java

* Added more test cases

* Added more examples

* Delete AWSS3Service.java

* Delete S3Application.java

* Added more examples

* Added more test cases
2017-07-13 15:32:32 +02:00
ramansahasi 69b4a05eb8 BAEL-859 (updated) How to display/list all Spring-managed beans? (#2064)
* Separating displayAllBeans logic from main method

* Removing as 'Person' bean is no longer used

* Removing as 'Person' bean is no longer used

* Removing as 'Person' bean is no longer used

* Added FooService and FooController

* Changed test cases as per new configuration

* Template to handle front-end view

* Fixed spacing issue

* Fixed spaces

* Fixed spacing issue
2017-06-13 17:13:16 +02:00
ramansahasi 40dc547558 BAEL-859 How to display/list all Spring-managed beans? (#2021)
* Display all beans in Spring Container

* Display all spring managed beans

Add code to configure 'beans' endpoint.

* Added 'spring-boot-starter-test' dependency

Added 'spring-boot-starter-test' dependency with scope 'test'

* Display all spring managed beans Test cases

Added test cases for 'Display all spring managed beans' module.
2017-06-08 22:34:43 +02:00