intern

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

Лицензия

Лицензия

Группа

Группа

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

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

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

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

1.0.0
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

intern
Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/
Ссылка на сайт

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

http://maven.apache.org
Система контроля версий

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

https://github.com/verhas/intern

Скачать intern

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

<plugin>
    <groupId>com.javax0</groupId>
    <artifactId>intern</artifactId>
    <version>1.0.0</version>
</plugin>

Зависимости

test (3)

Идентификатор библиотеки Тип Версия
org.hamcrest : hamcrest-core jar 1.3
org.hamcrest : hamcrest-library jar 1.3
junit : junit jar 4.11

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

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

intern

This library implements the InternPool as described on the page javax0 article. It is capable interning objects. Interned objects in a pool are represented with a single instance when they are equal. Thus

   a = pool.intern(a)
   b = pool.intern(b)

will become a == b if a.equals(b) was true before interning even if a == b was not true before interning.

The library is thread safe.

<dependency>
  <groupId>com.javax0</groupId>
  <artifactId>intern</artifactId>
  <version>1.0.0</version>
</dependency>

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

Версия
1.0.0