title: Calculate whether an IP address is in a specified range in Java
body: <p>I want to be able to return true/false depending on an IP being in range of two other IPs.</p>
  
  <p>For instance:</p>
  
  <p><code>ip 192.200.3.0</code></p>
  
  <p><code>range from 192.200.0.0</code></p>
  
  <p><code>range to 192.255.0.0</code> </p>
  
  <p>should result to true.</p>
  
  <p>Other examples:</p>
  
  <pre><code>assert 192.200.1.0 == true
  assert 192.199.1.1 == false
  assert 197.200.1.0 == false
  </code></pre>