Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for rowKey (0.34 sec)

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

        @Override
        public boolean containsRow(Object rowKey) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.containsRow(rowKey);
        }
    
        @Override
        public @Nullable V get(Object rowKey, Object columnKey) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.get(rowKey, columnKey);
        }
    
        @Override
        public @Nullable V put(R rowKey, C columnKey, V value) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Table.java

       *
       * @param rowKey key of row to search for
       * @param columnKey key of column to search for
       */
      boolean contains(
          @CompatibleWith("R") @Nullable Object rowKey,
          @CompatibleWith("C") @Nullable Object columnKey);
    
      /**
       * Returns {@code true} if the table contains a mapping with the specified row key.
       *
       * @param rowKey key of row to search for
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/SingletonImmutableTable.java

    @GwtCompatible
    final class SingletonImmutableTable<R, C, V> extends ImmutableTable<R, C, V> {
      final R singleRowKey;
      final C singleColumnKey;
      final V singleValue;
    
      SingletonImmutableTable(R rowKey, C columnKey, V value) {
        this.singleRowKey = checkNotNull(rowKey);
        this.singleColumnKey = checkNotNull(columnKey);
        this.singleValue = checkNotNull(value);
      }
    
      SingletonImmutableTable(Cell<R, C, V> cell) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/DenseImmutableTable.java

        for (int i = 0; i < cellList.size(); i++) {
          Cell<R, C, V> cell = cellList.get(i);
          R rowKey = cell.getRowKey();
          C columnKey = cell.getColumnKey();
          // The requireNonNull calls are safe because we construct the indexes with indexMap.
          int rowIndex = requireNonNull(rowKeyToIndex.get(rowKey));
          int columnIndex = requireNonNull(columnKeyToIndex.get(columnKey));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/SparseImmutableTable.java

          R rowKey = cell.getRowKey();
          C columnKey = cell.getColumnKey();
          V value = cell.getValue();
    
          /*
           * These requireNonNull calls are safe because we construct the maps to hold all the provided
           * cells.
           */
          cellRowIndices[i] = requireNonNull(rowIndex.get(rowKey));
          Map<C, V> thisRow = requireNonNull(rows.get(rowKey));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 5.3K bytes
    - Viewed (1)
  6. android/guava/src/com/google/common/collect/Synchronized.java

        @Override
        public boolean contains(@Nullable Object rowKey, @Nullable Object columnKey) {
          synchronized (mutex) {
            return delegate().contains(rowKey, columnKey);
          }
        }
    
        @Override
        public boolean containsRow(@Nullable Object rowKey) {
          synchronized (mutex) {
            return delegate().containsRow(rowKey);
          }
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Aug 08 15:11:10 UTC 2025
    - 53K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Synchronized.java

        @Override
        public boolean contains(@Nullable Object rowKey, @Nullable Object columnKey) {
          synchronized (mutex) {
            return delegate().contains(rowKey, columnKey);
          }
        }
    
        @Override
        public boolean containsRow(@Nullable Object rowKey) {
          synchronized (mutex) {
            return delegate().containsRow(rowKey);
          }
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Aug 08 15:11:10 UTC 2025
    - 56.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/RegularImmutableTable.java

       * referencing the type variables seem worthwhile.
       */
      final void checkNoDuplicate(R rowKey, C columnKey, @Nullable V existingValue, V newValue) {
        checkArgument(
            existingValue == null,
            "Duplicate key: (row=%s, column=%s), values: [%s, %s].",
            rowKey,
            columnKey,
            newValue,
            existingValue);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/HashBasedTable.java

     *
     * <p>Lookups by row key are often faster than lookups by column key, because the data is stored in
     * a {@code Map<R, Map<C, V>>}. A method call like {@code column(columnKey).get(rowKey)} still runs
     * quickly, since the row key is provided. However, {@code column(columnKey).size()} takes longer,
     * since an iteration across all row keys occurs.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/HashBasedTable.java

     *
     * <p>Lookups by row key are often faster than lookups by column key, because the data is stored in
     * a {@code Map<R, Map<C, V>>}. A method call like {@code column(columnKey).get(rowKey)} still runs
     * quickly, since the row key is provided. However, {@code column(columnKey).size()} takes longer,
     * since an iteration across all row keys occurs.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
Back to top