Coral-Core

Kotlin library to add convient classes and function.

Лицензия

Лицензия

Группа

Группа

org.tenkiv.coral
Идентификатор

Идентификатор

coral
Последняя версия

Последняя версия

2.1.2.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

Coral-Core
Kotlin library to add convient classes and function.
Система контроля версий

Система контроля версий

https://github.com/Tenkiv/Coral.git

Скачать coral

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.tenkiv.coral/coral/ -->
<dependency>
    <groupId>org.tenkiv.coral</groupId>
    <artifactId>coral</artifactId>
    <version>2.1.2.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.tenkiv.coral/coral/
implementation 'org.tenkiv.coral:coral:2.1.2.1'
// https://jarcasting.com/artifacts/org.tenkiv.coral/coral/
implementation ("org.tenkiv.coral:coral:2.1.2.1")
'org.tenkiv.coral:coral:jar:2.1.2.1'
<dependency org="org.tenkiv.coral" name="coral" rev="2.1.2.1">
  <artifact name="coral" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.tenkiv.coral', module='coral', version='2.1.2.1')
)
libraryDependencies += "org.tenkiv.coral" % "coral" % "2.1.2.1"
[org.tenkiv.coral/coral "2.1.2.1"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.tenkiv.coral : coral-common jar 2.1.2.1
org.jetbrains.kotlin : kotlin-stdlib-jdk8 jar 1.3.10

test (2)

Идентификатор библиотеки Тип Версия
io.kotlintest : kotlintest-runner-junit5 jar 3.1.0
org.jetbrains.kotlin : kotlin-reflect jar 1.3.10

Модули Проекта

Данный проект не имеет модулей.

Coral  License Matrix

Coral is a common set of kotlin stdlib and platform stdlib extensions used in many of our Kotlin projects at Tenkiv.

Common Maven Central
JVM Maven Central

Current features:

  • unimut() delegate that initialises a variable to null then allows to be set exactly once at any time. Has optional Thread synchronisation built in, as well as optional onSet() and onGet() functions to be executed accordingly. It throws a specific exception if you attempt to set it more than once which means you don't need to check for null when using a variable set with this delegate, works similarly to lateinit var.
  • feq() operator for generalised floating point equality.
  • Long extension properties for converting kotlin Longs into Durations.
  • can() operator for checking if a class is equal to or inherits from another class (like the is operator but for classes instead of instances of classes, in Java this is the isAssignableFrom() method).
  • ValueInstant typed tuple for pairing any value with a moment in time.
  • average() and findRatio() extension functions for collections.
org.tenkiv.coral

Tenkiv

Версии библиотеки

Версия
2.1.2.1
2.0.1.1
2.0.0.1