package uk.ac.leeds.ccg.cluster; class Misc { public final static int max(int a, int b) { if (a > b) return a; else return b; } public final static float max(float a, float b) { if (a > b) return a; else return b; } public final static double max(double a, double b) { if (a > b) return a; else return b; } public final static int min(int a, int b) { if (a < b) return a; else return b; } public final static float min(float a, float b) { if (a < b) return a; else return b; } public final static double min(double a, double b) { if (a < b) return a; else return b; } }