|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.resources.Java6
public final class Java6
Temporary methods to be removed when we will be allowed to compile for Java 6. The Java 6 methods that we would like to use are commented-out at the begining of each method.
Method Summary | |
---|---|
static int |
binarySearch(int[] a,
int fromIndex,
int toIndex,
int key)
Placeholder for Arrays.binarySearch(int[], int, int, int) . |
static java.io.Reader |
consoleReader()
Returns the console reader, or null if none. |
static java.io.PrintWriter |
consoleWriter()
Returns the console writer, or null if none. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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 java.io.Reader consoleReader()
null
if none.
public static java.io.PrintWriter consoleWriter()
null
if none.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |