Skip to content

Commit 375df7f

Browse files
committed
Merge branch 'master' of https://github.com/eugenp/tutorials into task/BAEL-8844
2 parents 9ab54cb + 2a66773 commit 375df7f

184 files changed

Lines changed: 4742 additions & 1747 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

core-java/src/main/java/com/baeldung/linesintersection/LinesIntersectionService.java renamed to algorithms/src/main/java/com/baeldung/algorithms/linesintersection/LinesIntersectionService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.baeldung.linesintersection;
1+
package com.baeldung.algorithms.linesintersection;
22

33
import java.awt.Point;
44
import java.util.Optional;

core-java/src/test/java/com/baeldung/linesintersection/LinesIntersectionServiceUnitTest.java renamed to algorithms/src/test/java/com/baeldung/algorithms/linesintersection/LinesIntersectionServiceUnitTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.baeldung.linesintersection;
1+
package com.baeldung.algorithms.linesintersection;
22

33
import java.awt.Point;
44
import java.util.Optional;
@@ -23,7 +23,7 @@ public void givenNotParallelLines_whenCalculatePoint_thenPresent() {
2323

2424
assertTrue(point.isPresent());
2525
assertEquals(point.get().getX(), 1, 0.001);
26-
assertEquals(point.get().getX(), 1, 0.001);
26+
assertEquals(point.get().getY(), 0, 0.001);
2727
}
2828

2929
@Test

‎core-java-8/README.md‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,17 @@
1515
- [Guide to Java 8 Comparator.comparing()](http://www.baeldung.com/java-8-comparator-comparing)
1616
- [Guide To Java 8 Optional](http://www.baeldung.com/java-optional)
1717
- [Guide to the Java 8 forEach](http://www.baeldung.com/foreach-java)
18-
- [Finding Max/Min of a List or Collection](http://www.baeldung.com/java-collection-min-max)
1918
- [Java Base64 Encoding and Decoding](http://www.baeldung.com/java-base64-encode-and-decode)
2019
- [The Difference Between map() and flatMap()](http://www.baeldung.com/java-difference-map-and-flatmap)
21-
- [Copy a File with Java](http://www.baeldung.com/java-copy-file)
2220
- [Static and Default Methods in Interfaces in Java](http://www.baeldung.com/java-static-default-methods)
2321
- [Efficient Word Frequency Calculator in Java](http://www.baeldung.com/java-word-frequency)
24-
- [Fail-Safe Iterator vs Fail-Fast Iterator](http://www.baeldung.com/java-fail-safe-vs-fail-fast-iterator)
25-
- [Shuffling Collections In Java](http://www.baeldung.com/java-shuffle-collection)
2622
- [Introduction to Spliterator in Java](http://www.baeldung.com/java-spliterator)
2723
- [Java 8 Math New Methods](http://www.baeldung.com/java-8-math)
2824
- [Overview of Java Built-in Annotations](http://www.baeldung.com/java-default-annotations)
2925
- [Finding Min/Max in an Array with Java](http://www.baeldung.com/java-array-min-max)
3026
- [Internationalization and Localization in Java 8](http://www.baeldung.com/java-8-localization)
31-
- [How to Find an Element in a List with Java](http://www.baeldung.com/find-list-element-java)
3227
- [Java Optional – orElse() vs orElseGet()](http://www.baeldung.com/java-optional-or-else-vs-or-else-get)
33-
- [An Introduction to Java.util.Hashtable Class](http://www.baeldung.com/java-hash-table)
3428
- [Method Parameter Reflection in Java](http://www.baeldung.com/java-parameter-reflection)
3529
- [Java 8 Unsigned Arithmetic Support](http://www.baeldung.com/java-unsigned-arithmetic)
3630
- [Generalized Target-Type Inference in Java](http://www.baeldung.com/java-generalized-target-type-inference)
37-
- [Copy a List to Another List in Java](http://www.baeldung.com/java-copy-list-to-another)
3831
- [Overriding System Time for Testing in Java](http://www.baeldung.com/java-override-system-time)

‎core-java-8/src/test/java/com/baeldung/streamordering/BenchmarkUnitTest.java‎

Lines changed: 0 additions & 97 deletions
This file was deleted.

‎core-java-8/src/test/java/com/baeldung/streamordering/StreamsOrderingUnitTest.java‎

Lines changed: 0 additions & 149 deletions
This file was deleted.

‎core-java-collections/README.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,9 @@
3737
- [How to Convert List to Map in Java](http://www.baeldung.com/java-list-to-map)
3838
- [Initializing HashSet at the Time of Construction](http://www.baeldung.com/java-initialize-hashset)
3939
- [Removing the First Element of an Array](https://www.baeldung.com/java-array-remove-first-element)
40+
- [Fail-Safe Iterator vs Fail-Fast Iterator](http://www.baeldung.com/java-fail-safe-vs-fail-fast-iterator)
41+
- [Shuffling Collections In Java](http://www.baeldung.com/java-shuffle-collection)
42+
- [How to Find an Element in a List with Java](http://www.baeldung.com/find-list-element-java)
43+
- [An Introduction to Java.util.Hashtable Class](http://www.baeldung.com/java-hash-table)
44+
- [Copy a List to Another List in Java](http://www.baeldung.com/java-copy-list-to-another)
45+
- [Finding Max/Min of a List or Collection](http://www.baeldung.com/java-collection-min-max)

core-java-8/src/main/java/com/baeldung/findanelement/Customer.java renamed to core-java-collections/src/main/java/com/baeldung/findanelement/Customer.java

File renamed without changes.

core-java-8/src/main/java/com/baeldung/findanelement/FindACustomerInGivenList.java renamed to core-java-collections/src/main/java/com/baeldung/findanelement/FindACustomerInGivenList.java

File renamed without changes.

core-java-8/src/main/java/com/baeldung/hashtable/Word.java renamed to core-java-collections/src/main/java/com/baeldung/hashtable/Word.java

File renamed without changes.

core-java-8/src/main/java/com/baeldung/iterators/Iterators.java renamed to core-java-collections/src/main/java/com/baeldung/iterators/Iterators.java

File renamed without changes.

0 commit comments

Comments
 (0)