Skip to content
flbulgarelli edited this page Feb 26, 2012 · 2 revisions

Staccatissimo-Numbers

Overview

Staccatissimo-Numbers is a library that implements the notion of NumberType defined in Staccatissimo-Defs, which allow to handle numbers polymorphically, and utilities for creating BigDecimals and BigIntegers in a succinct way:

  • Numbers (Utility Class) - compactly express BigInteger and BigDecimal literals

  • NumberTypes - generically deal with numeric types by using parametric polymorphism.

Adding Numbers to your project

Add it as a Maven dependency

    <dependencies>
        <dependency>
            <groupId>net.sf.staccatocommons</groupId>
            <artifactId>commons-numbers</artifactId>
            <version>${staccatissimo.version}</version>
        </dependency>
    </dependencies>
Clone this wiki locally