[TOC]

org.apache.nutch.crawl

Class SignatureComparator


public class SignatureComparator
extends Object
implements Comparator<Object>

Constructor Summary

Constructors Constructor and Description SignatureComparator()

Method Summary

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(Object o1, Object o2) int compare(Object o1, 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

Constructor Detail

-  

SignatureComparator

public SignatureComparator()

Method Detail

-  

compare

public int compare(Object o1,
          Object o2)
  - Specified by: 
  - <code>compare</code> in interface <code>Comparator<object></object></code>        
-  

_compare

public static int _compare(Object o1,
           Object o2)
-  

_compare

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

Copyright © 2014 The Apache Software Foundation