Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 130 for column (3.72 sec)

  1. 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)
  2. 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)
  3. 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)
  4. android/guava/src/com/google/common/collect/DenseImmutableTable.java

      @SuppressWarnings("Immutable") // We don't modify this after construction.
      private final int[] cellRowIndices;
    
      // For each cell in iteration order, the index of that cell's column key in the column key list.
      @SuppressWarnings("Immutable") // We don't modify this after construction.
      private final int[] cellColumnIndices;
    
      DenseImmutableTable(
          ImmutableList<Cell<R, C, V>> cellList,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 10K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ArrayTable.java

     *
     * <p>The allowed row and column keys must be supplied when the table is created. The table always
     * contains a mapping for every row key / column pair. The value corresponding to a given row and
     * column is null unless another value is provided.
     *
     * <p>The table's size is constant: the product of the number of supplied row keys and the number of
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 26.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      }
    
      @Generates
      static <R, C, V> Table<R, C, V> generateTable(R row, C column, V value) {
        return generateHashBasedTable(row, column, value);
      }
    
      @Generates
      static <R, C, V> HashBasedTable<R, C, V> generateHashBasedTable(R row, C column, V value) {
        HashBasedTable<R, C, V> table = HashBasedTable.create();
        table.put(row, column, value);
        return table;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/TreeBasedTable.java

     * Table} interface.
     *
     * <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 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/SingletonImmutableTableTest.java

        assertEquals(ImmutableSet.of(Tables.immutableCell('a', 1, "blah")), testTable.cellSet());
      }
    
      public void testColumn() {
        assertEquals(ImmutableMap.of(), testTable.column(0));
        assertEquals(ImmutableMap.of('a', "blah"), testTable.column(1));
      }
    
      public void testColumnKeySet() {
        assertEquals(ImmutableSet.of(1), testTable.columnKeySet());
      }
    
      public void testColumnMap() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 4K bytes
    - Viewed (0)
  9. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/RegularImmutableTableTest.java

      private static final ImmutableSet<Integer> COLUMN_SPACE = ImmutableSet.of(1, 2);
    
      private static final SparseImmutableTable<Character, Integer, String> SPARSE =
          new SparseImmutableTable<>(CELLS.asList(), ROW_SPACE, COLUMN_SPACE);
    
      private static final DenseImmutableTable<Character, Integer, String> DENSE =
          new DenseImmutableTable<>(CELLS.asList(), ROW_SPACE, COLUMN_SPACE);
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 6.3K bytes
    - Viewed (0)
Back to top