public boolean matchesWithMask ( IPAddress other , IPAddress mask ) { return getSection ( ) . matchesWithMask ( other . getSection ( ) , mask . getSection ( ) ) ; }
Applies the mask to this address and then compares values with the given address