Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for Column (0.3 sec)

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

       *
       * <p>The returned map's views have iterators that don't support {@code remove()}.
       */
      @Override
      public Map<R, V> column(C columnKey) {
        return new Column(columnKey);
      }
    
      private class Column extends ViewCachingAbstractMap<R, V> {
        final C columnKey;
    
        Column(C columnKey) {
          this.columnKey = checkNotNull(columnKey);
        }
    
        @Override
        @CheckForNull
    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-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)
  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/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)
  7. 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)
  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. 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)
  10. 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)
Back to top