org.openjena.atlas.lib
Class Alg
java.lang.Object
org.openjena.atlas.lib.Alg
public class Alg
- extends java.lang.Object
|
Constructor Summary |
Alg()
|
|
Method Summary |
static int |
binarySearch(java.nio.IntBuffer buff,
int value)
|
static int |
binarySearch(java.nio.IntBuffer buff,
int low,
int high,
int value)
|
static
|
binarySearch(java.util.List<T> array,
int low,
int high,
T value,
java.util.Comparator<T> comparator)
|
static
<T extends java.lang.Comparable<? super T>>
int |
|
binarySearch(T[] array,
int low,
int high,
T value)
|
static int |
decodeIndex(int i)
|
static int |
encodeIndex(int i)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Alg
public Alg()
encodeIndex
public static final int encodeIndex(int i)
decodeIndex
public static final int decodeIndex(int i)
binarySearch
public static int binarySearch(java.nio.IntBuffer buff,
int value)
binarySearch
public static int binarySearch(java.nio.IntBuffer buff,
int low,
int high,
int value)
binarySearch
public static <T> int binarySearch(java.util.List<T> array,
int low,
int high,
T value,
java.util.Comparator<T> comparator)
binarySearch
public static <T extends java.lang.Comparable<? super T>> int binarySearch(T[] array,
int low,
int high,
T value)
Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010, 2011 Epimorphics Ltd.