Class InetAddressRange.Builder

java.lang.Object
org.apache.sshd.common.net.InetAddressRange.Builder
Enclosing class:
InetAddressRange

private static final class InetAddressRange.Builder extends Object
  • Constructor Details

    • Builder

      private Builder()
  • Method Details

    • build

      static InetAddressRange build(String cidr)
    • fromIp4

      private static InetAddressRange fromIp4(Matcher m)
    • fromIp6

      private static InetAddressRange fromIp6(Matcher m)
    • 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)