ru.bitel.common.inet

## Class IpAddressRangeSetEntry.IpAddressSegmenter<R>

- java.lang.Object
- - ru.bitel.common.inet.IpAddressRangeSetEntry.IpAddressSegmenter<R>

- All Implemented Interfaces:
    ru.bitel.common.util.SegmentedRangeSet.Segmenter<IpAddress,R>
  Enclosing class:
    IpAddressRangeSetEntry<R>

      public static class IpAddressRangeSetEntry.IpAddressSegmenter<R>
      extends java.lang.Object
      implements ru.bitel.common.util.SegmentedRangeSet.Segmenter<IpAddress,R>

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected int` | `maskLength`
    `protected ru.bitel.common.util.Ranger<R,byte[]>` | `ranger`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `byte[]` | `segmentKey(byte[] address)`
    `IpAddress` | `segmentKey(R serv)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### maskLength

          protected final int maskLength

    - #### ranger

          protected final ru.bitel.common.util.Ranger<R,byte[]> ranger

  - ### Method Detail

    - #### segmentKey

          public byte[] segmentKey(byte[] address)

    - #### segmentKey

          public IpAddress segmentKey(R serv)

      Specified by:
        `segmentKey` in interface `ru.bitel.common.util.SegmentedRangeSet.Segmenter<IpAddress,R>`