No description
src | ||
.gitignore | ||
Assignment04-design_by_contract.pdf | ||
pom.xml | ||
README.md | ||
report.pdf | ||
report.tex |
SDM assigment 04
Classes come from https://github.com/apache/commons-lang
revision 770e72d2f78361b14f3fe27caea41e5977d3c638
List of semantically different functions with contracts
- Class
math.IEEE754rUtils
:static double min(double[])
and overloadsstatic double max(double[])
and overloads
- Class
math.Fraction
static Fraction getFraction(int, int)
andstatic Fraction getFraction(int, int, int)
static Fraction getReducedFraction(int, int)
public int getDenominator()
public Fraction negate()
public Fraction abs()
public Fraction reduce()
- Class
CharRange
boolean contains(CharRange)
- Class
util.FluentBitSet
FluentBitSet and(FluentBitSet)
and overloadsFluentBitSet andNot(FluentBitSet)
and overloadsFluentBitSet or(FluentBitSet)
and overloadsFluentBitSet clear()
and overloadsboolean get(int)
and overloadsboolean isEmpty()
FluentBitSet flip(int)
and overloads- (TODO)
FluentBitSet xor(FluentBitSet)
==> done/ to review - (TODO)
FluentBitSet set(int)
==> done/ to review - (TODO)
int nextSetBit(int)
andint previousSetBit(int)
==> done - (TODO)
int nextClearBit(int)
andint previousClearBit(int)
==>done
Run Tests
mvn clean test