Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for arrayFor (0.1 sec)

  1. android/guava/src/com/google/common/collect/Iterators.java

          return emptyListIterator();
        }
        return new ArrayItr<>(array, position);
      }
    
      private static final class ArrayItr<T extends @Nullable Object>
          extends AbstractIndexedListIterator<T> {
        static final UnmodifiableListIterator<Object> EMPTY = new ArrayItr<>(new Object[0], 0);
    
        private final T[] array;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        // Type inference is doomed here: int.class is the same as Integer.class, so this is comparing
        // TypeToken<int[]> and TypeToken<Integer[]>.
        assertEquals(new TypeToken<int[]>() {}, arrayOf(int.class));
        assertEquals(int[].class, arrayOf(int.class).getRawType());
      }
    
      @SuppressWarnings("unused") // used by reflection
      private static class Holder<T> {
        List<T>[] matrix;
    
        void setList(List<T> list) {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        // Type inference is doomed here: int.class is the same as Integer.class, so this is comparing
        // TypeToken<int[]> and TypeToken<Integer[]>.
        assertEquals(new TypeToken<int[]>() {}, arrayOf(int.class));
        assertEquals(int[].class, arrayOf(int.class).getRawType());
      }
    
      @SuppressWarnings("unused") // used by reflection
      private static class Holder<T> {
        List<T>[] matrix;
    
        void setList(List<T> list) {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        setUp(parameters.first, parameters.second)
        val editor = cache.edit("k1")!!
        editor.setString(0, "AB")
        editor.setString(1, "C")
        cache.close()
        val expected = if (windows) arrayOf("DIRTY k1") else arrayOf("DIRTY k1", "REMOVE k1")
        assertJournalEquals(*expected)
        editor.commit()
        assertJournalEquals(*expected) // 'REMOVE k1' not written because journal is closed.
      }
    
      @ParameterizedTest
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 75.8K bytes
    - Viewed (0)
Back to top