Package net.sourceforge.urlrewriter4j.core.utilities

Examples of net.sourceforge.urlrewriter4j.core.utilities.IPRange


    assertEquals(0, IPRange.compare(InetAddress.getByName("127.0.0.0"), InetAddress.getByName("127.0.0.0")));
  }

  public void testGeneric() throws Exception {
   
    IPRange oRange = new IPRange(InetAddress.getByName("127.0.0.0"),
        InetAddress.getByName("127.0.0.255"));
    StandardAssertions(oRange);

    IPRange oRange2 = new IPRange(InetAddress.getByName("127.0.0.255"),
        InetAddress.getByName("127.0.0.0"));
    StandardAssertions(oRange2);
  }
View Full Code Here

TOP

Related Classes of net.sourceforge.urlrewriter4j.core.utilities.IPRange

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.