Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 51 for Column (0.26 sec)

  1. android/guava-tests/test/com/google/common/collect/UnmodifiableTableColumnTest.java

        table.put("one", 'a', 1);
        table.put("two", 'a', 2);
        table.put("three", 'a', 3);
        table.put("four", 'b', 4);
        return Tables.unmodifiableTable(table).column('a');
      }
    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. android/guava/src/com/google/common/collect/ForwardingTable.java

        return delegate().cellSet();
      }
    
      @Override
      public void clear() {
        delegate().clear();
      }
    
      @Override
      public Map<R, V> column(@ParametricNullness C columnKey) {
        return delegate().column(columnKey);
      }
    
      @Override
      public Set<C> columnKeySet() {
        return delegate().columnKeySet();
      }
    
      @Override
      public Map<C, Map<R, V>> columnMap() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 29 19:42:21 GMT 2021
    - 3.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. android/guava/src/com/google/common/collect/Table.java

       * @return the corresponding map from column keys to values
       */
      Map<C, V> row(@ParametricNullness R rowKey);
    
      /**
       * Returns a view of all mappings that have the given column key. For each row key / column key /
       * value mapping in the table with that column key, the returned map associates the row key with
       * the value. If no mappings in the table have the provided column key, an empty map is returned.
       *
    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)
  6. guava/src/com/google/common/collect/ForwardingTable.java

        return delegate().cellSet();
      }
    
      @Override
      public void clear() {
        delegate().clear();
      }
    
      @Override
      public Map<R, V> column(@ParametricNullness C columnKey) {
        return delegate().column(columnKey);
      }
    
      @Override
      public Set<C> columnKeySet() {
        return delegate().columnKeySet();
      }
    
      @Override
      public Map<C, Map<R, V>> columnMap() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 29 19:42:21 GMT 2021
    - 3.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

        assertEquals(ImmutableMap.of("foo", 'a', "bar", 'b'), table.column(1));
      }
    
      // This test assumes that the implementation does not support null keys.
      public void testColumnNull() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        try {
          table.column(null);
          fail();
        } catch (NullPointerException expected) {
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

        assertEquals(ImmutableMap.of("foo", 'a', "bar", 'b'), table.column(1));
      }
    
      // This test assumes that the implementation does not support null keys.
      public void testColumnNull() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        try {
          table.column(null);
          fail();
        } catch (NullPointerException expected) {
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  9. 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 Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 26.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

        public Set<Cell<R, C, V>> cellSet() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.cellSet();
        }
    
        @Override
        public Map<R, V> column(C columnKey) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.column(columnKey);
        }
    
        @Override
        public Set<C> columnKeySet() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.columnKeySet();
        }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 4.6K bytes
    - Viewed (0)
Back to top