public final class Java6 extends Object
| Modifier and Type | Method and Description |
|---|---|
static int |
binarySearch(int[] a,
int fromIndex,
int toIndex,
int key)
Placeholder for
Arrays.binarySearch(int[], int, int, int). |
static Reader |
consoleReader()
Returns the console reader, or
null if none. |
static PrintWriter |
consoleWriter()
Returns the console writer, or
null if none. |
public static int binarySearch(int[] a,
int fromIndex,
int toIndex,
int key)
Arrays.binarySearch(int[], int, int, int).
Note that I'm too lazy for implementing a real binary search. Lets switch to Java 6 and throw away this code soon!
public static Reader consoleReader()
null if none.public static PrintWriter consoleWriter()
null if none.Copyright © 1996–2019 Geotools. All rights reserved.