Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for rowKey (0.1 sec)

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

      /**
       * {@inheritDoc}
       *
       * @throws NullPointerException if {@code rowKey} is {@code null}
       */
      @Override
      public ImmutableMap<C, V> row(R rowKey) {
        checkNotNull(rowKey, "rowKey");
        return MoreObjects.firstNonNull(
            (ImmutableMap<C, V>) rowMap().get(rowKey), ImmutableMap.<C, V>of());
      }
    
      @Override
      public ImmutableSet<R> rowKeySet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Tables.java

        @ParametricNullness private final R rowKey;
        @ParametricNullness private final C columnKey;
        @ParametricNullness private final V value;
    
        ImmutableCell(
            @ParametricNullness R rowKey,
            @ParametricNullness C columnKey,
            @ParametricNullness V value) {
          this.rowKey = rowKey;
          this.columnKey = columnKey;
          this.value = value;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  3. 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") @CheckForNull Object rowKey,
          @CompatibleWith("C") @CheckForNull 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/TreeBasedTable.java

       */
      @Override
      public SortedMap<C, V> row(R rowKey) {
        return new TreeRow(rowKey);
      }
    
      private class TreeRow extends Row implements SortedMap<C, V> {
        @CheckForNull final C lowerBound;
        @CheckForNull final C upperBound;
    
        TreeRow(R rowKey) {
          this(rowKey, null, null);
        }
    
        TreeRow(R rowKey, @CheckForNull C lowerBound, @CheckForNull C upperBound) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ArrayTable.java

       *
       * @throws IllegalArgumentException if {@code rowKey} is not in {@link #rowKeySet()} or {@code
       *     columnKey} is not in {@link #columnKeySet()}.
       */
      @CanIgnoreReturnValue
      @Override
      @CheckForNull
      public V put(R rowKey, C columnKey, @CheckForNull V value) {
        checkNotNull(rowKey);
        checkNotNull(columnKey);
        Integer rowIndex = rowKeyToIndex.get(rowKey);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  6. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. 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") @CheckForNull Object rowKey,
          @CompatibleWith("C") @CheckForNull 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  8. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/FluentFuture.java

       * by applying the given {@code AsyncFunction} to the result of the original {@code Future}.
       * Example usage:
       *
       * <pre>{@code
       * FluentFuture<RowKey> rowKeyFuture = FluentFuture.from(indexService.lookUp(query));
       * ListenableFuture<QueryResult> queryFuture =
       *     rowKeyFuture.transformAsync(dataService::readFuture, executor);
       * }</pre>
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

                        List<Integer> rowKeys = Lists.newArrayList();
                        for (int i = 0; i < elements.length; i++) {
                          rowKeys.add(i);
                        }
                        Table<Integer, Character, String> table =
                            ArrayTable.create(rowKeys, ImmutableList.of('a'));
                        populateForValues(table, elements);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
Back to top