Skip to content

Add java-refined to Utility section#1198

Open
JunggiKim wants to merge 1 commit intoakullpp:masterfrom
JunggiKim:add-java-refined
Open

Add java-refined to Utility section#1198
JunggiKim wants to merge 1 commit intoakullpp:masterfrom
JunggiKim:add-java-refined

Conversation

@JunggiKim
Copy link

Summary

java-refined provides refinement types for Java 8+ — types constrained by predicates that make invalid states unrepresentable at the type level.

  • 204 refined types out of the box (numeric, string, collection, character, control)
  • Zero runtime dependencies — just the JDK
  • Java 8+ compatible
  • 100% test coverage, 95%+ mutation testing score
  • MIT License
  • Published on Maven Central: io.github.junggikim:java-refined:1.1.0

Inspired by Scala's refined and Rust's nutype.

java-refined provides refinement types for Java 8+ — types constrained
by predicates (e.g. PositiveInt, NonBlankString, EmailString). It ships
204 ready-to-use refined types with zero runtime dependencies, 100% test
coverage, and 95%+ mutation testing scores.

GitHub: https://github.com/JunggiKim/java-refined
Maven Central: io.github.junggikim:java-refined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant