org.semanticweb.utilities
Class BinSearch

java.lang.Object
  extended byorg.semanticweb.utilities.BinSearch

public class BinSearch
extends java.lang.Object

Title: Triple Description: RDF Query and Inference Language Copyright: Copyright (c) 2001 Company: Stanford University

Version:
1.0
Author:
Stefan Decker

Constructor Summary
BinSearch()
           
 
Method Summary
static int binarySearch(java.lang.Object[] s, java.lang.Object x, Comparator cmp)
          Description of the Method
static int binarySearch(java.util.Vector v, java.lang.Object x, Comparator cmp)
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinSearch

public BinSearch()
Method Detail

binarySearch

public static int binarySearch(java.lang.Object[] s,
                               java.lang.Object x,
                               Comparator cmp)
Description of the Method

Parameters:
s - Description of the Parameter
x - Description of the Parameter
cmp - Description of the Parameter
Returns:
Description of the Return Value

binarySearch

public static int binarySearch(java.util.Vector v,
                               java.lang.Object x,
                               Comparator cmp)
Description of the Method

Parameters:
v - Description of the Parameter
x - Description of the Parameter
cmp - Description of the Parameter
Returns:
Description of the Return Value