Package com.tangosol.net
Class InetAddressHelper.SubnetMaskFilter
java.lang.Object
com.oracle.coherence.common.net.InetAddresses.IsSubnetMask
com.tangosol.net.InetAddressHelper.SubnetMaskFilter
- All Implemented Interfaces:
Predicate<InetAddress>,Filter<InetAddress>,Serializable
- Enclosing class:
InetAddressHelper
public static class InetAddressHelper.SubnetMaskFilter
extends com.oracle.coherence.common.net.InetAddresses.IsSubnetMask
implements Filter<InetAddress>
SubnetMaskFilter evaluates to true for any address with matches the
pattern for the masked bits
- See Also:
-
Field Summary
Fields inherited from class com.oracle.coherence.common.net.InetAddresses.IsSubnetMask
m_abMask, m_abPattern, m_sDescription -
Constructor Summary
ConstructorsConstructorDescriptionSubnetMaskFilter(String sAddr) Construct a SubnetMaskFilter for the given pattern and slash mask.SubnetMaskFilter(InetAddress addrPattern, int cMaskBits) Construct a SubnetMaskFilter for the given pattern and mask bit count.SubnetMaskFilter(InetAddress addrPattern, InetAddress addrMask) Construct a SubnetMaskFilter for the given pattern and mask. -
Method Summary
Methods inherited from class com.oracle.coherence.common.net.InetAddresses.IsSubnetMask
evaluate, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.tangosol.util.Filter
and, asLimitFilter, associatedWith, evaluate, forKeys, forPartitions, or, xor
-
Constructor Details
-
SubnetMaskFilter
Construct a SubnetMaskFilter for the given pattern and mask.- Parameters:
addrPattern- the pattern to matchaddrMask- the mask identifying the portion of the pattern to match
-
SubnetMaskFilter
Construct a SubnetMaskFilter for the given pattern and mask bit count.- Parameters:
addrPattern- the pattern to matchcMaskBits- the number of mask bits
-
SubnetMaskFilter
Construct a SubnetMaskFilter for the given pattern and slash mask.- Parameters:
sAddr- the pattern and mask- See Also:
-