Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for checkNoDuplicate (0.05 sec)

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

          Map<C, V> thisRow = requireNonNull(rows.get(rowKey));
          cellColumnInRowIndices[i] = thisRow.size();
          V oldValue = thisRow.put(columnKey, value);
          checkNoDuplicate(rowKey, columnKey, oldValue, value);
          requireNonNull(columns.get(columnKey)).put(rowKey, value);
        }
        this.cellRowIndices = cellRowIndices;
        this.cellColumnInRowIndices = cellColumnInRowIndices;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/SparseImmutableTable.java

          Map<C, V> thisRow = requireNonNull(rows.get(rowKey));
          cellColumnInRowIndices[i] = thisRow.size();
          V oldValue = thisRow.put(columnKey, value);
          checkNoDuplicate(rowKey, columnKey, oldValue, value);
          requireNonNull(columns.get(columnKey)).put(rowKey, value);
        }
        this.cellRowIndices = cellRowIndices;
        this.cellColumnInRowIndices = cellColumnInRowIndices;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 5.3K bytes
    - Viewed (1)
  3. android/guava/src/com/google/common/collect/RegularImmutableTable.java

       */
      /*
       * We could have declared this method 'static' but the additional compile-time checks achieved by
       * 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,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/DenseImmutableTable.java

          int rowIndex = requireNonNull(rowKeyToIndex.get(rowKey));
          int columnIndex = requireNonNull(columnKeyToIndex.get(columnKey));
          V existingValue = values[rowIndex][columnIndex];
          checkNoDuplicate(rowKey, columnKey, existingValue, cell.getValue());
          values[rowIndex][columnIndex] = cell.getValue();
          rowCounts[rowIndex]++;
          columnCounts[columnIndex]++;
          cellRowIndices[i] = rowIndex;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 9.6K bytes
    - Viewed (0)
Back to top