yapool

WebJar for yapool

Лицензия

Лицензия

ISC
Группа

Группа

org.webjars.npm
Идентификатор

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

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

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

1.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

yapool
WebJar for yapool
Ссылка на сайт

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

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

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

https://github.com/isaacs/yapool

Скачать yapool

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

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

Зависимости

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

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

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

yapool

Yet Another object pool in JavaScript

Because yallist is sometimes too featureful, this is a very dead-simple linked-list pool thingie in JavaScript that lets you add and remove objects in a set.

Not suitable for very long lists, because all searches are O(n), but for small n, it has very low complexity.

API

p = new Pool()

Constructor takes no arguments

p.add(someObject)

put an object in the pool

p.length

return the number of things in the pool.

p.remove(someObject)

remove that object from the pool.

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

Версия
1.0.0