Finite-Net Criterion for Uniform Continuity