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 Object implements ru.bitel.common.util.SegmentedRangeSet.Segmenter<IpAddress,R>
  • Field Details

    • maskLength

      protected final int maskLength
    • ranger

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

    • 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>