NetCal / DNC

The NetworkCalculus.org Deterministic Network Calculator
http://dnc.networkcalculus.org
GNU Lesser General Public License v2.1
25 stars 23 forks source link

Make bound/util classes abstract + cleanups #54

Closed sbondorf closed 5 years ago

sbondorf commented 5 years ago

These classes only consist of static methods and are not meant to be instantiated, just as the min-plus algebra implementations. Thus, they are now abstract just like the min plus algebra classes.

sbondorf commented 5 years ago

Please make utils classes abstract final or add a private constructor to avoid instantiation via subclasses.

abstract and final are unfortunately mutually exclusive. I opted to make classes final. Do we need a private constructor?

matyesz commented 5 years ago

My bad, if abstract is final that does not have too much sense. private constructor is a nice to have I think.