JavaUtil

Contains various utility classes for use in Java development.

Лицензия

Лицензия

Категории

Категории

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

Группа

com.github.michael-rapp
Идентификатор

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

java-util
Последняя версия

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

2.5.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

JavaUtil
Contains various utility classes for use in Java development.
Ссылка на сайт

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

https://github.com/michael-rapp/JavaUtil
Система контроля версий

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

https://github.com/michael-rapp/JavaUtil.git

Скачать java-util

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

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

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.jetbrains.kotlin : kotlin-stdlib jar 1.3.61
org.jetbrains : annotations jar [15.0,16.0)

test (3)

Идентификатор библиотеки Тип Версия
junit : junit jar [4.0,5.0)
org.mockito : mockito-core jar [2.8,2.9)
org.jetbrains.kotlin : kotlin-test-junit jar 1.3.61

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

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

JavaUtil - README

License Donate

"JavaUtil" is a library that provides various utility classes for use in Java development. Despite being meant to be used in Java projects, the library itself is implemented using the Kotlin programing language since version 2.0.0. The library currently provides the following features:

  • The class Condition provides methods, which allow to ensure that variables or objects fulfill certain conditions by throwing exceptions, if conditions are violated, e.g. when an object is null.
  • The class ClassUtil provides methods, which allow to handle class names.
  • The class StreamUtil provides methods, which allow to handle streams.
  • The class TextUtil provides methods, which allow to handle texts.
  • The class IteratorUtil provides methods, which allow to handle Iterators and Iterables.
  • The class FlagUtil provides methods, which allow to handle flags.
  • The class FileUtil provides methods, which allow to handle files.
  • The class Pair is a generic data structure, which eases to pass around a tuple of two objects.
  • The class Triple is a generic data structure, which eases to pass around a triple of three objects.
  • The class SortedArrayList is an extension of the class java.util.ArrayList, which keeps its items sorted whenever updated.
  • The class SortedArraySet is a sorted set, similar to a java.util.TreeSet, which detects duplicate items based on their hash codes instead of using the Comparable interface or the result of the compareTo-method.
  • The class ListenerList is a list, which is meant to be used for managing listeners.
  • The class FixedPriorityQueue is a PriorityQueue with a fixed maximum size.

License Agreement

This project is distributed under the Apache License version 2.0. For further information about this license agreement's content please refer to its full version, which is available at http://www.apache.org/licenses/LICENSE-2.0.txt.

Download

The latest release of this library can be downloaded as a zip archive from the download section of the project's Github page, which is available here. Furthermore, the library's source code is available as a Git repository, which can be cloned using the URL https://github.com/michael-rapp/JavaUtil.git.

Alternatively, the library can be added to your project as a Gradle dependency by adding the following to the build.gradle file:

dependencies {
    compile 'com.github.michael-rapp:java-util:2.5.0'
}

When using Maven, the following dependency can be added to the pom.xml:

<dependency>
    <groupId>com.github.michael-rapp</groupId>
    <artifactId>java-util</artifactId>
    <version>2.5.0</version>
</dependency>

Contact information

For personal feedback or questions feel free to contact me via the mail address, which is mentioned on my Github profile. If you have found any bugs or want to post a feature request, please use the bugtracker to report them.

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

Версия
2.5.0
2.4.1
2.4.0
2.3.0
2.2.1
2.2.0
2.1.1
2.1.0
2.0.2
2.0.1
2.0.0
1.2.0
1.1.1
1.1.0
1.0.0