com.kotlinnlp:utils

Utils is a Kotlin package containing utilities for the KotlinNLP library.

Лицензия

Лицензия

Категории

Категории

Kotlin Языки программирования
Группа

Группа

com.kotlinnlp
Идентификатор

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

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

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

2.1.4
Дата

Дата

Тип

Тип

jar
Описание

Описание

com.kotlinnlp:utils
Utils is a Kotlin package containing utilities for the KotlinNLP library.
Ссылка на сайт

Ссылка на сайт

http://github.com/kotlinnlp/utils
Система контроля версий

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

http://github.com/kotlinnlp/utils/tree/master

Скачать utils

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

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

Зависимости

compile (10)

Идентификатор библиотеки Тип Версия
org.jetbrains.kotlin : kotlin-stdlib-jdk8 jar 1.3.31
org.jetbrains.kotlin : kotlin-reflect jar 1.3.31
org.jetbrains.kotlin : kotlin-test jar 1.3.31
org.spekframework.spek2 : spek-dsl-jvm pom 2.0.5
org.spekframework.spek2 : spek-runner-junit5 jar 2.0.5
com.google.guava : guava jar 24.1.1-jre
org.lmdbjava : lmdbjava jar 0.6.3
org.slf4j : slf4j-simple jar 1.7.21
com.beust : klaxon jar 5.2
com.rabbitmq : amqp-client jar 5.8.0

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

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

Utils Maven Central Build Status

Utils is a Kotlin package containing utilities for the KotlinNLP library.

Utils is part of KotlinNLP.

Getting Started

Import with Maven

<dependency>
    <groupId>com.kotlinnlp</groupId>
    <artifactId>utils</artifactId>
    <version>2.1.4</version>
</dependency>

ProgressIndicator

ProgressIndicator implements different indicators to track a progress:

  • Bar |███████████ | 95%
  • Icon / - \ |
  • Percentage [60%]

Example

Simply declare a ProgressIndicator passing it the total amount of steps to track and the call the tick() method to fo forward of one single step. Is it possible to pass it the amount of steps setting the amount parameter.

import com.kotlinnlp.utils.progressindicator.ProgressIndicatorBar

val progress = ProgressIndicatorBar(1000)

(0 until 1000).forEach {
  progress.tick()
  Thread.sleep(10)
}

Try some examples running the files in the examples/progressindicator folder.

License

This software is released under the terms of the Mozilla Public License, v. 2.0

Contributions

We greatly appreciate any bug reports and contributions, which can be made by filing an issue or making a pull request through the github page.

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

Версия
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.0
1.1.0
1.0.0