Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Murray (0.21 sec)

  1. guava-tests/test/com/google/common/collect/IteratorsTest.java

      public void testForArrayLengthWithPositionBoundaryCases() {
        String[] array = {"foo", "bar"};
        assertFalse(Iterators.forArrayWithPosition(array, 2).hasNext());
        try {
          Iterators.forArrayWithPosition(array, -1);
          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
        try {
          Iterators.forArrayWithPosition(array, 3);
          fail();
        } catch (IndexOutOfBoundsException expected) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

      public void testForArrayLengthWithPositionBoundaryCases() {
        String[] array = {"foo", "bar"};
        assertFalse(Iterators.forArrayWithPosition(array, 2).hasNext());
        try {
          Iterators.forArrayWithPosition(array, -1);
          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
        try {
          Iterators.forArrayWithPosition(array, 3);
          fail();
        } catch (IndexOutOfBoundsException expected) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
Back to top