Class IpAddressRangeSetEntry<R>

java.lang.Object
ru.bitel.common.util.SegmentedRangeSet<IpAddress,byte[],R>
ru.bitel.common.inet.IpAddressRangeSetEntry<R>

public class IpAddressRangeSetEntry<R> extends ru.bitel.common.util.SegmentedRangeSet<IpAddress,byte[],R>
  • Field Details

  • Constructor Details

    • IpAddressRangeSetEntry

      public IpAddressRangeSetEntry(Class<R> clazz, ru.bitel.common.util.Ranger<R,byte[]> ranger, boolean bites, int maskLength)
  • Method Details

    • get

      public R get(IpAddress segment, byte[] key)
      Overrides:
      get in class ru.bitel.common.util.SegmentedRangeSet<IpAddress,byte[],R>
    • get

      public R get(IpAddress segmentKey, byte[] key, ru.bitel.common.util.Matcher<R> matcher)
      Overrides:
      get in class ru.bitel.common.util.SegmentedRangeSet<IpAddress,byte[],R>
    • segment

      public ru.bitel.common.util.RangeSet2<R,byte[]> segment(IpAddress segmentKey)
    • notSegmented

      public ru.bitel.common.util.RangeSet2<R,byte[]> notSegmented()
    • addAll

      public void addAll(IpAddress key, Set<R> set)
    • removeAll

      public void removeAll(IpAddress key, Set<R> set)