Merge branch 'guava' of https://github.com/eugenp/tutorials
This commit is contained in:
commit
d54a6aa259
|
@ -0,0 +1,13 @@
|
||||||
|
*.class
|
||||||
|
|
||||||
|
#folders#
|
||||||
|
/target
|
||||||
|
/neoDb*
|
||||||
|
/data
|
||||||
|
/src/main/webapp/WEB-INF/classes
|
||||||
|
*/META-INF/*
|
||||||
|
|
||||||
|
# Packaged files #
|
||||||
|
*.jar
|
||||||
|
*.war
|
||||||
|
*.ear
|
|
@ -0,0 +1,6 @@
|
||||||
|
## Guava
|
||||||
|
|
||||||
|
This module contains articles a Google Guava
|
||||||
|
|
||||||
|
### Relevant Articles:
|
||||||
|
- [Introduction to Guava Throwables](https://www.baeldung.com/guava-throwables)
|
|
@ -0,0 +1,48 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project
|
||||||
|
xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<artifactId>guava-2</artifactId>
|
||||||
|
<version>0.1.0-SNAPSHOT</version>
|
||||||
|
<name>guava-2</name>
|
||||||
|
|
||||||
|
<parent>
|
||||||
|
<groupId>com.baeldung</groupId>
|
||||||
|
<artifactId>parent-java</artifactId>
|
||||||
|
<version>0.0.1-SNAPSHOT</version>
|
||||||
|
<relativePath>../parent-java</relativePath>
|
||||||
|
</parent>
|
||||||
|
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.apache.commons</groupId>
|
||||||
|
<artifactId>commons-lang3</artifactId>
|
||||||
|
<version>${commons-lang3.version}</version>
|
||||||
|
</dependency>
|
||||||
|
<!-- test scoped -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.assertj</groupId>
|
||||||
|
<artifactId>assertj-core</artifactId>
|
||||||
|
<version>${assertj.version}</version>
|
||||||
|
<scope>test</scope>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<finalName>guava</finalName>
|
||||||
|
<resources>
|
||||||
|
<resource>
|
||||||
|
<directory>src/main/resources</directory>
|
||||||
|
<filtering>true</filtering>
|
||||||
|
</resource>
|
||||||
|
</resources>
|
||||||
|
</build>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<!-- testing -->
|
||||||
|
<assertj.version>3.6.1</assertj.version>
|
||||||
|
</properties>
|
||||||
|
|
||||||
|
</project>
|
|
@ -1,4 +1,4 @@
|
||||||
package com.baeldung.guava;
|
package com.baeldung.guava.throwables;
|
||||||
|
|
||||||
import com.google.common.base.Throwables;
|
import com.google.common.base.Throwables;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
|
@ -0,0 +1,13 @@
|
||||||
|
*.class
|
||||||
|
|
||||||
|
#folders#
|
||||||
|
/target
|
||||||
|
/neoDb*
|
||||||
|
/data
|
||||||
|
/src/main/webapp/WEB-INF/classes
|
||||||
|
*/META-INF/*
|
||||||
|
|
||||||
|
# Packaged files #
|
||||||
|
*.jar
|
||||||
|
*.war
|
||||||
|
*.ear
|
|
@ -0,0 +1 @@
|
||||||
|
John Jane Adam Tom
|
|
@ -0,0 +1 @@
|
||||||
|
Hello world
|
|
@ -0,0 +1 @@
|
||||||
|
Test
|
|
@ -0,0 +1,4 @@
|
||||||
|
John
|
||||||
|
Jane
|
||||||
|
Adam
|
||||||
|
Tom
|
|
@ -0,0 +1 @@
|
||||||
|
Hello world
|
Binary file not shown.
|
@ -12,5 +12,4 @@ This module contains articles a Google Guava
|
||||||
- [Guide to Mathematical Utilities in Guava](https://www.baeldung.com/guava-math)
|
- [Guide to Mathematical Utilities in Guava](https://www.baeldung.com/guava-math)
|
||||||
- [Bloom Filter in Java using Guava](https://www.baeldung.com/guava-bloom-filter)
|
- [Bloom Filter in Java using Guava](https://www.baeldung.com/guava-bloom-filter)
|
||||||
- [Quick Guide to the Guava RateLimiter](https://www.baeldung.com/guava-rate-limiter)
|
- [Quick Guide to the Guava RateLimiter](https://www.baeldung.com/guava-rate-limiter)
|
||||||
- [Introduction to Guava Throwables](https://www.baeldung.com/guava-throwables)
|
|
||||||
- [Guava Cache](https://www.baeldung.com/guava-cache)
|
- [Guava Cache](https://www.baeldung.com/guava-cache)
|
||||||
|
|
1
pom.xml
1
pom.xml
|
@ -416,6 +416,7 @@
|
||||||
<module>grpc</module>
|
<module>grpc</module>
|
||||||
<module>gson</module>
|
<module>gson</module>
|
||||||
<module>guava</module>
|
<module>guava</module>
|
||||||
|
<module>guava-2</module>
|
||||||
<module>guava-collections</module>
|
<module>guava-collections</module>
|
||||||
<module>guava-collections-map</module>
|
<module>guava-collections-map</module>
|
||||||
<module>guava-collections-set</module>
|
<module>guava-collections-set</module>
|
||||||
|
|
Loading…
Reference in New Issue