[JAVA-621] core-java-lang-oop-methods module

* Creation

* Moved code from https://www.baeldung.com/java-equals-hashcode-contracts

* Moved code from www.baeldung.com/java-hashcode

* Moved code from https://www.baeldung.com/java-method-overload-override

* Moved code from www.baeldung.com/java-methods

* Moved article references to the new README.md
This commit is contained in:
dupirefr 2020-04-04 11:38:22 +02:00
parent 654de59bbf
commit b1e507d44c
23 changed files with 45 additions and 4 deletions

View File

@ -3,5 +3,4 @@
This module contains articles about Object-oriented programming (OOP) in Java
### Relevant Articles:
- [Java equals() and hashCode() Contracts](https://www.baeldung.com/java-equals-hashcode-contracts)
- [[<-- Prev]](/core-java-modules/core-java-lang-oop)[[More -->]](/core-java-modules/core-java-lang-oop-3)

View File

@ -4,6 +4,5 @@ This module contains articles about Object-oriented programming (OOP) in Java
### Relevant Articles:
- [Static and Dynamic Binding in Java](https://www.baeldung.com/java-static-dynamic-binding)
- [Methods in Java](https://www.baeldung.com/java-methods)
- [Java private Access Modifier](https://www.baeldung.com/java-private-keyword)
- [[<-- Prev]](/core-java-modules/core-java-lang-oop-3)

View File

@ -0,0 +1,9 @@
## Core Java Lang OOP - Methods
This module contains articles about methods in Java
### Relevant Articles:
- [Methods in Java](https://www.baeldung.com/java-methods)
- [Method Overloading and Overriding in Java](https://www.baeldung.com/java-method-overload-override)
- [Java equals() and hashCode() Contracts](https://www.baeldung.com/java-equals-hashcode-contracts)
- [Guide to hashCode() in Java](https://www.baeldung.com/java-hashcode)

View File

@ -0,0 +1,35 @@
<?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-lang-oop-modules</artifactId>
<groupId>com.baeldung.core-java-lang-oop-modules</groupId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>core-java-lang-oop-methods</artifactId>
<name>core-java-lang-oop-methods</name>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>${assertj-core.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>nl.jqno.equalsverifier</groupId>
<artifactId>equalsverifier</artifactId>
<version>${equalsverifier.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<properties>
<assertj-core.version>3.10.0</assertj-core.version>
<equalsverifier.version>3.0.3</equalsverifier.version>
</properties>
</project>

View File

@ -21,5 +21,6 @@
<module>core-java-lang-oop-modifiers</module>
<module>core-java-lang-oop-types</module>
<module>core-java-lang-oop-inheritance</module>
<module>core-java-lang-oop-methods</module>
</modules>
</project>

View File

@ -3,8 +3,6 @@
This module contains articles about Object-oriented programming (OOP) in Java
### Relevant Articles:
- [Guide to hashCode() in Java](https://www.baeldung.com/java-hashcode)
- [Method Overloading and Overriding in Java](https://www.baeldung.com/java-method-overload-override)
- [How to Make a Deep Copy of an Object in Java](https://www.baeldung.com/java-deep-copy)
- [Type Erasure in Java Explained](https://www.baeldung.com/java-type-erasure)
- [Object-Oriented-Programming Concepts in Java](https://www.baeldung.com/java-oop)