com.kotlinnlp:progressindicator

ProgressIndicator implements different indicators to track a progress.

Лицензия

Лицензия

Категории

Категории

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

Группа

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

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

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

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

1.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

com.kotlinnlp:progressindicator
ProgressIndicator implements different indicators to track a progress.
Ссылка на сайт

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

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

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

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

Скачать progressindicator

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

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

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.jetbrains.kotlin : kotlin-stdlib jar 1.1.60
org.jetbrains.kotlin : kotlin-reflect jar 1.1.60

runtime (1)

Идентификатор библиотеки Тип Версия
org.jetbrains.spek : spek-junit-platform-engine jar 1.1.4

test (2)

Идентификатор библиотеки Тип Версия
org.jetbrains.kotlin : kotlin-test jar 1.1.60
org.jetbrains.spek : spek-api pom 1.1.4

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

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

ProgressIndicator No Maintenance Intended GitHub version Build Status

Deprecated. Please use Utils/progressindicator instead.

ProgressIndicator implements different indicators to track a progress:

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

ProgressIndicator is part of KotlinNLP.

Getting Started

Import with Maven

<dependency>
    <groupId>com.kotlinnlp</groupId>
    <artifactId>progressindicator</artifactId>
    <version>1.0.0</version>
</dependency>

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.progressindicator.ProgressIndicatorBar

val progress = ProgressIndicatorBar(1000)

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

Try some examples running the files in the examples 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.

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

Версия
1.0.0