Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 58 for rowMap (0.21 sec)

  1. android/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 Tables.transformValues(table, TableCollectionTest.FIRST_CHARACTER).rowMap();
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableTable.java

      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() {
        return rowMap().keySet();
      }
    
      /**
       * {@inheritDoc}
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 17.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

          populateTable(table);
          return table.rowMap();
        }
    
        void populateTable(Table<String, Integer, Character> table) {
          table.put("foo", 1, 'a');
          table.put("bar", 1, 'b');
          table.put("foo", 3, 'c');
        }
    
        @Override
        protected Map<String, Map<Integer, Character>> makeEmptyMap() {
          return makeTable().rowMap();
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  4. 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();
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 10.7K bytes
    - Viewed (0)
  5. 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());
        }
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/TableCollectionTest.java

          populateTable(table);
          return table.rowMap();
        }
    
        void populateTable(Table<String, Integer, Character> table) {
          table.put("foo", 1, 'a');
          table.put("bar", 1, 'b');
          table.put("foo", 3, 'c');
        }
    
        @Override
        protected Map<String, Map<Integer, Character>> makeEmptyMap() {
          return makeTable().rowMap();
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Synchronized.java

            return collection(delegate().values(), mutex);
          }
        }
    
        @Override
        public Map<R, Map<C, V>> rowMap() {
          synchronized (mutex) {
            return map(
                Maps.transformValues(
                    delegate().rowMap(),
                    new com.google.common.base.Function<Map<C, V>, Map<C, V>>() {
                      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ArrayTableTest.java

            table.toString());
        assertEquals(
            "{foo={1=a, 2=null, 3=c}, "
                + "bar={1=b, 2=null, 3=null}, "
                + "cat={1=null, 2=null, 3=null}}",
            table.rowMap().toString());
      }
    
      public void testCellSetToString_ordered() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertEquals(
            "[(foo,1)=a, (foo,2)=null, (foo,3)=c, "
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ArrayTableTest.java

            table.toString());
        assertEquals(
            "{foo={1=a, 2=null, 3=c}, "
                + "bar={1=b, 2=null, 3=null}, "
                + "cat={1=null, 2=null, 3=null}}",
            table.rowMap().toString());
      }
    
      public void testCellSetToString_ordered() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertEquals(
            "[(foo,1)=a, (foo,2)=null, (foo,3)=c, "
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/lang/MethodUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetKeyTypeOfMapFromParameterType() throws Exception {
            Method m = Baz.class.getMethod("rawMap", Map.class);
            assertThat(MethodUtil.getKeyTypeOfMapFromParameterType(m, 0), is(nullValue()));
    
            m = Baz.class.getMethod("genericMap", Map.class);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.5K bytes
    - Viewed (0)
Back to top