Methods Summary |
---|
public static void | assertArrayIndex(char[] array, int offset, int length)
if (offset < 0 || length < 0) {
// nio.05=Negative index specified
throw new IndexOutOfBoundsException(Messages.getString("nio.05")); //$NON-NLS-1$
}
if ((long) offset + (long) length > array.length) {
// nio.04=Size mismatch
throw new IndexOutOfBoundsException(Messages.getString("nio.04")); //$NON-NLS-1$
}
|
public static void | assertArrayIndex(int arrayLength, int offset, int length)
if (offset < 0 || length < 0) {
// nio.05=Negative index specified
throw new IndexOutOfBoundsException(Messages.getString("nio.05")); //$NON-NLS-1$
}
if ((long) offset + (long) length > arrayLength) {
// nio.04=Size mismatch
throw new IndexOutOfBoundsException(Messages.getString("nio.04")); //$NON-NLS-1$
}
|
public static void | assertArrayIndex(java.lang.Object[] array, int offset, int length)
if (offset < 0 || length < 0) {
// nio.05=Negative index specified
throw new IndexOutOfBoundsException(Messages.getString("nio.05")); //$NON-NLS-1$
}
if ((long) offset + (long) length > array.length) {
// nio.04=Size mismatch
throw new IndexOutOfBoundsException(Messages.getString("nio.04")); //$NON-NLS-1$
}
|
public static void | assertArrayIndex(boolean[] array, int offset, int length)
if (offset < 0 || length < 0) {
// nio.05=Negative index specified
throw new IndexOutOfBoundsException(Messages.getString("nio.05")); //$NON-NLS-1$
}
if ((long) offset + (long) length > array.length) {
// nio.04=Size mismatch
throw new IndexOutOfBoundsException(Messages.getString("nio.04")); //$NON-NLS-1$
}
|
public static void | assertArrayIndex(byte[] array, int offset, int length)
if (offset < 0 || length < 0) {
// nio.05=Negative index specified
throw new IndexOutOfBoundsException(Messages.getString("nio.05")); //$NON-NLS-1$
}
if ((long) offset + (long) length > array.length) {
// nio.04=Size mismatch
throw new IndexOutOfBoundsException(Messages.getString("nio.04")); //$NON-NLS-1$
}
|
public static void | assertArrayIndex(short[] array, int offset, int length)
if (offset < 0 || length < 0) {
// nio.05=Negative index specified
throw new IndexOutOfBoundsException(Messages.getString("nio.05")); //$NON-NLS-1$
}
if ((long) offset + (long) length > array.length) {
// nio.04=Size mismatch
throw new IndexOutOfBoundsException(Messages.getString("nio.04")); //$NON-NLS-1$
}
|
public static void | assertArrayIndex(int[] array, int offset, int length)
if (offset < 0 || length < 0) {
// nio.05=Negative index specified
throw new IndexOutOfBoundsException(Messages.getString("nio.05")); //$NON-NLS-1$
}
if ((long) offset + (long) length > array.length) {
// nio.04=Size mismatch
throw new IndexOutOfBoundsException(Messages.getString("nio.04")); //$NON-NLS-1$
}
|
public static void | assertArrayIndex(long[] array, int offset, int length)
if (offset < 0 || length < 0) {
// nio.05=Negative index specified
throw new IndexOutOfBoundsException(Messages.getString("nio.05")); //$NON-NLS-1$
}
if ((long) offset + (long) length > array.length) {
// nio.04=Size mismatch
throw new IndexOutOfBoundsException(Messages.getString("nio.04")); //$NON-NLS-1$
}
|
public static void | assertArrayIndex(float[] array, int offset, int length)
if (offset < 0 || length < 0) {
// nio.05=Negative index specified
throw new IndexOutOfBoundsException(Messages.getString("nio.05")); //$NON-NLS-1$
}
if ((long) offset + (long) length > array.length) {
// nio.04=Size mismatch
throw new IndexOutOfBoundsException(Messages.getString("nio.04")); //$NON-NLS-1$
}
|
public static void | assertArrayIndex(double[] array, int offset, int length)
if (offset < 0 || length < 0) {
// nio.05=Negative index specified
throw new IndexOutOfBoundsException(Messages.getString("nio.05")); //$NON-NLS-1$
}
if ((long) offset + (long) length > array.length) {
// nio.04=Size mismatch
throw new IndexOutOfBoundsException(Messages.getString("nio.04")); //$NON-NLS-1$
}
|