Boys basketball: Hatters hang on against Cadets