From 0b5fbdc53e8a80216439889939063f4323736d0a Mon Sep 17 00:00:00 2001 From: Grzegorz Piwowarek Date: Sun, 15 Oct 2017 13:55:42 +0200 Subject: [PATCH] Cody756 master (#2740) * Update README.md * Update README.md * Create README.md * Create README.md * Create README.md * Update README.md * Update README.md * Update README.md * Create README.md * Update README.MD * Create README.md * Update README.md * Update README.md * Update README.md * Create README.md * Update README.md * Update README.md * Update README.md * Update README.MD * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Create README.md * Update README.md * Create README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Create README.md * Create README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Create README.md * Update README.md * Update README.md * Update README.md * Update README.MD * Create README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Create README.md * Create README.md * Update README.md * Update README.md * Create README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Merge fix --- algorithms/README.md | 2 ++ .../examples/asm/instrumentation/Premain.java | 27 +++++-------------- core-java-8/README.md | 4 +-- core-java-9/README.md | 1 + core-java/README.md | 10 ++++++- ejb/README.md | 1 + libraries/README.md | 11 ++++++++ mustache/README.md | 3 ++- rxjava/README.md | 5 ++++ spring-hibernate5/README.md | 1 + spring-mvc-kotlin/README.md | 2 ++ spring-rest-angular/README.md | 1 + spring-swagger-codegen/README.md | 3 +++ testing/README.md | 2 +- vavr/README.md | 2 ++ vertx-and-rxjava/README.md | 2 ++ 16 files changed, 52 insertions(+), 25 deletions(-) create mode 100644 spring-mvc-kotlin/README.md create mode 100644 spring-swagger-codegen/README.md create mode 100644 vertx-and-rxjava/README.md diff --git a/algorithms/README.md b/algorithms/README.md index 011e4b51f2..91d8b55dd6 100644 --- a/algorithms/README.md +++ b/algorithms/README.md @@ -9,3 +9,5 @@ - [Example of Hill Climbing Algorithm](http://www.baeldung.com/java-hill-climbing-algorithm) - [Monte Carlo Tree Search for Tic-Tac-Toe Game](http://www.baeldung.com/java-monte-carlo-tree-search) - [String Search Algorithms for Large Texts](http://www.baeldung.com/java-full-text-search-algorithms) +- [Test a Linked List for Cyclicity](http://www.baeldung.com/java-linked-list-cyclicity) +- [Binary Search Algorithm in Java](http://www.baeldung.com/java-binary-search) diff --git a/asm/src/main/java/com/baeldung/examples/asm/instrumentation/Premain.java b/asm/src/main/java/com/baeldung/examples/asm/instrumentation/Premain.java index a3e69b6785..105d7227d5 100644 --- a/asm/src/main/java/com/baeldung/examples/asm/instrumentation/Premain.java +++ b/asm/src/main/java/com/baeldung/examples/asm/instrumentation/Premain.java @@ -1,32 +1,19 @@ package com.baeldung.examples.asm.instrumentation; import com.baeldung.examples.asm.CustomClassWriter; -import java.lang.instrument.ClassFileTransformer; -import java.lang.instrument.IllegalClassFormatException; -import java.lang.instrument.Instrumentation; -import java.security.ProtectionDomain; -/** - * - * @author baeldung - */ +import java.lang.instrument.Instrumentation; + public class Premain { public static void premain(String agentArgs, Instrumentation inst) { - inst.addTransformer(new ClassFileTransformer() { + inst.addTransformer((l, name, c, d, b) -> { - @Override - public byte[] transform(ClassLoader l, String name, Class c, - ProtectionDomain d, byte[] b) - throws IllegalClassFormatException { - - if (name.equals("java/lang/Integer")) { - CustomClassWriter cr = new CustomClassWriter(b); - return cr.addField(); - } - return b; + if (name.equals("java/lang/Integer")) { + CustomClassWriter cr = new CustomClassWriter(b); + return cr.addField(); } + return b; }); } - } diff --git a/core-java-8/README.md b/core-java-8/README.md index 4610b3c86d..690bd48ed5 100644 --- a/core-java-8/README.md +++ b/core-java-8/README.md @@ -28,5 +28,5 @@ - [Finding Max/Min of a List or Collection](http://www.baeldung.com/java-collection-min-max) - [Java Base64 Encoding and Decoding](http://www.baeldung.com/java-base64-encode-and-decode) - [The Difference Between map() and flatMap()](http://www.baeldung.com/java-difference-map-and-flatmap) - -- [Merging Streams in Java](http://www.baeldung.com/java-merge-streams) \ No newline at end of file +- [Merging Streams in Java](http://www.baeldung.com/java-merge-streams) +- [“Stream has already been operated upon or closed” Exception in Java](http://www.baeldung.com/java-stream-operated-upon-or-closed-exception) diff --git a/core-java-9/README.md b/core-java-9/README.md index f0b2e3f206..98c855caea 100644 --- a/core-java-9/README.md +++ b/core-java-9/README.md @@ -17,3 +17,4 @@ - [Java 9 Reactive Streams](http://www.baeldung.com/java-9-reactive-streams) - [How to Get All Dates Between Two Dates?](http://www.baeldung.com/java-between-dates) - [Java 9 java.util.Objects Additions](http://www.baeldung.com/java-9-objects-new) +- [Compact Strings in Java 9](http://www.baeldung.com/java-9-compact-string) diff --git a/core-java/README.md b/core-java/README.md index a251de1daa..b4b8d9062e 100644 --- a/core-java/README.md +++ b/core-java/README.md @@ -106,4 +106,12 @@ - [Converting a List to String in Java](http://www.baeldung.com/java-list-to-string) - [CharSequence vs. String in Java](http://www.baeldung.com/java-char-sequence-string) - [Period and Duration in Java](http://www.baeldung.com/java-period-duration) -- [Guide to the Diamond Operator in Java](http://www.baeldung.com/java-diamond-operator) \ No newline at end of file +- [Guide to the Diamond Operator in Java](http://www.baeldung.com/java-diamond-operator) +- [Singletons in Java](http://www.baeldung.com/java-singleton) +- [“Sneaky Throws” in Java](http://www.baeldung.com/java-sneaky-throws) +- [OutOfMemoryError: GC Overhead Limit Exceeded](http://www.baeldung.com/java-gc-overhead-limit-exceeded) +- [How to Iterate Over a Stream With Indices](http://www.baeldung.com/java-stream-indices) +- [StringBuilder and StringBuffer in Java](http://www.baeldung.com/java-string-builder-string-buffer) +- [Number of Digits in an Integer in Java](http://www.baeldung.com/java-number-of-digits-in-int) +- [Proxy, Decorator, Adapter and Bridge Patterns](http://www.baeldung.com/java-structural-design-patterns) + diff --git a/ejb/README.md b/ejb/README.md index 3b729318d4..994781b064 100644 --- a/ejb/README.md +++ b/ejb/README.md @@ -2,3 +2,4 @@ - [Guide to EJB Set-up](http://www.baeldung.com/ejb-intro) - [Java EE Session Beans](http://www.baeldung.com/ejb-session-beans) +- [Introduction to EJB JNDI Lookup on WildFly Application Server](http://www.baeldung.com/wildfly-ejb-jndi) diff --git a/libraries/README.md b/libraries/README.md index b400b1a772..90762bfed6 100644 --- a/libraries/README.md +++ b/libraries/README.md @@ -39,8 +39,19 @@ - [Introduction to Apache Commons CSV](http://www.baeldung.com/apache-commons-csv) - [Difference Between Two Dates in Java](http://www.baeldung.com/java-date-difference) - [Introduction to NoException](http://www.baeldung.com/no-exception) +- [Introduction to FunctionalJava](http://www.baeldung.com/functional-java) - [Apache Commons IO](http://www.baeldung.com/apache-commons-io) - [Introduction to Conflict-Free Replicated Data Types](http://www.baeldung.com/java-conflict-free-replicated-data-types) +- [Introduction to javax.measure](http://www.baeldung.com/javax-measure) +- [Spring Yarg Integration](http://www.baeldung.com/spring-yarg) +- [Delete a Directory Recursively in Java](http://www.baeldung.com/java-delete-directory) +- [Guide to JDeferred](http://www.baeldung.com/jdeferred) +- [Integrating Retrofit with RxJava](http://www.baeldung.com/retrofit-rxjava) +- [Introduction to MBassador](http://www.baeldung.com/mbassador) +- [Introduction to JCache](http://www.baeldung.com/jcache) +- [Introduction to Retrofit](http://www.baeldung.com/retrofit) +- [Using Pairs in Java](http://www.baeldung.com/java-pairs) +- [Apache Commons Collections Bag](http://www.baeldung.com/apache-commons-bag) The libraries module contains examples related to small libraries that are relatively easy to use and does not require any separate module of its own. diff --git a/mustache/README.md b/mustache/README.md index b616b2df8a..fa41eb4f4d 100644 --- a/mustache/README.md +++ b/mustache/README.md @@ -1,2 +1,3 @@ ### Relevant Articles: -[Introduction to Mustache](http://www.baeldung.com/mustache) +- [Introduction to Mustache](http://www.baeldung.com/mustache) +- [Guide to Mustache with Spring Boot](http://www.baeldung.com/spring-boot-mustache) diff --git a/rxjava/README.md b/rxjava/README.md index c7fd0c595d..71231cc391 100644 --- a/rxjava/README.md +++ b/rxjava/README.md @@ -3,3 +3,8 @@ - [Dealing with Backpressure with RxJava](http://www.baeldung.com/rxjava-backpressure) - [How to Test RxJava?](http://www.baeldung.com/rxjava-testing) - [Implementing Custom Operators in RxJava](http://www.baeldung.com/rxjava-custom-operators) +- [Introduction to RxJava](http://www.baeldung.com/rx-java) +- [RxJava and Error Handling](http://www.baeldung.com/rxjava-error-handling) +- [Observable Utility Operators in RxJava](http://www.baeldung.com/rxjava-observable-operators) +- [Introduction to rxjava-jdbc](http://www.baeldung.com/rxjava-jdbc) +- [Schedulers in RxJava](http://www.baeldung.com/rxjava-schedulers) diff --git a/spring-hibernate5/README.md b/spring-hibernate5/README.md index fd539fdcb6..01a1ad7121 100644 --- a/spring-hibernate5/README.md +++ b/spring-hibernate5/README.md @@ -1,3 +1,4 @@ ### Relevant articles - [Guide to @Immutable Annotation in Hibernate](http://www.baeldung.com/hibernate-immutable) +- [Hibernate Many to Many Annotation Tutorial](http://www.baeldung.com/hibernate-many-to-many) diff --git a/spring-mvc-kotlin/README.md b/spring-mvc-kotlin/README.md new file mode 100644 index 0000000000..c9bb78b6d8 --- /dev/null +++ b/spring-mvc-kotlin/README.md @@ -0,0 +1,2 @@ +### Relevant articles +- [Spring MVC Setup with Kotlin](http://www.baeldung.com/spring-mvc-kotlin) diff --git a/spring-rest-angular/README.md b/spring-rest-angular/README.md index 3c1b418d95..dcbbd048ba 100644 --- a/spring-rest-angular/README.md +++ b/spring-rest-angular/README.md @@ -2,3 +2,4 @@ ### Relevant Articles: +- [Spring’s RequestBody and ResponseBody Annotations](http://www.baeldung.com/spring-request-response-body) diff --git a/spring-swagger-codegen/README.md b/spring-swagger-codegen/README.md new file mode 100644 index 0000000000..ee6b240c30 --- /dev/null +++ b/spring-swagger-codegen/README.md @@ -0,0 +1,3 @@ +### Relevant articles + +- [Generate Spring Boot REST Client with Swagger](http://www.baeldung.com/spring-boot-rest-client-swagger-codegen) diff --git a/testing/README.md b/testing/README.md index 3171b67b60..889f6706d4 100644 --- a/testing/README.md +++ b/testing/README.md @@ -14,4 +14,4 @@ - [Introduction to JUnitParams](http://www.baeldung.com/junit-params) - [Cucumber Java 8 Support](http://www.baeldung.com/cucumber-java-8-support) - [Introduction to Lambda Behave](http://www.baeldung.com/lambda-behave) - +- [Introduction to Jukito](http://www.baeldung.com/jukito) diff --git a/vavr/README.md b/vavr/README.md index 24b8c5a615..4361363fbd 100644 --- a/vavr/README.md +++ b/vavr/README.md @@ -5,4 +5,6 @@ - [Property Testing Example With Vavr](http://www.baeldung.com/javaslang-property-testing) - [Exceptions in Lambda Expression Using Vavr](http://www.baeldung.com/exceptions-using-vavr) - [Vavr (ex-Javaslang) Support in Spring Data](http://www.baeldung.com/spring-vavr) +- [Introduction to Vavr’s Validation API](http://www.baeldung.com/vavr-validation-api) +- [Guide to Collections API in Vavr](http://www.baeldung.com/vavr-collections) - [Collection Factory Methods for Vavr](http://www.baeldung.com/vavr-collection-factory-methods) diff --git a/vertx-and-rxjava/README.md b/vertx-and-rxjava/README.md new file mode 100644 index 0000000000..ccd4ce3457 --- /dev/null +++ b/vertx-and-rxjava/README.md @@ -0,0 +1,2 @@ +### Relevant articles +- [Example of Vertx and RxJava Integration](http://www.baeldung.com/vertx-rx-java)