tappoz / TappozUtils

This project aggregates different utility classes concerned with intervals (sort them, overlapping, get the total covered length), computation of progressive tax rates (the problem is solved through recursion), and some utility methods regarding integers and arrays

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This project aggregates some utility classes I wrote over the time.

* org.tappoz.intervals: this package deals with intervals 
  e.g. overlapping, not overlapping, one included in the other, the covered length of a list of intervals, etc.
* org.tappoz.taxamounts: this package deals with progressive tax rates (the problem is solved through recursion)
* org.tappoz.math: this package deals with integers and arrays 
  e.g. finding the first unique value on a given arrays, 
  finding the number of distinct digits on a given integer, 
  finding the number of divisible integers on a given range with a given divisor, etc.

For every class a Unit Test class is provided with tests on expected values and expected Exceptions thrown.

About

This project aggregates different utility classes concerned with intervals (sort them, overlapping, get the total covered length), computation of progressive tax rates (the problem is solved through recursion), and some utility methods regarding integers and arrays


Languages

Language:Java 100.0%