|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.net.InetAddressHelper.SubnetMaskFilter
public static class InetAddressHelper.SubnetMaskFilter
SubnetMaskFilter evaluates to true for any address with matches the pattern for the masked bits
Field Summary | |
---|---|
protected byte[] |
m_abMask |
protected byte[] |
m_abPattern |
protected java.lang.String |
m_sDescription |
Constructor Summary | |
---|---|
InetAddressHelper.SubnetMaskFilter(java.net.InetAddress addrPattern, java.net.InetAddress addrMask) Construct a SubnetMaskFilter for the given pattern and mask. |
|
InetAddressHelper.SubnetMaskFilter(java.net.InetAddress addrPattern, int cMaskBits) Construct a SubnetMaskFilter for the given pattern and mask bit count. |
|
InetAddressHelper.SubnetMaskFilter(java.lang.String sAddr) Construct a SubnetMaskFilter for the given pattern and slash mask. |
Method Summary | |
---|---|
boolean |
evaluate(java.lang.Object o) Apply the test to the object. |
java.lang.String |
toString() |
Field Detail |
---|
protected java.lang.String m_sDescription
protected byte[] m_abPattern
protected byte[] m_abMask
Constructor Detail |
---|
public InetAddressHelper.SubnetMaskFilter(java.net.InetAddress addrPattern, java.net.InetAddress addrMask)
addrPattern
- the pattern to matchaddrMask
- the mask identifying the portion of the pattern to matchpublic InetAddressHelper.SubnetMaskFilter(java.net.InetAddress addrPattern, int cMaskBits)
addrPattern
- the pattern to matchcMaskBits
- the number of mask bitspublic InetAddressHelper.SubnetMaskFilter(java.lang.String sAddr)
sAddr
- the pattern and maskMethod Detail |
---|
public boolean evaluate(java.lang.Object o)
evaluate
in interface Filter
o
- the object to testpublic java.lang.String toString()
|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |