Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 28 of 28 for ColumnMap (0.21 sec)

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

          table.put(1, "foo", 'a');
          table.put(1, "bar", 'b');
          table.put(3, "foo", 'c');
          return table.columnMap();
        }
    
        @Override
        protected Map<String, Map<Integer, Character>> makeEmptyMap() {
          return makeTable().columnMap();
        }
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/SingletonImmutableTableTest.java

      public void testColumnKeySet() {
        assertEquals(ImmutableSet.of(1), testTable.columnKeySet());
      }
    
      public void testColumnMap() {
        assertEquals(ImmutableMap.of(1, ImmutableMap.of('a', "blah")), testTable.columnMap());
      }
    
      public void testRow() {
        assertEquals(ImmutableMap.of(), testTable.row('A'));
        assertEquals(ImmutableMap.of(1, "blah"), testTable.row('a'));
      }
    
      public void testRowKeySet() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Table.java

       *
       * <p>In contrast, the maps returned by {@code columnMap().get()} have the same behavior as those
       * returned by {@link #column}. Those maps may support {@code setValue()}, {@code put()}, and
       * {@code putAll()}.
       *
       * @return a map view from each column key to a secondary map from row keys to values
       */
      Map<C, Map<R, V>> columnMap();
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/HashBasedTable.java

    /**
     * Implementation of {@link Table} using linked hash tables. This guarantees predictable iteration
     * order of the various views.
     *
     * <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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/HashBasedTable.java

    /**
     * Implementation of {@link Table} using linked hash tables. This guarantees predictable iteration
     * order of the various views.
     *
     * <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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/RegularImmutableTableTest.java

          assertEquals(
              ImmutableMap.of(
                  1, ImmutableMap.of('a', "foo", 'b', "bar"), 2, ImmutableMap.of('a', "baz")),
              testInstance.columnMap());
        }
      }
    
      public void testContains() {
        for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) {
          assertTrue(testInstance.contains('a', 1));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Synchronized.java

            return map(transformValues(delegate().rowMap(), m -> map(m, mutex)), mutex);
          }
        }
    
        @Override
        public Map<C, Map<R, V>> columnMap() {
          synchronized (mutex) {
            return map(transformValues(delegate().columnMap(), m -> map(m, mutex)), mutex);
          }
        }
    
        @Override
        public int hashCode() {
          synchronized (mutex) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Aug 08 15:11:10 UTC 2025
    - 53K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Synchronized.java

            return map(transformValues(delegate().rowMap(), m -> map(m, mutex)), mutex);
          }
        }
    
        @Override
        public Map<C, Map<R, V>> columnMap() {
          synchronized (mutex) {
            return map(transformValues(delegate().columnMap(), m -> map(m, mutex)), mutex);
          }
        }
    
        @Override
        public int hashCode() {
          synchronized (mutex) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Aug 08 15:11:10 UTC 2025
    - 56.9K bytes
    - Viewed (0)
Back to top