interface TrigonometryProvider { public double sin(double a); public double cos(double a); ...}class Math implements TrigonometryProvider, CalculusProvider, ... { ... loads of math stuff ...}