Registry / utility / vavr-match

vavr-match

JSON →
library1.0.0javamavenunverified

Annotation for structural pattern matching in Java, enabling concise and expressive pattern matching.

<dependency> <groupId>io.vavr</groupId> <artifactId>vavr-match</artifactId> <version>1.0.0</version> </dependency>
INSTALL
IMPORT
SIG · VAVR-MATCH
V
vavr-match
utilityjavav1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Patterns
io.vavr.match.annotation.Patterns

Define a custom pattern for Vavr's pattern matching.

import io.vavr.match.annotation.Patterns; import io.vavr.match.annotation.Unapply; @Patterns public class MyPatterns { @Unapply static <T> Tuple1<T> Some(Option<T> option) { return option.map(Tuple1::new).getOrElse(null); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
vavr-match — mvn dependency:get vavr-match · libregistry