Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for _columns (0.2 sec)

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

     * Null row keys, columns keys, and values are not supported.
     *
     * <p>Lookups by row key are often faster than lookups by column key, because the data is stored in
     * a {@code Map<R, Map<C, V>>}. A method call like {@code column(columnKey).get(rowKey)} still runs
     * quickly, since the row key is provided. However, {@code column(columnKey).size()} takes longer,
     * since an iteration across all row keys occurs.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 29.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/HashBasedTable.java

     * 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.
     *
     * <p>Lookups by row key are often faster than lookups by column key, because the data is stored in
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableTable.java

       * generated by applying the specified functions. If multiple inputs are mapped to the same row
       * and column pair, they will be combined with the specified merging function in encounter order.
       *
       * <p>The returned {@code Collector} will throw a {@code NullPointerException} at collection time
       * if the row, column, value, or merging functions return null on any input.
       *
    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)
  4. guava-tests/test/com/google/common/collect/ArrayTableTest.java

        }
      }
    
      public void testColumnMissing() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        Map<String, Character> column = table.column(4);
        assertTrue(column.isEmpty());
        try {
          column.put("foo", 'd');
          fail();
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      public void testRowPutIllegal() {
    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)
  5. android/guava-tests/test/com/google/common/collect/ArrayTableTest.java

        }
      }
    
      public void testColumnMissing() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        Map<String, Character> column = table.column(4);
        assertTrue(column.isEmpty());
        try {
          column.put("foo", 'd');
          fail();
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      public void testRowPutIllegal() {
    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)
  6. guava-tests/test/com/google/common/collect/TransposedTableTest.java

        assertSame(original.values(), transpose.values());
        assertEquals(original.row(1), transpose.column(1));
        assertEquals(original.row(2), transpose.column(2));
        assertEquals(original.column("foo"), transpose.row("foo"));
        assertEquals(original.column("bar"), transpose.row("bar"));
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableTableTest.java

            .containsExactly("cat", "axe", "baz", "tub", "dog", "bar", "foo", "foo", "bar")
            .inOrder();
        assertThat(table.row('c').keySet()).containsExactly(0, 3).inOrder();
        assertThat(table.column(5).keySet()).containsExactly('e', 'x').inOrder();
      }
    
      public void testBuilder_orderRowsAndColumnsBy_dense() {
        ImmutableTable.Builder<Character, Integer, String> builder = ImmutableTable.builder();
    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)
  8. guava/src/com/google/common/collect/HashBasedTable.java

     * 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.
     *
     * <p>Lookups by row key are often faster than lookups by column key, because the data is stored in
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/TableCollectors.java

      private static final class MutableCell<R, C, V> extends AbstractCell<R, C, V> {
        private final R row;
        private final C column;
        private V value;
    
        MutableCell(R row, C column, V value) {
          this.row = checkNotNull(row, "row");
          this.column = checkNotNull(column, "column");
          this.value = checkNotNull(value, "value");
        }
    
        @Override
        public R getRowKey() {
          return row;
    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)
  10. guava-tests/test/com/google/common/collect/TableCollectionTest.java

          table.put(row, 2, 'b');
        }
      }
    
      private static void populateForColumnKeySet(
          Table<Integer, String, Character> table, String[] elements) {
        for (String column : elements) {
          table.put(1, column, 'a');
          table.put(2, column, 'b');
        }
      }
    
      private static void populateForValues(
          Table<Integer, Character, String> table, String[] elements) {
        for (int i = 0; i < elements.length; i++) {
    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)
Back to top