Fastest way and Efficientiest way to find the Date withtin the Date Array
Hi all Java Expert,
I am currently writting an web application and I will retrieve couple dates within a range and put them into the Date Array Date[] by using java.util.Date. The user will input the date from screen, and I need to check whether the input Date is within that range(within the Date Array), do you guys have any good idea on that ? My way is to use a for loop to search it everytime, which I think it's stupid, however, I don't know if there are any better ways, please suggest
Transistor

