57 Commits

Author SHA1 Message Date
Juan Vaccari
b539d4bd5d BAEL-2652 Add read resource file cases 2019-04-25 19:00:34 +01:00
Loredana Crusoveanu
8424a1047e
Merge pull request #6649 from kacperkoza/BAEL
extension function in java
2019-04-08 00:01:49 +03:00
Kacper Koza
6fe5f008a7 BAEL 2019-04-03 09:47:58 +02:00
Kacper Koza
b84b7117a6 extension function in java 2019-04-02 20:04:44 +02:00
Loredana Crusoveanu
0811b20096
Merge pull request #6494 from Maiklins/BAEL-2217
Bael 2217
2019-03-10 14:34:19 +02:00
mikr
8cf72e2e7e BAEL-2217 forEach inside forEach in Kotlin: add flatMap example 2019-03-09 17:18:23 +01:00
Denis Zhdanov
47eee45301 BAEL-2581 Delegation Pattern in Kotlin 2019-03-03 07:24:02 +08:00
Loredana Crusoveanu
7825cb2059
Merge pull request #6288 from denis-zhdanov/BAEL-2582-kotlin-dsl
BAEL-2582 Building DSLs in Kotlin
2019-02-24 20:05:11 +02:00
Laurentiu Delcea
cf72052df5 BAEL-2651 Implement Java static methods equivalent (#6322) 2019-02-12 15:20:38 -08:00
Denis Zhdanov
29c13ca801 BAEL-2582 Building DSLs in Kotlin
* added basic SQL DSL
* basic SQL DSL tests
2019-02-06 11:12:14 +08:00
Maiklins
af9a60bddf BAEL-2217 forEach within forEach (#6166) 2019-01-17 19:31:13 -08:00
Graham Cox
802e2b0398 Removed Kovert from core-kotlin now it's in kotlin-libraries instead (#6101) 2019-01-08 15:06:25 +01:00
Loredana Crusoveanu
cd873618a6
Merge pull request #5771 from denis-zhdanov/BAEL-2373-kotlin-contracts
BAEL-2373 Kotlin Contracts
2018-12-20 22:46:08 +02:00
Laurentiu Delcea
d8e34dc9f2 BAEL-2376 Inline classes in kotlin (#5842)
* BAEL-2376 Inline classes in kotlin

* BAEL-2376 Move classes
2018-12-16 13:22:22 -03:00
Graham Cox
6ede1b7440 Kovert examples (#5831) 2018-12-16 08:21:41 +01:00
Ali Dehghani
7f5789c274 Added a simple function for bytecode inspection. 2018-12-06 13:30:59 +03:30
Ali Dehghani
ad8ae556a8 Added a few unit tests for kotlin operator examples. 2018-11-29 16:06:42 +03:30
Ali Dehghani
1250605e19 Added a new shape class instead of UI. 2018-11-29 16:06:42 +03:30
Ali Dehghani
a8d9eb084a Added two missing import statements 2018-11-29 16:06:42 +03:30
Ali Dehghani
2ee5e03b88 Added the codes used for operator overloading article 2018-11-29 16:06:42 +03:30
Denis Zhdanov
0d5d3039cf BAEL-2373 Kotlin Contracts
* upgraded kotlin version to 1.3.10
* added contract examples
2018-11-25 13:53:48 +08:00
Ali Dehghani
927a8851ae BAEL-2374: Added a simple reified generic example. 2018-11-15 21:27:02 +03:30
Graham Cox
d7bbfb353d Examples of using Injekt (#5519) 2018-10-29 14:04:07 -07:00
Kevin Wittek
018e00c804 Fix indentation of Kotlin datamapping examples (#5563)
* Add Kotlin data mapping examples (BAEL-2247)

* Fix indentation in Kotlin datamapping examples
2018-10-29 16:02:38 +01:00
José Carlos Valero Sánchez
67b02d7277
Merge pull request #5559 from laurentiud/master
BAEL-2218 Example of sorting in Kotlin
2018-10-28 20:40:50 +00:00
Kevin Wittek
c10101a9ac Add Kotlin data mapping examples (BAEL-2247) (#5560) 2018-10-28 18:22:24 +01:00
Laurentiu
49b42d75df BAEL-2218 Example of sorting in Kotlin 2018-10-28 18:16:59 +02:00
José Carlos Valero Sánchez
55ccc6b433
Merge pull request #5395 from freddyaott/master
[BAEL-2264] Creating a Thread in Kotlin
2018-10-25 20:57:17 +01:00
José Carlos Valero Sánchez
4afec1b4f4
Merge pull request #5449 from kcacademic/kotlin-interfaces
Adding files for the article BAEL-2206
2018-10-16 09:03:41 +01:00
Kumar Chandrakant
bae7a74acd Adding files for the article BAEL-2206 2018-10-12 10:54:04 +01:00
Andrey Shcherbakov
44a3d36bd9 Implement a binary tree (#5431)
* Add code for the article 'Java Primitives versus Objects'

* Use JMH for benchmarking the primitive and wrapper classes

* Uncomment the benchmarks and remove unused class

* Add a binary search tree implementation

* Add an example of how to use the binary tree class

* Adjust the print statements
2018-10-11 22:16:54 -07:00
Alfonso Lentini
2d3accedcc Thread and Coroutines in Kotlin 2018-10-07 13:08:12 +02:00
amit2103
9e2a18a6d5 [BAEL-8472] - Resolved conflict 2018-09-09 11:01:53 +05:30
freddyaott
a2f77a2783 [BAEL-1401] Fuel HTTP Library with Kotlin (#5142)
* builder pattern in kotlin

* builder pattern in kotlin new-line

* deleted Sandbox, added unit test

* add other tests

* named and default parameters builder

* Make FoodOrderNamed a data class

* idiomatic Kotlin version

* Fuel HTTP library

* fuel pom property

* BAEL-1401 Removed extra pom.xml properties
2018-09-06 03:45:42 +02:00
Grzegorz Piwowarek
cb86a05efd
Kotlin Builder example refactor (#4895)
* encoding

* Refactor builder

* Usage

* Builder as data class
2018-08-18 14:01:01 +02:00
Juan Moreno
74e3e7ff95 Kotlin Nested and Inner Classes Code SampleCode
Issue: BAEL-1759
2018-08-13 17:33:36 -06:00
Kacper
4cd349f533 Kotlin constructors (#4933) 2018-08-10 21:10:15 +02:00
amit2103
d268ffa5c9 [BAEL-7670] Added logback.xml in missing modules in src/main/resources 2018-08-05 18:40:49 +05:30
freddyaott
4aa77eb55d BAEL-1840 Builder Pattern in Kotlin (#4730)
* builder pattern in kotlin

* builder pattern in kotlin new-line

* deleted Sandbox, added unit test

* add other tests

* named and default parameters builder

* Make FoodOrderNamed a data class
2018-08-03 03:11:35 +01:00
Alessio Stalla
416a88eae5 BAEL-1838 (#4692)
* #BAEL-1838 code samples. Renamed LambdaKotlinTest to have the build succeed.

* #BAEL-1838 code samples w/inheritance.

* #BAEL-1838 renamed logger helper function to getLogger to avoid confusion.

* #BAEL-1838 renamed logger helper function to getLogger to avoid confusion.
2018-07-20 07:16:13 +02:00
Loredana Crusoveanu
7ab2a2c181 moven kotlin-maven project 2018-07-11 22:28:11 +03:00
Syed Mansoor
396df6fdca [BAEL-1753] Moved Kotlin-ktor in core-kotlin module 2018-07-03 21:16:12 +10:00
Andrey Shcherbakov
0e97b9d21b Add the code snippets of the Kotlin String Template article (#4541) 2018-06-26 13:37:43 -07:00
Grzegorz Piwowarek
6dad233602 BAEL-1758 Idiomatic Kotlin usage in enum (#4434) 2018-06-09 11:29:35 +02:00
Devesh Chanchlani
8080f07c6c BAEL-1758: removing helper class and adding static functions to the Kotlin Enum example (#4419) 2018-06-07 08:18:48 +02:00
Devesh Chanchlani
be608ae4fb BAEL-1758: Working with Enums in Kotlin (#4413) 2018-06-06 01:20:26 +02:00
Juan Moreno
4308468c60 Sample code for BAEL-1399 (#4165)
* Squashed commit of the following:

commit b31955df9638a6217a804e61faa230d8eacb293b
Author: Juan Moreno <earth001@gmail.com>
Date:   Wed Feb 21 22:45:52 2018 -0300

    Sample code for BAEL-1159 - Working with Kotlin and JPA - earth001@gmail.com

* Squashed commit of the following:

commit 4e6e27c914a401ee6bc599c7ffe913384137646a
Author: Juan Moreno <earth001@gmail.com>
Date:   Wed Feb 21 23:26:20 2018 -0300

    Fix package names

commit b31955df9638a6217a804e61faa230d8eacb293b
Author: Juan Moreno <earth001@gmail.com>
Date:   Wed Feb 21 22:45:52 2018 -0300

    Sample code for BAEL-1159 - Working with Kotlin and JPA - earth001@gmail.com

* Added sample with null fields

* Removed unused dependency

* BAEL-1159 - Simplified example

* Code sample to BAEL-1399

* Code sample to BAEL-1399

* Sample code for BAEL-1399

* Sample code for BAEL-1399

* Sample code for BAEL-1399

* Upgrade to Klaxon 3.0.2, polish test

* Added sample with annotations

* Upgrade dependencies

* Ugrade library version, added JSON Path sample

* Reverted changes
2018-05-26 11:19:25 -05:00
José Carlos Valero Sánchez
2a61d6473b
Merge pull request #4029 from theawesomenayak/BAEL-1675
[BAEL-1675] Write to a File in Kotlin
2018-05-05 14:13:49 +01:00
Siben Nayak
c2d89c8679 Fixed unit test cases and formatting 2018-05-05 18:24:13 +05:30
pauljervis
c5af483a8d Kotlin Lambda Article Code (#4100)
* Add Kotlin lambdas and tests from Java and Kotlin

* Add the actual code under test

* Add different types of lambdas performing the same action.
2018-05-01 12:56:40 +02:00