Skip to content

Commit

Permalink
Release 1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
aNNiMON committed Aug 23, 2016
1 parent 3ca8ea7 commit 602bddc
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,13 @@ In addition to backported Java 8 Stream operators, the library provides:
.dropWhile(s -> s.length() == 1) // [cd, ef, g]
```

- `indexed` - add index to every element, result is `IntPair`

```java
Stream.of("a", "b", "c")
.indexed() // [(0 : "a"), (1 : "b"), (2 : "c")]
```

### Throwable functions

No more ugly try/catch in lambda expressions.
Expand All @@ -157,15 +164,15 @@ Download [latest release](https://github.com/aNNiMON/Lightweight-Stream-API/rele
<dependency>
<groupId>com.annimon</groupId>
<artifactId>stream</artifactId>
<version>1.1.1</version>
<version>1.1.2</version>
</dependency>
```
or Gradle:

```groovy
dependencies {
...
compile 'com.annimon:stream:1.1.1'
compile 'com.annimon:stream:1.1.2'
...
}
```
Expand Down
2 changes: 1 addition & 1 deletion stream/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'java'
apply plugin: 'maven'

archivesBaseName = 'stream'
version = '1.1.1-SNAPSHOT'
version = '1.1.2-SNAPSHOT'
group = 'com.annimon'
ext.isReleaseVersion = !version.contains("SNAPSHOT")

Expand Down
4 changes: 2 additions & 2 deletions stream/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.annimon</groupId>
<artifactId>stream</artifactId>
<version>1.1.1</version>
<version>1.1.2</version>
<packaging>jar</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down Expand Up @@ -33,7 +33,7 @@
<connection>scm:git:git@github.com:aNNiMON/Lightweight-Stream-API.git</connection>
<developerConnection>scm:git:git@github.com:aNNiMON/Lightweight-Stream-API.git</developerConnection>
<url>git@github.com:aNNiMON/Lightweight-Stream-API.git</url>
<tag>v1.1.1</tag>
<tag>v1.1.2</tag>
</scm>

<distributionManagement>
Expand Down
2 changes: 1 addition & 1 deletion streamTest/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'java'
apply plugin: 'maven'

archivesBaseName = 'stream-test'
version = '1.1.1-SNAPSHOT'
version = '1.1.2-SNAPSHOT'
group = 'com.annimon'
ext.isReleaseVersion = !version.contains("SNAPSHOT")

Expand Down

0 comments on commit 602bddc

Please sign in to comment.