Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 41 for RowMap (0.03 sec)

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

        Table<String, Integer, Character> table = HashBasedTable.create();
        table.put("foo", 1, 'a');
        table.put("bar", 1, 'b');
        table.put("foo", 3, 'c');
        return unmodifiableTable(table).rowMap();
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/TablesTransformValuesRowMapTest.java

        table.put("foo", 1, "apple");
        table.put("bar", 1, "banana");
        table.put("foo", 3, "cat");
        return transformValues(table, TableCollectionTest.FIRST_CHARACTER).rowMap();
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/AbstractImmutableTableTest.java

        }
      }
    
      public final void testConsistentToString() {
        for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) {
          assertEquals(testInstance.rowMap().toString(), testInstance.toString());
        }
      }
    
      public final void testConsistentHashCode() {
        for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableTable.java

       */
      @Override
      public ImmutableMap<C, V> row(R rowKey) {
        checkNotNull(rowKey, "rowKey");
        return MoreObjects.firstNonNull((ImmutableMap<C, V>) rowMap().get(rowKey), ImmutableMap.of());
      }
    
      @Override
      public ImmutableSet<R> rowKeySet() {
        return rowMap().keySet();
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>The value {@code Map<C, V>} instances in the returned map are {@link ImmutableMap} instances
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  5. android/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());
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/SingletonImmutableTableTest.java

      }
    
      public void testRowKeySet() {
        assertEquals(ImmutableSet.of('a'), testTable.rowKeySet());
      }
    
      public void testRowMap() {
        assertEquals(ImmutableMap.of('a', ImmutableMap.of(1, "blah")), testTable.rowMap());
      }
    
      public void testEqualsObject() {
        new EqualsTester()
            .addEqualityGroup(testTable, HashBasedTable.create(testTable))
            .addEqualityGroup(ImmutableTable.of(), HashBasedTable.create())
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 4K bytes
    - Viewed (0)
  7. 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();
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  8. 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');
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  9. 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();
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/RegularImmutableTableTest.java

          assertEquals(
              ImmutableMap.of('a', ImmutableMap.of(1, "foo", 2, "baz"), 'b', ImmutableMap.of(1, "bar")),
              testInstance.rowMap());
        }
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 6.3K bytes
    - Viewed (0)
Back to top