[JAVA-616] core-java-arrays-operations-advanced

* Creation

* Moved code from https://www.baeldung.com/java-array-copy

* Moved code from https://www.baeldung.com/java-arrays-deepequals

* Moved code from https://www.baeldung.com/java-array-sum-average

* Moved code from https://www.baeldung.com/java-array-intersection
This commit is contained in:
dupirefr 2020-04-10 21:45:37 +02:00
parent e36771a763
commit 50530b81b4
14 changed files with 53 additions and 4 deletions

View File

@ -4,5 +4,4 @@ This module contains articles about Java arrays
## Relevant Articles ## Relevant Articles
- [Intersection Between two Integer Arrays](https://www.baeldung.com/java-array-intersection)
- [[<-- Prev]](/core-java-modules/core-java-arrays) - [[<-- Prev]](/core-java-modules/core-java-arrays)

View File

@ -1,3 +1,2 @@
### Relevant Articles: ### Relevant Articles:
- [Arrays.deepEquals](https://www.baeldung.com/java-arrays-deepequals)

View File

@ -0,0 +1,16 @@
## Core Java Arrays - Advanced Operations
This module contains articles about advanced operations on arrays in Java
Advanced operations would be much logic or interactions with other arrays, such as:
- Sum, average of elements
- Intersections
- ...
### Relevant Articles:
- [How to Copy an Array in Java](https://www.baeldung.com/java-array-copy)
- [Arrays.deepEquals](https://www.baeldung.com/java-arrays-deepequals)
- [Find Sum and Average in a Java Array](https://www.baeldung.com/java-array-sum-average)
- [Intersection Between two Integer Arrays](https://www.baeldung.com/java-array-intersection)
- [[More basic operations-->]](/core-java-modules/core-java-operations-basic)

View File

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>core-java-modules</artifactId>
<groupId>com.baeldung.core-java-modules</groupId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>core-java-arrays-operations-advanced</artifactId>
<name>core-java-arrays-operations-advanced</name>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>${commons-lang3.version}</version>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>${assertj-core.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<properties>
<commons-lang3.version>3.9</commons-lang3.version>
<assertj-core.version>3.10.0</assertj-core.version>
</properties>
</project>

View File

@ -3,6 +3,4 @@
This module contains articles about Java arrays This module contains articles about Java arrays
### Relevant Articles: ### Relevant Articles:
- [How to Copy an Array in Java](https://www.baeldung.com/java-array-copy)
- [Find Sum and Average in a Java Array](https://www.baeldung.com/java-array-sum-average)
- [[More -->]](/core-java-modules/core-java-arrays-2) - [[More -->]](/core-java-modules/core-java-arrays-2)

View File

@ -127,6 +127,7 @@
<module>core-java-arrays-multidimensional</module> <module>core-java-arrays-multidimensional</module>
<module>core-java-arrays-convert</module> <module>core-java-arrays-convert</module>
<module>core-java-arrays-operations-basic</module> <module>core-java-arrays-operations-basic</module>
<module>core-java-arrays-operations-advanced</module>
</modules> </modules>
</project> </project>