├── .gitignore ├── .idea └── .gitignore ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── settings.gradle.kts └── src └── main └── kotlin ├── 1-BasicTypes.kt ├── 10-TypeCheckAndCast.kt ├── 11-ExtensionAndInfixFunctions.kt ├── 12-LambdaExpressionsAndAnonymousFunctions.kt ├── 13-HigherOrderFunctions.kt ├── 14-TailRecFunctions.kt ├── 15-InlineFunctions.kt ├── 16-Properties.kt ├── 17-DataClasses.kt ├── 18-ScopeFunctions.kt ├── 19-Inheritance.kt ├── 2-Conditions.kt ├── 20-Interfaces.kt ├── 21-AbstractClasses.kt ├── 22-EnumClasses.kt ├── 23-InlineValueClasses.kt ├── 24-ObjectDeclarationsAndExpressions.kt ├── 25-OperatorOverloading.kt ├── 26-1.png ├── 26-2.png ├── 26-3.png ├── 26-4.png ├── 26-5.png ├── 26-Generics.kt ├── 27-SealedClasses.kt ├── 28-Reflection.kt ├── 29-Delegation.kt ├── 3-Loops.kt ├── 30-DelegatedProperties.kt ├── 31-CoroutineBasics.kt ├── 32-CancellationAndTimeOuts.kt ├── 33-ComposingSuspendFunctions.kt ├── 34-CoroutineContextAndDispatchers.kt ├── 35-AsynchronousFlow.kt ├── 4-ReturnsAndJumps.kt ├── 5-Functions.kt ├── 6-Classes.kt ├── 7-NestedAndInnerClasses.kt ├── 8-NullSafety.kt ├── 9-Exceptions.kt └── coroutineold ├── 31-Coroutines-Thread.kt ├── 32-Coroutines-BasicCoroutine.kt ├── 33-Coroutines-Suspend.kt ├── 34-Coroutines-ReturnWithCoroutine.kt ├── 35-Coroutines-ContextSafety.kt ├── 36-Coroutines-Cancellation.kt ├── 37-Coroutines-SuspensionVSBlocking.kt ├── 38-Coroutines-Dispatchers.kt ├── 39-Coroutines-MainDispatcher.kt └── 40-Coroutines-BackgroundDispatchers.kt /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | kotlin.code.style=official 2 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/gradlew.bat -------------------------------------------------------------------------------- /settings.gradle.kts: -------------------------------------------------------------------------------- 1 | 2 | rootProject.name = "MentoringExercise" 3 | 4 | -------------------------------------------------------------------------------- /src/main/kotlin/1-BasicTypes.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/1-BasicTypes.kt -------------------------------------------------------------------------------- /src/main/kotlin/10-TypeCheckAndCast.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/10-TypeCheckAndCast.kt -------------------------------------------------------------------------------- /src/main/kotlin/11-ExtensionAndInfixFunctions.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/11-ExtensionAndInfixFunctions.kt -------------------------------------------------------------------------------- /src/main/kotlin/12-LambdaExpressionsAndAnonymousFunctions.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/12-LambdaExpressionsAndAnonymousFunctions.kt -------------------------------------------------------------------------------- /src/main/kotlin/13-HigherOrderFunctions.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/13-HigherOrderFunctions.kt -------------------------------------------------------------------------------- /src/main/kotlin/14-TailRecFunctions.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/14-TailRecFunctions.kt -------------------------------------------------------------------------------- /src/main/kotlin/15-InlineFunctions.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/15-InlineFunctions.kt -------------------------------------------------------------------------------- /src/main/kotlin/16-Properties.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/16-Properties.kt -------------------------------------------------------------------------------- /src/main/kotlin/17-DataClasses.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/17-DataClasses.kt -------------------------------------------------------------------------------- /src/main/kotlin/18-ScopeFunctions.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/18-ScopeFunctions.kt -------------------------------------------------------------------------------- /src/main/kotlin/19-Inheritance.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/19-Inheritance.kt -------------------------------------------------------------------------------- /src/main/kotlin/2-Conditions.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/2-Conditions.kt -------------------------------------------------------------------------------- /src/main/kotlin/20-Interfaces.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/20-Interfaces.kt -------------------------------------------------------------------------------- /src/main/kotlin/21-AbstractClasses.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/21-AbstractClasses.kt -------------------------------------------------------------------------------- /src/main/kotlin/22-EnumClasses.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/22-EnumClasses.kt -------------------------------------------------------------------------------- /src/main/kotlin/23-InlineValueClasses.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/23-InlineValueClasses.kt -------------------------------------------------------------------------------- /src/main/kotlin/24-ObjectDeclarationsAndExpressions.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/24-ObjectDeclarationsAndExpressions.kt -------------------------------------------------------------------------------- /src/main/kotlin/25-OperatorOverloading.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/25-OperatorOverloading.kt -------------------------------------------------------------------------------- /src/main/kotlin/26-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/26-1.png -------------------------------------------------------------------------------- /src/main/kotlin/26-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/26-2.png -------------------------------------------------------------------------------- /src/main/kotlin/26-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/26-3.png -------------------------------------------------------------------------------- /src/main/kotlin/26-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/26-4.png -------------------------------------------------------------------------------- /src/main/kotlin/26-5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/26-5.png -------------------------------------------------------------------------------- /src/main/kotlin/26-Generics.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/26-Generics.kt -------------------------------------------------------------------------------- /src/main/kotlin/27-SealedClasses.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/27-SealedClasses.kt -------------------------------------------------------------------------------- /src/main/kotlin/28-Reflection.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/28-Reflection.kt -------------------------------------------------------------------------------- /src/main/kotlin/29-Delegation.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/29-Delegation.kt -------------------------------------------------------------------------------- /src/main/kotlin/3-Loops.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/3-Loops.kt -------------------------------------------------------------------------------- /src/main/kotlin/30-DelegatedProperties.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/30-DelegatedProperties.kt -------------------------------------------------------------------------------- /src/main/kotlin/31-CoroutineBasics.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/31-CoroutineBasics.kt -------------------------------------------------------------------------------- /src/main/kotlin/32-CancellationAndTimeOuts.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/32-CancellationAndTimeOuts.kt -------------------------------------------------------------------------------- /src/main/kotlin/33-ComposingSuspendFunctions.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/33-ComposingSuspendFunctions.kt -------------------------------------------------------------------------------- /src/main/kotlin/34-CoroutineContextAndDispatchers.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/34-CoroutineContextAndDispatchers.kt -------------------------------------------------------------------------------- /src/main/kotlin/35-AsynchronousFlow.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/35-AsynchronousFlow.kt -------------------------------------------------------------------------------- /src/main/kotlin/4-ReturnsAndJumps.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/4-ReturnsAndJumps.kt -------------------------------------------------------------------------------- /src/main/kotlin/5-Functions.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/5-Functions.kt -------------------------------------------------------------------------------- /src/main/kotlin/6-Classes.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/6-Classes.kt -------------------------------------------------------------------------------- /src/main/kotlin/7-NestedAndInnerClasses.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/7-NestedAndInnerClasses.kt -------------------------------------------------------------------------------- /src/main/kotlin/8-NullSafety.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/8-NullSafety.kt -------------------------------------------------------------------------------- /src/main/kotlin/9-Exceptions.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/9-Exceptions.kt -------------------------------------------------------------------------------- /src/main/kotlin/coroutineold/31-Coroutines-Thread.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/coroutineold/31-Coroutines-Thread.kt -------------------------------------------------------------------------------- /src/main/kotlin/coroutineold/32-Coroutines-BasicCoroutine.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/coroutineold/32-Coroutines-BasicCoroutine.kt -------------------------------------------------------------------------------- /src/main/kotlin/coroutineold/33-Coroutines-Suspend.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/coroutineold/33-Coroutines-Suspend.kt -------------------------------------------------------------------------------- /src/main/kotlin/coroutineold/34-Coroutines-ReturnWithCoroutine.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/coroutineold/34-Coroutines-ReturnWithCoroutine.kt -------------------------------------------------------------------------------- /src/main/kotlin/coroutineold/35-Coroutines-ContextSafety.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/coroutineold/35-Coroutines-ContextSafety.kt -------------------------------------------------------------------------------- /src/main/kotlin/coroutineold/36-Coroutines-Cancellation.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/coroutineold/36-Coroutines-Cancellation.kt -------------------------------------------------------------------------------- /src/main/kotlin/coroutineold/37-Coroutines-SuspensionVSBlocking.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/coroutineold/37-Coroutines-SuspensionVSBlocking.kt -------------------------------------------------------------------------------- /src/main/kotlin/coroutineold/38-Coroutines-Dispatchers.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/coroutineold/38-Coroutines-Dispatchers.kt -------------------------------------------------------------------------------- /src/main/kotlin/coroutineold/39-Coroutines-MainDispatcher.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/coroutineold/39-Coroutines-MainDispatcher.kt -------------------------------------------------------------------------------- /src/main/kotlin/coroutineold/40-Coroutines-BackgroundDispatchers.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilozcan/MentoringExercise/HEAD/src/main/kotlin/coroutineold/40-Coroutines-BackgroundDispatchers.kt --------------------------------------------------------------------------------