Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for columnKeySet (0.1 sec)

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

                        populateForColumnKeySet(table, elements);
                        return table.columnKeySet();
                      }
                    })
                .named("ArrayTable.columnKeySet")
                .withFeatures(
                    CollectionSize.ONE,
                    CollectionSize.SEVERAL,
                    CollectionFeature.KNOWN_ORDER,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/TableCollectionTest.java

                        populateForColumnKeySet(table, elements);
                        return table.columnKeySet();
                      }
                    })
                .named("ArrayTable.columnKeySet")
                .withFeatures(
                    CollectionSize.ONE,
                    CollectionSize.SEVERAL,
                    CollectionFeature.KNOWN_ORDER,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

                'X');
        assertEquals("[20, 15, 10, 5, 3, 2, 1]", table.columnKeySet().toString());
      }
    
      public void testColumnKeySet_empty() {
        table = create();
        assertEquals("[]", table.columnKeySet().toString());
      }
    
      public void testColumnKeySet_oneRow() {
        table = create("a", 2, 'X', "a", 1, 'X');
        assertEquals("[1, 2]", table.columnKeySet().toString());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableTableTest.java

        assertThat(copy.cellSet()).containsExactlyElementsIn(original.cellSet()).inOrder();
        assertThat(copy.rowKeySet()).containsExactlyElementsIn(original.rowKeySet()).inOrder();
        assertThat(copy.columnKeySet()).containsExactlyElementsIn(original.columnKeySet()).inOrder();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // Mind-bogglingly slow in GWT
      @AndroidIncompatible // slow
      public void testOverflowCondition() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Tables.java

        }
    
        @Override
        public Set<R> rowKeySet() {
          return fromTable.rowKeySet();
        }
    
        @Override
        public Set<C> columnKeySet() {
          return fromTable.columnKeySet();
        }
    
        @Override
        Collection<V2> createValues() {
          return Collections2.transform(fromTable.values(), function);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ArrayTable.java

       * table.rowKeySet()} and the column keys in {@code table.columnKeySet()}. Calling {@link #put}
       * with other keys leads to an {@code IllegalArgumentException}.
       *
       * <p>The ordering of {@code table.rowKeySet()} and {@code table.columnKeySet()} determines the
       * row and column iteration ordering of the returned table.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableTable.java

        checkNotNull(columnKey, "columnKey");
        return MoreObjects.firstNonNull(
            (ImmutableMap<R, V>) columnMap().get(columnKey), ImmutableMap.<R, V>of());
      }
    
      @Override
      public ImmutableSet<C> columnKeySet() {
        return columnMap().keySet();
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>The value {@code Map<R, V>} instances in the returned map are {@link ImmutableMap} instances
       * as well.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/TreeBasedTable.java

     * returns a {@link SortedMap}, instead of the {@link Set} and {@link Map} specified by the {@link
     * Table} interface.
     *
     * <p>The views returned by {@link #column}, {@link #columnKeySet()}, and {@link #columnMap()} have
     * iterators that don't support {@code remove()}. Otherwise, all optional operations are supported.
     * Null row keys, columns keys, and values are not supported.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/DenseImmutableTable.java

      @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);
        // requireNonNull is safe because we use indexes that were populated by the constructor.
        V value = requireNonNull(values[rowIndex][columnIndex]);
        return cellOf(rowKey, columnKey, value);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/DenseImmutableTable.java

      @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);
        // requireNonNull is safe because we use indexes that were populated by the constructor.
        V value = requireNonNull(values[rowIndex][columnIndex]);
        return cellOf(rowKey, columnKey, value);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top