Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Latest commit

 

History

History
36 lines (23 loc) · 1.26 KB

README.md

File metadata and controls

36 lines (23 loc) · 1.26 KB

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.