net.markenwerk:commons-iterables

Some common iterators for Android

Лицензия

Лицензия

Категории

Категории

Сеть
Группа

Группа

net.markenwerk
Идентификатор

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

android-commons-iterables
Последняя версия

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

2.2.1
Дата

Дата

Тип

Тип

aar
Описание

Описание

net.markenwerk:commons-iterables
Some common iterators for Android
Ссылка на сайт

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

https://github.com/markenwerk/android-commons-iterables
Организация-разработчик

Организация-разработчик

Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH
Система контроля версий

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

https://github.com/markenwerk/android-commons-iterables

Скачать android-commons-iterables

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

<!-- https://jarcasting.com/artifacts/net.markenwerk/android-commons-iterables/ -->
<dependency>
    <groupId>net.markenwerk</groupId>
    <artifactId>android-commons-iterables</artifactId>
    <version>2.2.1</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/net.markenwerk/android-commons-iterables/
implementation 'net.markenwerk:android-commons-iterables:2.2.1'
// https://jarcasting.com/artifacts/net.markenwerk/android-commons-iterables/
implementation ("net.markenwerk:android-commons-iterables:2.2.1")
'net.markenwerk:android-commons-iterables:aar:2.2.1'
<dependency org="net.markenwerk" name="android-commons-iterables" rev="2.2.1">
  <artifact name="android-commons-iterables" type="aar" />
</dependency>
@Grapes(
@Grab(group='net.markenwerk', module='android-commons-iterables', version='2.2.1')
)
libraryDependencies += "net.markenwerk" % "android-commons-iterables" % "2.2.1"
[net.markenwerk/android-commons-iterables "2.2.1"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
net.markenwerk : android-commons-iterators jar 2.2.1
net.markenwerk : commons-iterables jar 2.2.1

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

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

Some common iterators for Android

Build Status Maven Central API Level 8 MIT License

Overview

This is a collection of companion Iterables for some commonly useful Iterator implementations for the following use cases:

This library is an extensions of the corresponding library for Java, that contains Iterables for Android specific data structures.

This library is hosted in the Maven Central Repository. You can use it with the following coordinates:

compile 'net.markenwerk:android-commons-iterables:3.1.0'

Consult the usage description and Javadoc for further information.

Usage

Iterating over sparse arrays

This library provides the following Iterables that take existing sparse arrays and generate Iterables and yield all elements of the given array wrapped in an Entry:

SparseArray<Foo> sparseArray = ...

// generated iterables yield every foo from sparseArray
Iterable<Entry<Integer, Foo>> arraytIterable = new SparseArrayIterable<>(sparseArray);

Iterating over other objects

This library provides the generic PairIterable that takes and existing Pair and generates Iterators that yield both contained values.

Pair<Foo, Foo> pair = ...

// yields both foos from pair
Iterable<Foo> pairIterator = new PairIterable<>(pair);
net.markenwerk

Markenwerk

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

Версия
2.2.1
2.2.0