org.apache.nutch.crawl

## Class SignatureComparator

- java.lang.Object
- - org.apache.nutch.crawl.SignatureComparator

- All Implemented Interfaces:
    java.util.Comparator<java.lang.Object>

      public class SignatureComparator
      extends java.lang.Object
      implements java.util.Comparator<java.lang.Object>

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SignatureComparator()`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static int` | `_compare(byte[] data1, int s1, int l1, byte[] data2, int s2, int l2)`
    `static int` | `_compare(java.lang.Object o1, java.lang.Object o2)`
    `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

      `comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong`

- - ### Constructor Detail

    - #### SignatureComparator

          public SignatureComparator()

  - ### Method Detail

    - #### compare

          public int compare(java.lang.Object o1,
                             java.lang.Object o2)

      Specified by:
        `compare` in interface `java.util.Comparator<java.lang.Object>`

    - #### _compare

          public static int _compare(java.lang.Object o1,
                                     java.lang.Object o2)

    - #### _compare

          public static int _compare(byte[] data1,
                                     int s1,
                                     int l1,
                                     byte[] data2,
                                     int s2,
                                     int l2)

Copyright © 2019 The Apache Software Foundation