Plastic-Metal / Jarvis

A light-weight library contains CoalesceNull and TryParse function for Java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This repository permanently moved to HIT-ReFreSH, metadata will be updated later.

PlasticMetal.Jarvis

maven license GitHub last commit GitHub repo size GitHub code size

View in maven-central

Jarvis is a Light-weight Library contains very useful functions, like NullCoalescing and TryParse for Java.

Usage:

NullCoalescing:

In class PlasticMetal.Jarvis.Common, CoalesceNull(a,b) equals a??b (as C# expression)

TryParse:

In class PlasticMetal.Jarvis.Parse, each TryParse function returns a TryResult, whose field Result represents whether the parsing succeeded or not, and field Out stores the output of parsing.

About

A light-weight library contains CoalesceNull and TryParse function for Java

License:MIT License


Languages

Language:Java 100.0%