Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 385 for toTable (0.33 sec)

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

        final Table<R, C, MutableCell<R, C, V>> table = HashBasedTable.create();
    
        void put(R row, C column, V value, BinaryOperator<V> merger) {
          MutableCell<R, C, V> oldCell = table.get(row, column);
          if (oldCell == null) {
            MutableCell<R, C, V> cell = new MutableCell<>(row, column, value);
            insertionOrder.add(cell);
            table.put(row, column, cell);
          } else {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Mar 09 00:21:17 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/TableCollectorsTest.java

      public void testToTable() {
        Collector<Cell<String, String, Integer>, ?, Table<String, String, Integer>> collector =
            TableCollectors.toTable(
                Cell::getRowKey, Cell::getColumnKey, Cell::getValue, HashBasedTable::create);
        BiPredicate<Table<String, String, Integer>, Table<String, String, Integer>> equivalence =
            pairwiseOnResultOf(Table::cellSet);
        CollectorTester.of(collector, equivalence)
            .expectCollects(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 16:03:18 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Tables.java

       * <p>The returned table will be serializable if the specified table is serializable.
       *
       * @param table the table to be wrapped in a synchronized view
       * @return a synchronized view of the specified table
       * @since 22.0
       */
      public static <R extends @Nullable Object, C extends @Nullable Object, V extends @Nullable Object>
          Table<R, C, V> synchronizedTable(Table<R, C, V> table) {
        return Synchronized.table(table, null);
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 22:45:41 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Table.java

      /**
       * Copies all mappings from the specified table to this table. The effect is equivalent to calling
       * {@link #put} with each row key / column key / value mapping in {@code table}.
       *
       * @param table the table to add to this table
       */
      void putAll(Table<? extends R, ? extends C, ? extends V> table);
    
      /**
       * Removes the mapping, if any, associated with the given keys.
       *
    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. tests/table_test.go

    		t.Errorf("Table with escape character, got %v", r.Statement.SQL.String())
    	}
    
    	r = dryDB.Table("`people`").Table("`user`").Find(&User{}).Statement
    	if !regexp.MustCompile("SELECT \\* FROM `user`").MatchString(r.Statement.SQL.String()) {
    		t.Errorf("Table with escape character, got %v", r.Statement.SQL.String())
    	}
    
    	r = dryDB.Table("people as p").Table("user as u").Find(&User{}).Statement
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat Mar 09 09:31:28 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  6. .cm/summary_table.cm

      - commit
    
    automations:
    
      summary_table:
        if:
          - {{ is.requested or not pr.author_is_org_member }}
          - {{ author.using_gitstream or not pr.author_is_org_member }}
        run:
          - action: add-comment@v1
            args:
              comment:
                <h3>Change Summary</h3>
                This PR is {{ changes.ratio | round(2) }}% new code.
                <table>
                <tr>
                <td>Platform</td>
    Plain Text
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Thu Feb 08 15:20:44 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  7. .cm/summary_table_platforms.cm

    # its own file.
    
    on:
      - pr_created
      - commit
      - comment_added
    
    automations:
    
      summary_table_platforms:
        if:
          - {{ ('summary_table_platforms' | isEnabledAutomation(pr)) }}
        run:
          - action: add-comment@v1
            args:
              comment: |
                {{ by_platform_comment }}
    
    by_platform_comment: |
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ArrayTableTest.java

        assertFalse(table.contains("foo", null));
        assertFalse(table.contains(null, 1));
        assertFalse(table.contains(null, null));
      }
    
      @Override
      public void testContainsRow() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertTrue(table.containsRow("foo"));
        assertTrue(table.containsRow("bar"));
        assertTrue(table.containsRow("cat"));
    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

        assertFalse(table.contains("foo", null));
        assertFalse(table.contains(null, 1));
        assertFalse(table.contains(null, null));
      }
    
      @Override
      public void testContainsRow() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertTrue(table.containsRow("foo"));
        assertTrue(table.containsRow("bar"));
        assertTrue(table.containsRow("cat"));
    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. android/guava-tests/test/com/google/common/collect/ImmutableTableTest.java

      }
    
      public void testCopyOfSparse() {
        Table<Character, Integer, String> table = TreeBasedTable.create();
        table.put('x', 2, "foo");
        table.put('r', 1, "bar");
        table.put('c', 3, "baz");
        table.put('b', 7, "cat");
        table.put('e', 5, "dog");
        table.put('c', 0, "axe");
        table.put('e', 3, "tub");
        table.put('r', 4, "foo");
        table.put('x', 5, "bar");
        validateTableCopies(table);
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 19.6K bytes
    - Viewed (0)
Back to top