Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for getCell (0.14 sec)

  1. guava/src/com/google/common/collect/ArrayTable.java

          protected Cell<R, C, @Nullable V> get(int index) {
            return getCell(index);
          }
        };
      }
    
      @Override
      Spliterator<Cell<R, C, @Nullable V>> cellSpliterator() {
        return CollectSpliterators.indexed(
            size(), Spliterator.ORDERED | Spliterator.NONNULL | Spliterator.DISTINCT, this::getCell);
      }
    
      private Cell<R, C, @Nullable V> getCell(int index) {
        return new Tables.AbstractCell<R, C, @Nullable V>() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/RegularImmutableTable.java

     *
     * @author Gregory Kick
     */
    @GwtCompatible
    abstract class RegularImmutableTable<R, C, V> extends ImmutableTable<R, C, V> {
      RegularImmutableTable() {}
    
      abstract Cell<R, C, V> getCell(int iterationIndex);
    
      @Override
      final ImmutableSet<Cell<R, C, V>> createCellSet() {
        return isEmpty() ? ImmutableSet.of() : new CellSet();
      }
    
      @WeakOuter
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/SparseImmutableTable.java

        // Casts without copying.
        return ImmutableMap.copyOf(rowMap);
      }
    
      @Override
      public int size() {
        return cellRowIndices.length;
      }
    
      @Override
      Cell<R, C, V> getCell(int index) {
        int rowIndex = cellRowIndices[index];
        Entry<R, ImmutableMap<C, V>> rowEntry = rowMap.entrySet().asList().get(rowIndex);
        ImmutableMap<C, V> row = rowEntry.getValue();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/SparseImmutableTable.java

        // Casts without copying.
        return ImmutableMap.copyOf(rowMap);
      }
    
      @Override
      public int size() {
        return cellRowIndices.length;
      }
    
      @Override
      Cell<R, C, V> getCell(int index) {
        int rowIndex = cellRowIndices[index];
        Entry<R, ImmutableMap<C, V>> rowEntry = rowMap.entrySet().asList().get(rowIndex);
        ImmutableMap<C, V> row = rowEntry.getValue();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 5.3K bytes
    - Viewed (1)
  5. android/guava/src/com/google/common/collect/DenseImmutableTable.java

      }
    
      @Override
      public int size() {
        return cellRowIndices.length;
      }
    
      @Override
      Cell<R, C, V> getCell(int index) {
        int rowIndex = cellRowIndices[index];
        int columnIndex = cellColumnIndices[index];
        R rowKey = rowKeySet().asList().get(rowIndex);
        C columnKey = columnKeySet().asList().get(columnIndex);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ArrayTable.java

        return new AbstractIndexedListIterator<Cell<R, C, @Nullable V>>(size()) {
          @Override
          protected Cell<R, C, @Nullable V> get(int index) {
            return getCell(index);
          }
        };
      }
    
      private Cell<R, C, @Nullable V> getCell(int index) {
        return new Tables.AbstractCell<R, C, @Nullable V>() {
          final int rowIndex = index / columnList.size();
          final int columnIndex = index % columnList.size();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 19:39:21 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/UnannotatedJavaClass.java

    import org.jspecify.annotations.NullUnmarked;
    
    /** Class containing an unannotated Java method for use from {@code OptionalExtensionsTest}. */
    @NullUnmarked
    final class UnannotatedJavaClass {
      static Object getNull() {
        return null;
      }
    
      private UnannotatedJavaClass() {}
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 915 bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertThat(stats.hitCount()).isEqualTo(0);
    
        assertThat(cache.getAll(ImmutableList.of())).isEmpty();
        assertThat(stats.missCount()).isEqualTo(0);
        assertThat(stats.loadSuccessCount()).isEqualTo(0);
        assertThat(stats.loadExceptionCount()).isEqualTo(0);
        assertThat(stats.hitCount()).isEqualTo(0);
    
        assertThat(cache.getAll(asList(1))).containsExactly(1, 1);
        stats = cache.stats();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 91.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/UnannotatedJavaClass.java

    import org.jspecify.annotations.NullUnmarked;
    
    /** Class containing an unannotated Java method for use from {@code OptionalExtensionsTest}. */
    @NullUnmarked
    final class UnannotatedJavaClass {
      static Object getNull() {
        return null;
      }
    
      private UnannotatedJavaClass() {}
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 915 bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertThat(stats.hitCount()).isEqualTo(0);
    
        assertThat(cache.getAll(ImmutableList.of())).isEmpty();
        assertThat(stats.missCount()).isEqualTo(0);
        assertThat(stats.loadSuccessCount()).isEqualTo(0);
        assertThat(stats.loadExceptionCount()).isEqualTo(0);
        assertThat(stats.hitCount()).isEqualTo(0);
    
        assertThat(cache.getAll(asList(1))).containsExactly(1, 1);
        stats = cache.stats();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 91.1K bytes
    - Viewed (0)
Back to top