@Test public void testToString() { String s = "1.2.0.0/16"; IPAddressRange r = new IPAddressRange(s); assertEquals(s, r.getCidrSignature()); assertEquals("1.2.0.0", r.getAddress()); }
@Override public String toString() { return getCidrSignature(); }
IPAddressRange implements Serializable { @Override public String toString() { return getCidrSignature(); } }
IPAddressRange implements Serializable { @Override public String toString() { return getCidrSignature(); } protected  IPAddressRange();  IPAddressRange(String cidrNotation); }
IPAddressRange implements Serializable { @Override public String toString() { return getCidrSignature(); } protected  IPAddressRange();  IPAddressRange(String cidrNotation); boolean match(String address); boolean match(InetAddress address); boolean match(Inet4Address address); String getAddress(); String getCidrSignature(); Long getLow(); void setLow(Long low); Long getHigh(); void setHigh(Long high); int getSize(); void setSize(int size); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); }
IPAddressRange implements Serializable { @Override public String toString() { return getCidrSignature(); } protected  IPAddressRange();  IPAddressRange(String cidrNotation); boolean match(String address); boolean match(InetAddress address); boolean match(Inet4Address address); String getAddress(); String getCidrSignature(); Long getLow(); void setLow(Long low); Long getHigh(); void setHigh(Long high); int getSize(); void setSize(int size); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }