Class IpSubnetFilterRuleComparator

java.lang.Object
io.netty.handler.ipfilter.IpSubnetFilterRuleComparator
All Implemented Interfaces:
java.util.Comparator<java.lang.Object>

final class IpSubnetFilterRuleComparator extends java.lang.Object implements java.util.Comparator<java.lang.Object>
This comparator is only used for searching.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) static final IpSubnetFilterRuleComparator
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    compare(java.lang.Object o1, java.lang.Object o2)
     

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface java.util.Comparator

    equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
  • Field Details

  • Constructor Details

    • IpSubnetFilterRuleComparator

      private IpSubnetFilterRuleComparator()
  • Method Details

    • compare

      public int compare(java.lang.Object o1, java.lang.Object o2)
      Specified by:
      compare in interface java.util.Comparator<java.lang.Object>