Empty Streams

Empty implementations of the Stream interface.

Лицензия

Лицензия

MIT
Группа

Группа

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

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

empty-streams
Последняя версия

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

0.3.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

Empty Streams
Empty implementations of the Stream interface.
Ссылка на сайт

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

https://github.com/marschall/empty-streams
Система контроля версий

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

https://github.com/marschall/empty-streams

Скачать empty-streams

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

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

Зависимости

test (5)

Идентификатор библиотеки Тип Версия
org.junit.jupiter : junit-jupiter-api jar
org.junit.jupiter : junit-jupiter-engine jar
org.junit.jupiter : junit-jupiter-params jar
org.hamcrest : hamcrest-junit jar 2.0.0.0
org.openjdk.jmh : jmh-core jar 1.27

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

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

Empty Streams Build Status Maven Central Javadocs

Empty implementations of the Java java.util.stream.Stream, java.util.stream.IntStream, java.util.stream.LongStream and java.util.stream.DoubleStream

Compared to java.util.stream.Stream#empty(), java.util.stream.IntStream#empty(), java.util.stream.LongStream#empty() and java.util.stream.DoubleStream#empty() these implementations can be more efficient.

Because streams are inherently stateful, they have a state which may be closed, a minimum of allocation can not be avoided.

The behavior of these streams might slightly differ to the JDK streams when it comes to spliterator characteristics but should still be compliant the with API contract requirements outlined in the Javadoc.

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

Версия
0.3.0
0.2.0
0.1.0