MVN

com.github.joselion : maybe

Maven & Gradle

Mar 04, 2022
12 stars

maybe · Maybe<T> is a monadic wrapper similar java.util.Optional, but with a different intention. By leveraging Optional<T> benefits, it provides a functional API that safely allows us to perform operations that may or may not throw checked and unchecked exceptions. The wrapper intends to help us avoid the imperative try/catch syntax, while promoting safe exception handling and functional programming principles.

<dependency>
    <groupId>com.github.joselion</groupId>
    <artifactId>maybe</artifactId>
    <version>2.1.0</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of com.github.joselion : maybe to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 2.1.0

All Versions

Choose a version of com.github.joselion : maybe to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
2.1.x
maybe-2.1.0
2.0.x
maybe-2.0.0
1.6.x
maybe-1.6.1
maybe-1.6.0
1.5.x
maybe-1.5.0
1.4.x
maybe-1.4.1
maybe-1.4.0
1.3.x
maybe-1.3.0
1.2.x
maybe-1.2.0
1.1.x
maybe-1.1.0
1.0.x
maybe-1.0.2-GA
maybe-1.0.1-GA
maybe-1.0.0-GA
0.1.x
maybe-0.1.0-GA

How to add a dependency to Maven

Add the following com.github.joselion : maybe maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>com.github.joselion</groupId>
    <artifactId>maybe</artifactId>
    <version>2.1.0</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following com.github.joselion : maybe gradle dependency to your build.gradle file:

implementation 'com.github.joselion:maybe:2.1.0'

Gradle Kotlin DSL: Add the following com.github.joselion : maybe gradle kotlin dependency to your build.gradle.kts file:

implementation("com.github.joselion:maybe:2.1.0")

How to add a dependency to SBT Scala

SBT Scala: Add the following com.github.joselion : maybe sbt scala dependency to your build.sbt file:

libraryDependencies += "com.github.joselion" % "maybe" % "2.1.0"