org.apache.nutch.crawl
Class SignatureComparator

java.lang.Object
  extended by org.apache.nutch.crawl.SignatureComparator

public class SignatureComparator
extends Object


Constructor Summary
SignatureComparator()
           
 
Method Summary
static int _compare(byte[] data1, int s1, int l1, byte[] data2, int s2, int l2)
           
static int compare(byte[] data1, byte[] data2)
           
static int compare(ByteBuffer buf1, ByteBuffer buf2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SignatureComparator

public SignatureComparator()
Method Detail

compare

public static int compare(byte[] data1,
                          byte[] data2)

compare

public static int compare(ByteBuffer buf1,
                          ByteBuffer buf2)

_compare

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


Copyright © 2013 The Apache Software Foundation