Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
b180783
Update README.md
cody756 Jul 13, 2017
62e8cdd
Update README.md
cody756 Jul 13, 2017
af9bbe7
Create README.md
cody756 Jul 13, 2017
6038799
Create README.md
cody756 Jul 13, 2017
77d9ce7
Create README.md
cody756 Jul 13, 2017
eb871fe
Update README.md
cody756 Jul 13, 2017
abd2fb5
Update README.md
cody756 Jul 13, 2017
803a753
Update README.md
cody756 Jul 13, 2017
c72df55
Create README.md
cody756 Jul 13, 2017
2f09d5d
Update README.MD
cody756 Jul 13, 2017
4d1d4a9
Create README.md
cody756 Jul 13, 2017
158efbb
Update README.md
cody756 Jul 13, 2017
0a3fb8c
Update README.md
cody756 Jul 13, 2017
379a810
Update README.md
cody756 Jul 13, 2017
d9a135c
Create README.md
cody756 Jul 13, 2017
5e6f8c7
Update README.md
cody756 Jul 13, 2017
85b61bc
Update README.md
cody756 Jul 13, 2017
b7aea4b
Update README.md
cody756 Jul 13, 2017
f9adaaa
Update README.MD
cody756 Jul 13, 2017
e4da3d5
Update README.md
cody756 Jul 13, 2017
109336a
Merge branch 'master' into master
pivovarit Jul 13, 2017
65da591
Update README.md
cody756 Aug 16, 2017
0f530d4
Update README.md
cody756 Aug 16, 2017
c958934
Update README.md
cody756 Aug 16, 2017
8d17851
Update README.md
cody756 Aug 16, 2017
9a5349c
Update README.md
cody756 Aug 16, 2017
b984042
Create README.md
cody756 Aug 16, 2017
6529544
Update README.md
cody756 Aug 16, 2017
e7d9ad3
Create README.md
cody756 Aug 16, 2017
369888b
Update README.md
cody756 Aug 16, 2017
c9d6fb4
Update README.md
cody756 Aug 16, 2017
41678b2
Update README.md
cody756 Aug 16, 2017
375b74c
Merge branch 'master' into master
pivovarit Aug 17, 2017
89da968
Update README.md
cody756 Sep 16, 2017
9c61e26
Update README.md
cody756 Sep 16, 2017
e2a9098
Update README.md
cody756 Sep 16, 2017
fae0768
Update README.md
cody756 Sep 16, 2017
4f4dae2
Update README.md
cody756 Sep 16, 2017
2ae7b65
Update README.md
cody756 Sep 16, 2017
5c17f04
Update README.md
cody756 Sep 16, 2017
f08a592
Create README.md
cody756 Sep 16, 2017
4705a85
Create README.md
cody756 Sep 16, 2017
69d47fd
Update README.md
cody756 Sep 16, 2017
7ddf714
Update README.md
cody756 Sep 16, 2017
7c0717c
Update README.md
cody756 Sep 16, 2017
f631584
Update README.md
cody756 Sep 16, 2017
f3368c6
Update README.md
cody756 Sep 16, 2017
04740ca
Create README.md
cody756 Sep 16, 2017
641e036
Update README.md
cody756 Sep 16, 2017
627bb29
Update README.md
cody756 Sep 16, 2017
c048f1c
Update README.md
cody756 Sep 16, 2017
7fbfa6e
Update README.MD
cody756 Sep 16, 2017
830af96
Create README.md
cody756 Sep 16, 2017
a66ce79
Update README.md
cody756 Sep 16, 2017
91a4371
Update README.md
cody756 Sep 16, 2017
d446500
Update README.md
cody756 Sep 16, 2017
481e92e
Merge branch 'master' into master
pivovarit Sep 16, 2017
f1d605e
Update README.md
cody756 Oct 13, 2017
c9217b0
Update README.md
cody756 Oct 13, 2017
5075d91
Update README.md
cody756 Oct 13, 2017
ea5d1e6
Update README.md
cody756 Oct 13, 2017
12f0231
Update README.md
cody756 Oct 13, 2017
97575d5
Update README.md
cody756 Oct 13, 2017
a58f34a
Create README.md
cody756 Oct 13, 2017
70913ec
Create README.md
cody756 Oct 13, 2017
88bd8d1
Update README.md
cody756 Oct 13, 2017
34fa0fa
Update README.md
cody756 Oct 13, 2017
a08ed36
Create README.md
cody756 Oct 13, 2017
1f28376
Update README.md
cody756 Oct 13, 2017
c916b13
Update README.md
cody756 Oct 13, 2017
f3cb510
Update README.md
cody756 Oct 13, 2017
c7f2164
Update README.md
cody756 Oct 13, 2017
92429ba
Update README.md
cody756 Oct 13, 2017
f29bb28
Merge fix
pivovarit Oct 15, 2017
c6d069f
Merge fix
pivovarit Oct 15, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions algorithms/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Original file line number Diff line number Diff line change
@@ -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
*/
public class Premain {

public static void premain(String agentArgs, Instrumentation inst) {
inst.addTransformer(new ClassFileTransformer() {

@Override
public byte[] transform(ClassLoader l, String name, Class c,
ProtectionDomain d, byte[] b)
throws IllegalClassFormatException {
inst.addTransformer((l, name, c, d, b) -> {

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;
});
}

}
4 changes: 2 additions & 2 deletions core-java-8/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
- [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)
1 change: 1 addition & 0 deletions core-java-9/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
10 changes: 9 additions & 1 deletion core-java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
- [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)

1 change: 1 addition & 0 deletions ejb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
11 changes: 11 additions & 0 deletions libraries/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
3 changes: 2 additions & 1 deletion mustache/README.md
Original file line number Diff line number Diff line change
@@ -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)
5 changes: 5 additions & 0 deletions rxjava/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
1 change: 1 addition & 0 deletions spring-hibernate5/README.md
Original file line number Diff line number Diff line change
@@ -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)
2 changes: 2 additions & 0 deletions spring-mvc-kotlin/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
### Relevant articles
- [Spring MVC Setup with Kotlin](http://www.baeldung.com/spring-mvc-kotlin)
1 change: 1 addition & 0 deletions spring-rest-angular/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@

### Relevant Articles:

- [Spring’s RequestBody and ResponseBody Annotations](http://www.baeldung.com/spring-request-response-body)
3 changes: 3 additions & 0 deletions spring-swagger-codegen/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Relevant articles

- [Generate Spring Boot REST Client with Swagger](http://www.baeldung.com/spring-boot-rest-client-swagger-codegen)
2 changes: 1 addition & 1 deletion testing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 2 additions & 0 deletions vavr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 2 additions & 0 deletions vertx-and-rxjava/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
### Relevant articles
- [Example of Vertx and RxJava Integration](http://www.baeldung.com/vertx-rx-java)