Commit Graph

170 Commits

Author SHA1 Message Date
Grzegorz Piwowarek fa1fc3cbe7 Refactor readFromInputStream 2016-10-10 07:11:06 +02:00
Grzegorz Piwowarek 9da1680d0f Refactor readFromInputStream 2016-10-10 07:09:47 +02:00
sanketmeghani 4f64784e84 Mocking current time for JUnits 2016-10-09 11:17:22 +05:30
Slavisa Baeldung 61ea026ea9 BAEL-225 - moving to lambda, additional improvements 2016-10-07 16:41:49 +02:00
Grzegorz Piwowarek e1abedf15e Refactor RandomListElementTest 2016-10-07 12:03:53 +02:00
Grzegorz Piwowarek 8ec4c8c265 Refactor 2016-10-05 07:50:21 +02:00
slavisa-baeldung 05c6859412 BAEL-297 - passed list as a constructor creation. Array.aslist returns a fixed lenght list and throws exception on remove 2016-10-05 07:34:29 +02:00
slavisa-baeldung ea39b9cacf BAEL-255 - minor changes 2016-10-05 07:24:26 +02:00
slavisa-baeldung 7b587286a4 BAEL-255 - adding test file 2016-10-05 07:23:26 +02:00
slavisa-baeldung ece6eab719 BAEL-255 - minor changes 2016-10-05 07:16:32 +02:00
Sunil Gulabani db25745f05 BAEL-255 - adding additional read file methods 2016-10-05 07:15:22 +02:00
pared 3613428993 random element from list guide (#690)
* random element from list guide

* refactor

* with removing

* refactor + thread optimized index generation

* refactor

* final review refactor
2016-10-04 18:35:37 +02:00
slavisa-baeldung e021ca1be6 BAEL-255 - read file from Java 2016-09-29 16:17:07 +02:00
Grzegorz Piwowarek e1ffd14c0d Refactor JavaFolderSizeTest 2016-09-28 19:46:18 +02:00
Sergey Petunin ea85fa99ee Added samples for annotation processing article. (#705)
* Added annotation processing examples. Fixed core-java8 build on OS X

* Moved projects to separate submodule
2016-09-28 16:24:03 +02:00
Naoshadul Islam 4db012d57b Update README.md 2016-09-28 09:51:08 +06:00
sanketmeghani 719d4e5aa1 Converting date/time retrieval methods to JUnits 2016-09-27 22:13:11 +05:30
sanketmeghani 1b4714c214 Add sample code to get current timestamp in Java 8 2016-09-18 17:06:34 +05:30
sanketmeghani ba4fb5bf42 Add sample code to get current time in Java 8 2016-09-18 17:06:12 +05:30
sanketmeghani ef54cd43cb Add sample code to get current date in Java 8 2016-09-18 17:05:52 +05:30
Sergey Petunin 743f6c8806 Added example for Supplier lazy generation, corrected the reduce example (#638) 2016-08-25 10:30:40 +02:00
Grzegorz Piwowarek 9ae8b346d9 Refactor FunctionInterfacesTest 2016-08-25 08:24:32 +02:00
Sergey Petunin ac0cc708b1 Source code for the article Guide to Java 8 Functional Interfaces (#637) 2016-08-25 07:24:18 +02:00
Alex Theedom dfd8b0c4cc Amend the test method names to include a when and remove unused throws 2016-08-22 19:31:23 +01:00
Alex Theedom 4f7cb84630 Amend the test method names to include a when, remove unused throws and change equals test to assert Integer 2016-08-22 19:16:11 +01:00
Alex Theedom 539fe75116 Amendments to the test method names 2016-08-22 18:54:32 +01:00
Alex Theedom db5c839a78 Minor changes after review 2016-08-22 18:44:34 +01:00
Alex Theedom f99f6d962f Merge pull request #623 from eugenp/grzegorz_random_list_element
Add code examples for Random List Element mini-article
2016-08-22 18:27:47 +01:00
Alex Theedom f1516e0188 Merge pull request #622 from eugenp/grzegorz_string_to_int
Add code examples for String to int mini-article
2016-08-22 18:27:33 +01:00
Grzegorz Piwowarek 6f38d0b12e Add Guava example 2016-08-22 16:28:38 +02:00
Grzegorz Piwowarek ba90ee0a2f Add code examples for Random List Element mini-article 2016-08-21 11:51:10 +02:00
Grzegorz Piwowarek d26bdb7621 Add code examples for String to int mini-article 2016-08-21 11:32:16 +02:00
Grzegorz Piwowarek 2f2999e878 Add code examples for Char to String mini-article 2016-08-21 10:40:21 +02:00
PRITAM BANERJEE 6c062ca19e Hibernate Fetching Update (#607)
* BAEL-212
Contains:
1. Hibernate Criteria Query Classes
2. Hibernate Criteria Query Test

* Updating the config file and the HibernateUtil class

* Hibernate Criteria Queries Example

* Hibernate Fetching : Eager Loading vs Lazy Loading

* Hibernate Criteria Query files

* Hibernate Eager Loading and Lazy Loading Changes

* Latest Changes on Fetching

* Fetching Changes

* Latest Changes

* Latest Changes

* Undoing the changes
2016-08-17 07:19:34 +02:00
Sergey Petunin fe16518c17 Added cancellation example for CompletableFuture (#614) 2016-08-16 09:42:14 +02:00
Grzegorz Piwowarek 0bb0966723 Refactor CompletableFutureTest 2016-08-15 23:20:39 +02:00
Sergey Petunin 5195a4310e Added test for the Guide to CompletableFuture (#611) 2016-08-15 23:16:19 +02:00
Sergey Petunin f2f2b48782 Optimized the TreeNode constructor (#590) 2016-08-09 14:56:35 +02:00
Sergey Petunin 2327379d91 Added Guava thread pool examples (#589) 2016-08-08 18:22:01 +02:00
Sergey Petunin 1121a6ca29 Core threadpool implementation examples (#588) 2016-08-08 16:13:44 +02:00
Slavisa Baeldung ea9cb32d6c BAEL-28 - Updating article URLs 2016-07-14 15:03:51 +02:00
Grzegorz Piwowarek af92969515 Fix import 2016-07-14 10:20:47 +03:00
Grzegorz Piwowarek 77d37f2a88 Refactor Java8 examples 2016-07-14 10:00:07 +03:00
Grzegorz Piwowarek 2d0f3b2c7d Add Java8 Collectors examples 2016-07-13 09:28:36 +03:00
Grzegorz Piwowarek e93772ae60 TDD 2016-07-13 02:13:26 +03:00
Grzegorz Piwowarek 5bfb12d091 Remove unnecessary file 2016-07-13 02:02:56 +03:00
Grzegorz Piwowarek a661e0e3c9 Add additional AssertJ examples 2016-06-25 17:24:03 +02:00
Dmytro Kulaiev 57ed00a134 Code examples for Java 8 date migration (#460) 2016-06-24 15:41:41 +02:00
slavisa-baeldung a5bde90d40 java-streams-8-api - adding slf4j fixing indentation 2016-06-15 06:57:43 +02:00
slavisa-baeldung f5ecf03890 Merge pull request #446 from alexVengrovsk/java8-stream
Code for the article "Java 8 Stream API Tutorial"
2016-06-15 05:48:14 +01:00
alexVengrovsk 9835081ad3 Code for the article "Java 8 Stream API Tutorial"
alextrentton@gmail.com

Signed-off-by: <alextrentton@gmail.com>
2016-06-10 23:12:04 +03:00
Alex Theedom 49c9072564 Merge pull request #430 from sivabalachandran/java8DateTime
Java8 date time
2016-06-07 00:31:28 +03:00
Alex Theedom 2f5f965ff2 Some minor changes to style and to sync with article code 2016-05-31 22:02:45 +01:00
Gachchinamat 14012a0ca2 Enum examples for java8 2016-05-30 16:48:18 +02:00
sivabalachandran 0a3f723e45 Merge branch 'master' into java8DateTime 2016-05-25 12:49:51 -04:00
sivabalachandran 44e50693d7 First cut for basics of java 8 date time api 2016-05-25 11:35:27 -04:00
Slavisa Baeldung f972513e2b java8features - new java 8 features 2016-05-24 17:41:20 +02:00
alexVengrovsk 433bc637ef Code for the article "Java 8’s Features"
alextrentton@gmail.com
2016-05-20 01:05:04 +03:00
eugenp 29deacf3b9 minor cleanup work 2016-04-25 22:46:36 +03:00
David Morley 8cbf2e3b88 Clean up core-java-8 samples 2016-04-21 05:19:51 -05:00
Alex Ve a3c9183aa8 change processing() 2016-04-19 00:01:01 +03:00
Alex Ve fdcea19863 The example code for the article "A Guide to the Fork/Join Framework" 2016-04-07 20:22:59 +03:00
DOHA 08c8d82cd4 add java zip examples 2016-04-04 13:42:29 +02:00
eugenp a2989da4bf maven work 2016-03-06 12:10:06 +02:00
eugenp 0708c51125 mave work 2016-03-06 11:59:13 +02:00
eugenp c467ca73e2 maven work 2016-03-06 11:49:59 +02:00
eugenp e7dd890661 removing sandbox, maven upgrades, eclipse cleanup 2016-03-06 11:37:48 +02:00
MichelLeBon bf9e0b607f Update README.md 2016-03-01 02:38:43 +02:00
David Morley a7a28893d9 Merge pull request #360 from myArea51/master
ExecutorService tutorial
2016-02-21 15:54:50 -06:00
joetaras 04f794a255 zip and unzip 2016-02-21 20:03:37 +01:00
Alex V 6d9aee71bb ExecutorService tutorial 2016-02-18 01:33:05 +02:00
MichelLeBon edcb2e2e69 Update README.md 2016-02-11 02:54:21 +02:00
MichelLeBon c3e5eb7ccf Update README.md 2016-02-11 02:40:35 +02:00
MichelLeBon f7bd8093d0 Update README.md 2016-02-10 14:33:03 +02:00
MichelLeBon 06f00f1cb1 Update README.md 2016-02-08 12:48:29 +02:00
MichelLeBon a8165f78fe Update README.md 2016-02-08 12:48:14 +02:00
MichelLeBon 68aa809456 Update README.md 2016-02-08 12:47:21 +02:00
MichelLeBon e2de29e24b Update README.md 2016-02-08 12:47:00 +02:00
eugenp 9de8a4a436 minor cleanup 2016-01-26 12:02:21 +02:00
giuseppe.bueti 089f30d53a Added example of Method Reference for a super method of a particular object and fixed for instance method of an arbitrary object of a particular type. 2016-01-26 00:14:08 +01:00
Giuseppe Bueti fb4f9b36a5 package renamed 2016-01-25 18:04:04 +01:00
eugenp 8771311100 formatting cleanup 2016-01-24 19:54:57 +02:00
eugenp a25f807e3e formatting cleanup 2016-01-24 19:54:06 +02:00
giuseppe.bueti e37f3aebc3 Examples of Method Reference and Constructor Reference 2016-01-24 18:26:44 +01:00
eugenp 7cd58457ec adding java 8 null removal test 2016-01-21 14:47:30 +02:00
eugenp 959eb4320f minor cleanup work 2016-01-09 01:34:39 +02:00
David Morley a109672172 Rename package
org.baeldung -> com.baeldung
2016-01-07 20:28:55 -06:00
Alex V 4a6c23cac6 Code for "Lambda Expressions and Functional Interfaces. Best Practices and Tips" article 2015-12-31 05:14:39 +02:00
eugenp eea69135f7 general cleanup work 2015-12-25 20:45:45 +02:00
dasvipin5585 d52ab2212a Java - Try with resources code commit 2015-12-25 23:02:13 +05:30
eugenp 8238c11c80 maven upgrades 2015-12-21 11:34:42 +02:00
eugenp 7a7ad7b368 testing work 2015-08-26 12:10:06 +03:00
eugenp b7822cc678 minor cleanup work 2015-08-26 12:05:55 +03:00
eugenp ed2b7e4e2f test cleanup 2015-08-20 11:37:01 +03:00
eugenp 6b10bee0a0 cleanup work 2015-08-20 11:36:19 +03:00
Vrajesh Jayswal a5ef06c93f added method for basic encoding without padding 2015-08-15 10:50:58 +05:30
Vrajesh Jayswal f76247aaa8 Java encode and decode test program 2015-08-13 11:20:23 +05:30
eugenp a1e7be16b8 formatting cleanup 2015-07-23 16:54:23 +03:00
eugenp 9e5faf23f1 upgrade and eclipse work 2015-06-20 05:40:22 +01:00
eugenp 66978e97d4 maven upgrades 2015-02-21 19:57:34 +02:00