Compare commits
16 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2470d5a23d | |||
| aaf7c85ff4 | |||
| dfc8b127b3 | |||
| 656b407011 | |||
| d618ff18dc | |||
| 93fba00354 | |||
| 4cc7f5e435 | |||
| 0db4e2c60a | |||
| e4753f6a76 | |||
| 61ae98789b | |||
| a76c658107 | |||
| efeb0772f3 | |||
| ba1ed36418 | |||
| 60ca9f22e9 | |||
| 3492ba7de3 | |||
| b769e517bb |
+7
-2
@@ -1,6 +1,11 @@
|
||||
dist: trusty
|
||||
language: java
|
||||
jdk:
|
||||
- openjdk8
|
||||
- oraclejdk8
|
||||
- oraclejdk9
|
||||
- openjdk8
|
||||
- openjdk9
|
||||
- oraclejdk11
|
||||
script:
|
||||
- mvn test jacoco:report
|
||||
after_success:
|
||||
- mvn coveralls:report
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
# BetterLists (by Klemek)
|
||||
[](https://travis-ci.org/Klemek/BetterLists)
|
||||
# BetterLists
|
||||
[](https://search.maven.org/search?q=g:%22com.github.klemek%22%20AND%20a:%22betterlists%22)
|
||||
[](https://travis-ci.org/Klemek/BetterLists)
|
||||
[](https://github.com/boyter/scc/#badges-beta)
|
||||
[](https://coveralls.io/github/Klemek/BetterLists?branch=master)
|
||||

|
||||
[](https://lgtm.com/projects/g/Klemek/BetterLists/context:java)
|
||||
[](https://lgtm.com/projects/g/Klemek/BetterLists/alerts/)
|
||||
|
||||
An extension of the java.util.List interface which include some of the C# LINQ useful functions.
|
||||
|
||||
@@ -29,26 +35,19 @@ BetterList<String> contactsEmails = contacts.skip(5)
|
||||
|
||||
NOTE : Please note that, unlike C# LINQ, these functions are not optimized at low levels and will have the same impact as standard loops in your program.
|
||||
|
||||
## Download
|
||||
|
||||
[betterlists-1.4.jar](../../releases/download/betterlists-1.4/betterlists-1.4.jar)
|
||||
|
||||
## Maven
|
||||
|
||||
You can use this project as a maven dependency with this :
|
||||
```XML
|
||||
<repositories>
|
||||
...
|
||||
<repository>
|
||||
<id>fr.klemek</id>
|
||||
<url>https://github.com/klemek/mvn-repo/raw/master</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
...
|
||||
<dependencies>
|
||||
...
|
||||
<dependency>
|
||||
<groupId>fr.klemek</groupId>
|
||||
<artifactId>betterlists</artifactId>
|
||||
<version>1.4</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<dependency>
|
||||
<groupId>com.github.klemek</groupId>
|
||||
<artifactId>betterlists</artifactId>
|
||||
<version>1.4</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
## All code examples
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
<groupId>com.github.klemek</groupId>
|
||||
<artifactId>betterlists</artifactId>
|
||||
<version>1.4</version>
|
||||
<version>1.5-SNAPSHOT</version>
|
||||
|
||||
<name>BetterLists</name>
|
||||
<description>An extension of the java.util.List interface which include some of the C# LINQ
|
||||
@@ -36,7 +36,7 @@
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>4.12</version>
|
||||
<version>4.13.1</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
@@ -158,6 +158,27 @@
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<!-- Unit tests coverage -->
|
||||
<plugin>
|
||||
<groupId>org.jacoco</groupId>
|
||||
<artifactId>jacoco-maven-plugin</artifactId>
|
||||
<version>0.8.2</version>
|
||||
<configuration>
|
||||
<append>true</append>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>prepare-agent</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.eluder.coveralls</groupId>
|
||||
<artifactId>coveralls-maven-plugin</artifactId>
|
||||
<version>4.3.0</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user