title: Which data structure to use for storing IP ranges in Java for quick lookup?
body: <p>I am trying to store IP ranges in Java. Can't find a particular data structure to store IP ranges. If the IP range is between 19.0.0.0 to 19.0.0.255, I need a way to check whether IP 19.0.0.1 is in the range. Which is the suitable data structure for it?</p>