com.github.hughwick:id

Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/

Лицензия

Лицензия

Группа

Группа

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

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

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

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

1.0.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/

Скачать id

Имя Файла Размер
id-1.0.2.pom
id-1.0.2.jar 7 KB
id-1.0.2-sources.jar 4 KB
id-1.0.2-javadoc.jar 47 KB
Обзор

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

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

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

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

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

id

id 是一款为 java 设计常见 ID 实现策略。

Maven Central

快速开始

maven 引入

<dependency>
  <groupId>com.github.hughwick</groupId>
  <artifactId>id</artifactId>
  <version>1.0.2</version>
</dependency>

入门例子

测试代码

String uniqueId = IdSequence.snowflake();
System.out.println(uniqueId);
  • 结果
1299505900110270464

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

Версия
1.0.2
1.0.1
1.0.0