Class IncomingMailPatternComparator

  • All Implemented Interfaces:

    public class IncomingMailPatternComparator
    extends java.lang.Object
    implements java.util.Comparator<java.util.regex.Pattern>
    Comparator that puts default incoming mail pattern as last position.
    • Field Summary

      Modifier and Type Field Description
      static java.lang.String REVISION  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(java.util.regex.Pattern p1, java.util.regex.Pattern p2)  
      • 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
    • Constructor Detail

      • IncomingMailPatternComparator

        public IncomingMailPatternComparator()
    • Method Detail

      • compare

        public int compare​(java.util.regex.Pattern p1,
                           java.util.regex.Pattern p2)
        Specified by:
        compare in interface java.util.Comparator<java.util.regex.Pattern>