Class InetAddressRange.Builder
java.lang.Object
org.apache.sshd.common.net.InetAddressRange.Builder
- Enclosing class:
InetAddressRange
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static byte[]and(byte[] a, byte[] b) (package private) static InetAddressRangeprivate static bytebyteRange(int x) (package private) static voidcomputeMask(byte[] mask, int bits) private static InetAddressRangeprivate static InetAddressRange(package private) static byte[]invertedOr(byte[] a, byte[] b) private static voidrangeCheck(int x, int min, int max) private static intwordRange(int x)
-
Constructor Details
-
Builder
private Builder()
-
-
Method Details
-
build
-
fromIp4
-
fromIp6
-
byteRange
private static byte byteRange(int x) -
wordRange
private static int wordRange(int x) -
rangeCheck
private static void rangeCheck(int x, int min, int max) -
computeMask
static void computeMask(byte[] mask, int bits) -
and
static byte[] and(byte[] a, byte[] b) -
invertedOr
static byte[] invertedOr(byte[] a, byte[] b)
-