Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 59 for rowMap (0.05 seconds)

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

       *
       * <p>In contrast, the maps returned by {@code rowMap().get()} have the same behavior as those
       * returned by {@link #row}. Those maps may support {@code setValue()}, {@code put()}, and {@code
       * putAll()}.
       *
       * @return a map view from each row key to a secondary map from column keys to values
       */
      Map<R, Map<C, V>> rowMap();
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/Table.java

       *
       * <p>In contrast, the maps returned by {@code rowMap().get()} have the same behavior as those
       * returned by {@link #row}. Those maps may support {@code setValue()}, {@code put()}, and {@code
       * putAll()}.
       *
       * @return a map view from each row key to a secondary map from column keys to values
       */
      Map<R, Map<C, V>> rowMap();
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

        @Override
        protected Map<String, Map<Integer, Character>> makePopulatedMap() {
          Table<String, Integer, Character> table = makeTable();
          populateTable(table);
          return table.rowMap();
        }
    
        // `protected` to work around b/320650932 / KT-67447 runtime crash
        protected final void populateTable(Table<String, Integer, Character> table) {
          table.put("foo", 1, 'a');
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/TableCollectionTest.java

        @Override
        protected Map<String, Map<Integer, Character>> makePopulatedMap() {
          Table<String, Integer, Character> table = makeTable();
          populateTable(table);
          return table.rowMap();
        }
    
        // `protected` to work around b/320650932 / KT-67447 runtime crash
        protected final void populateTable(Table<String, Integer, Character> table) {
          table.put("foo", 1, 'a');
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/Synchronized.java

          synchronized (mutex) {
            return collection(delegate().values(), mutex);
          }
        }
    
        @Override
        public Map<R, Map<C, V>> rowMap() {
          synchronized (mutex) {
            return map(transformValues(delegate().rowMap(), m -> map(m, mutex)), mutex);
          }
        }
    
        @Override
        public Map<C, Map<R, V>> columnMap() {
          synchronized (mutex) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Aug 08 15:11:10 GMT 2025
    - 53K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

      }
    
      public void testRowMapComparator() {
        sortedTable = TreeBasedTable.create();
        assertThat(sortedTable.rowMap().comparator()).isEqualTo(Ordering.natural());
    
        sortedTable = TreeBasedTable.create(Collections.reverseOrder(), Ordering.usingToString());
        assertThat(sortedTable.rowMap().comparator()).isEqualTo(Collections.reverseOrder());
      }
    
      public void testRowMapFirstKey() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 15.3K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/Synchronized.java

          synchronized (mutex) {
            return collection(delegate().values(), mutex);
          }
        }
    
        @Override
        public Map<R, Map<C, V>> rowMap() {
          synchronized (mutex) {
            return map(transformValues(delegate().rowMap(), m -> map(m, mutex)), mutex);
          }
        }
    
        @Override
        public Map<C, Map<R, V>> columnMap() {
          synchronized (mutex) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Aug 08 15:11:10 GMT 2025
    - 56.9K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/TransposedTableTest.java

        assertThat(transpose.columnKeySet()).isSameInstanceAs(original.rowKeySet());
        assertThat(transpose.rowMap()).isSameInstanceAs(original.columnMap());
        assertThat(transpose.columnMap()).isSameInstanceAs(original.rowMap());
        assertThat(transpose.values()).isSameInstanceAs(original.values());
        assertEquals(original.row(1), transpose.column(1));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/AbstractImmutableTableTest.java

        }
      }
    
      public final void testConsistentToString() {
        for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) {
          assertThat(testInstance.toString()).isEqualTo(testInstance.rowMap().toString());
        }
      }
    
      public final void testConsistentHashCode() {
        for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/EmptyImmutableTableTest.java

      }
    
      public void testRowKeySet() {
        assertEquals(ImmutableSet.of(), INSTANCE.rowKeySet());
      }
    
      public void testRowMap() {
        assertEquals(ImmutableMap.of(), INSTANCE.rowMap());
      }
    
      public void testValues() {
        assertTrue(INSTANCE.values().isEmpty());
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 3.3K bytes
    - Click Count (0)
Back to Top