Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 75 for rows (0.11 sec)

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

        assertEquals(ImmutableMap.of(1, ImmutableMap.of('a', "blah")), testTable.columnMap());
      }
    
      public void testRow() {
        assertEquals(ImmutableMap.of(), testTable.row('A'));
        assertEquals(ImmutableMap.of(1, "blah"), testTable.row('a'));
      }
    
      public void testRowKeySet() {
        assertEquals(ImmutableSet.of('a'), testTable.rowKeySet());
      }
    
      public void testRowMap() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

          assertTrue(Thread.holdsLock(mutex));
          return delegate.remove(rowKey, columnKey);
        }
    
        @Override
        public Map<C, V> row(R rowKey) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.row(rowKey);
        }
    
        @Override
        public Set<R> rowKeySet() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.rowKeySet();
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/EmptyImmutableTableTest.java

      }
    
      public void testContainsValue() {
        assertFalse(INSTANCE.containsValue("blah"));
      }
    
      public void testRow() {
        assertEquals(ImmutableMap.of(), INSTANCE.row('a'));
      }
    
      public void testRowKeySet() {
        assertEquals(ImmutableSet.of(), INSTANCE.rowKeySet());
      }
    
      public void testRowMap() {
        assertEquals(ImmutableMap.of(), INSTANCE.rowMap());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/EmptyImmutableTableTest.java

      }
    
      public void testContainsValue() {
        assertFalse(INSTANCE.containsValue("blah"));
      }
    
      public void testRow() {
        assertEquals(ImmutableMap.of(), INSTANCE.row('a'));
      }
    
      public void testRowKeySet() {
        assertEquals(ImmutableSet.of(), INSTANCE.rowKeySet());
      }
    
      public void testRowMap() {
        assertEquals(ImmutableMap.of(), INSTANCE.rowMap());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Futures.java

       * the function is not invoked). Example usage:
       *
       * <pre>{@code
       * ListenableFuture<QueryResult> queryFuture = ...;
       * ListenableFuture<List<Row>> rowsFuture =
       *     transform(queryFuture, QueryResult::getRows, executor);
       * }</pre>
       *
       * <p>When selecting an executor, note that {@code directExecutor} is dangerous in some cases. See
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Table.java

       * value mapping in the table with that row key, the returned map associates the column key with
       * the value. If no mappings in the table have the provided row key, an empty map is returned.
       *
       * <p>Changes to the returned map will update the underlying table, and vice versa.
       *
       * @param rowKey key of row to search for in the table
    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)
  7. guava/src/com/google/common/collect/AbstractTable.java

        for (Map<C, V> row : rowMap().values()) {
          if (row.containsValue(value)) {
            return true;
          }
        }
        return false;
      }
    
      @Override
      public boolean contains(@CheckForNull Object rowKey, @CheckForNull Object columnKey) {
        Map<C, V> row = Maps.safeGet(rowMap(), rowKey);
        return row != null && Maps.safeContainsKey(row, columnKey);
      }
    
      @Override
      @CheckForNull
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Jul 15 15:41:16 GMT 2021
    - 6.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/RegularImmutableTableTest.java

        for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) {
          assertEquals(ImmutableMap.of(1, "foo", 2, "baz"), testInstance.row('a'));
          assertEquals(ImmutableMap.of(1, "bar"), testInstance.row('b'));
          assertEquals(ImmutableMap.of(), testInstance.row('c'));
        }
      }
    
      public void testRowKeySet() {
        for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  9. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/DenseImmutableTable.java

      private final int[] columnCounts;
    
      @SuppressWarnings("Immutable") // We don't modify this after construction.
      private final @Nullable V[][] values;
    
      // For each cell in iteration order, the index of that cell's row key in the row key list.
      @SuppressWarnings("Immutable") // We don't modify this after construction.
      private final int[] cellRowIndices;
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 10K bytes
    - Viewed (0)
Back to top