com.hazelcast.util
Class AddressUtil.AddressMatcher
java.lang.Object
com.hazelcast.util.AddressUtil.AddressMatcher
- Enclosing class:
- AddressUtil
public abstract static class AddressUtil.AddressMatcher
- extends Object
http://docs.oracle.com/javase/1.5.0/docs/guide/net/ipv6_guide/index.html
address
protected final String[] address
AddressUtil.AddressMatcher
protected AddressUtil.AddressMatcher(String[] address)
isIPv4
public abstract boolean isIPv4()
isIPv6
public abstract boolean isIPv6()
setAddress
public abstract void setAddress(String[] ip)
match
protected final boolean match(String[] mask,
String[] input,
int radix)
doMatch
protected final boolean doMatch(String mask,
String input,
int radix)
getAddress
public abstract String getAddress()
match
public abstract boolean match(AddressUtil.AddressMatcher matcher)
match
public boolean match(String address)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.