Which of the following is a one-to-one function?
A. f(x) = {2;0≤x<2 3;2≤x<4 4;4≤x<6
B. {4x+1;x<-2 x-5;x≥-2
C. [[2x]]
D. x^2