Package org.dhcp4java

Examples of org.dhcp4java.InetCidr.compareTo()


  }
 
  @Test (expected=NullPointerException.class)
  public void testCompareToNull() throws UnknownHostException {
    InetCidr cidr1 = new InetCidr(InetAddress.getByName("10.11.12.0"), 24);
    cidr1.compareTo(null);
  }
 
  @Test
  public void testHasNoOverlap() throws UnknownHostException {
    InetCidr cidr1 = new InetCidr(InetAddress.getByName("10.11.12.0"), 24);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.