forked from eugenp/tutorials
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BAEL-19883] - Move articles out of core-kotlin part2
- Loading branch information
1 parent
2e1d1ff
commit b34da5a
Showing
58 changed files
with
85 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
## Core Kotlin Lang | ||
|
||
This module contains articles about core features in the Kotlin language. | ||
|
||
### Relevant articles: | ||
- [Kotlin return, break, continue Keywords](https://www.baeldung.com/kotlin-return-break-continue) | ||
- [Infix Functions in Kotlin](https://www.baeldung.com/kotlin-infix-functions) | ||
- [Lambda Expressions in Kotlin](https://www.baeldung.com/kotlin-lambda-expressions) | ||
- [Creating Java static final Equivalents in Kotlin](https://www.baeldung.com/kotlin-java-static-final) | ||
- [Initializing Arrays in Kotlin](https://www.baeldung.com/kotlin-initialize-array) | ||
- [Lazy Initialization in Kotlin](https://www.baeldung.com/kotlin-lazy-initialization) | ||
- [Comprehensive Guide to Null Safety in Kotlin](https://www.baeldung.com/kotlin-null-safety) | ||
- [[<-- Prev]](/core-kotlin-modules/core-kotlin-lang) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?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"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<artifactId>core-kotlin-lang-2</artifactId> | ||
<name>core-kotlin-lang-2</name> | ||
<packaging>jar</packaging> | ||
|
||
<parent> | ||
<groupId>com.baeldung.core-kotlin-modules</groupId> | ||
<artifactId>core-kotlin-modules</artifactId> | ||
<version>1.0.0-SNAPSHOT</version> | ||
</parent> | ||
|
||
</project> |
File renamed without changes.
File renamed without changes.
4 changes: 1 addition & 3 deletions
4
...com/baeldung/kotlin/LazyJavaUnitTest.java → ...a/com/baeldung/lazy/LazyJavaUnitTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...aeldung/kotlin/ArrayInitializationTest.kt → ...initialization/ArrayInitializationTest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...ldung/kotlin/constant/ConstantUnitTest.kt → ...com/baeldung/constant/ConstantUnitTest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...otlin/constant/TestKotlinConstantClass.kt → ...ldung/constant/TestKotlinConstantClass.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.baeldung.kotlin.constant | ||
package com.baeldung.constant | ||
|
||
|
||
class TestKotlinConstantClass { | ||
|
2 changes: 1 addition & 1 deletion
2
...tlin/constant/TestKotlinConstantObject.kt → ...dung/constant/TestKotlinConstantObject.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.baeldung.kotlin.constant | ||
package com.baeldung.constant | ||
|
||
|
||
object TestKotlinConstantObject { | ||
|
2 changes: 1 addition & 1 deletion
2
...com/baeldung/kotlin/InfixFunctionsTest.kt → ...dung/infixfunctions/InfixFunctionsTest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.baeldung.kotlin | ||
package com.baeldung.infixfunctions | ||
|
||
import org.junit.Assert | ||
import org.junit.Test | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...otlin/com/baeldung/kotlin/LazyUnitTest.kt → .../kotlin/com/baeldung/lazy/LazyUnitTest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...baeldung/kotlin/StructuralJumpUnitTest.kt → .../structuraljump/StructuralJumpUnitTest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
## Core Kotlin Lang | ||
|
||
This module contains articles about core features in the Kotlin language. | ||
|
||
### Relevant articles: | ||
- [Guide to the “when{}” Block in Kotlin](https://www.baeldung.com/kotlin-when) | ||
- [Difference Between “==” and “===” Operators in Kotlin](https://www.baeldung.com/kotlin-equality-operators) | ||
- [Nested forEach in Kotlin](https://www.baeldung.com/kotlin-nested-foreach) | ||
- [Destructuring Declarations in Kotlin](https://www.baeldung.com/kotlin-destructuring-declarations) | ||
- [Try-with-resources in Kotlin](https://www.baeldung.com/kotlin-try-with-resources) | ||
- [Operator Overloading in Kotlin](https://www.baeldung.com/kotlin-operator-overloading) | ||
- [Inline Functions in Kotlin](https://www.baeldung.com/kotlin-inline-functions) | ||
- [Void Type in Kotlin](https://www.baeldung.com/kotlin-void-type) | ||
- [How to use Kotlin Range Expressions](https://www.baeldung.com/kotlin-ranges) | ||
- [Creating a Kotlin Range Iterator on a Custom Object](https://www.baeldung.com/kotlin-custom-range-iterator) | ||
- [[More --> ]](/core-kotlin-modules/core-kotlin-lang-2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?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"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<artifactId>core-kotlin-lang</artifactId> | ||
<name>core-kotlin-lang</name> | ||
<packaging>jar</packaging> | ||
|
||
<parent> | ||
<groupId>com.baeldung.core-kotlin-modules</groupId> | ||
<artifactId>core-kotlin-modules</artifactId> | ||
<version>1.0.0-SNAPSHOT</version> | ||
</parent> | ||
|
||
</project> |
File renamed without changes.
File renamed without changes.
2 changes: 0 additions & 2 deletions
2
...dung/destructuringdeclarations/Sandbox.kt → ...dung/destructuringdeclarations/Sandbox.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...c/main/kotlin/com/baeldung/kotlin/User.kt → ...in/com/baeldung/equalityoperators/User.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
package com.baeldung.kotlin | ||
package com.baeldung.equalityoperators | ||
|
||
data class User(val name: String, val age: Int, val hobbies: List<String>) |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...n/kotlin/com/baeldung/functions/Inline.kt → ...main/kotlin/com/baeldung/inline/Inline.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.baeldung.functions | ||
package com.baeldung.inline | ||
|
||
import kotlin.random.Random | ||
|
||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...lin/com/baeldung/kotlin/WhenBlockTypes.kt → .../com/baeldung/whenblock/WhenBlockTypes.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.baeldung.kotlin | ||
package com.baeldung.whenblock | ||
|
||
enum class UnixFileType { | ||
D, HYPHEN_MINUS, L | ||
|
2 changes: 1 addition & 1 deletion
2
...otlin/com/baeldung/kotlin/EqualityTest.kt → ...aeldung/equalityoperators/EqualityTest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...lin/com/baeldung/range/CustomColorTest.kt → ...baeldung/rangeiterator/CustomColorTest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...est/kotlin/com/baeldung/kotlin/UseTest.kt → ...n/com/baeldung/trywithresource/UseTest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
.../com/baeldung/kotlin/WhenBlockUnitTest.kt → ...m/baeldung/whenblock/WhenBlockUnitTest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters