At 3:00 AM officer Dennis was patrolling the streets when he cane encountered with a male wearing a university hoody over his head with an object in his hands walking towards the dorms, when officer Dennis approached the male he began to walk faster and not look back, based on what legal concept can officer Dennis detain the male?