Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Jensen (0.2 sec)

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

      static <R, C, V> RegularImmutableTable<R, C, V> forOrderedComponents(
          ImmutableList<Cell<R, C, V>> cellList,
          ImmutableSet<R> rowSpace,
          ImmutableSet<C> columnSpace) {
        // use a dense table if more than half of the cells have values
        // TODO(gak): tune this condition based on empirical evidence
        return (cellList.size() > (((long) rowSpace.size() * columnSpace.size()) / 2))
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ArrayTable.java

     * Second, it is always backed by an array large enough to hold a value for every possible
     * combination of row and column keys. (This is rarely optimal unless the table is extremely dense.)
     * Finally, every possible combination of row and column keys is always considered to have a value
     * associated with it: It is not possible to "remove" a value, only to replace it with {@code null},
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 26.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/RegularImmutableTableTest.java

      private static final DenseImmutableTable<Character, Integer, String> DENSE =
          new DenseImmutableTable<>(CELLS.asList(), ROW_SPACE, COLUMN_SPACE);
    
      @Override
      Iterable<ImmutableTable<Character, Integer, String>> getTestInstances() {
        return ImmutableList.<ImmutableTable<Character, Integer, String>>of(SPARSE, DENSE);
      }
    
      public void testCellSet() {
    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)
  4. guava-tests/test/com/google/common/collect/ImmutableTableTest.java

        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();
        builder.orderRowsBy(Ordering.natural());
        builder.orderColumnsBy(Ordering.natural());
        builder.put('c', 3, "foo");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 20K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/DenseImmutableTable.java

    import com.google.j2objc.annotations.WeakOuter;
    import java.util.Map;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** A {@code RegularImmutableTable} optimized for dense data. */
    @GwtCompatible
    @Immutable(containerOf = {"R", "C", "V"})
    @ElementTypesAreNonnullByDefault
    final class DenseImmutableTable<R, C, V> extends RegularImmutableTable<R, C, V> {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 10K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ArrayTable.java

     * Second, it is always backed by an array large enough to hold a value for every possible
     * combination of row and column keys. (This is rarely optimal unless the table is extremely dense.)
     * Finally, every possible combination of row and column keys is always considered to have a value
     * associated with it: It is not possible to "remove" a value, only to replace it with {@code null},
    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)
  7. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      `Ten hours the first day,' said the Mock Turtle: `nine the
    next, and so on.'
    
      `What a curious plan!' exclaimed Alice.
    
      `That's the reason they're called lessons,' the Gryphon
    remarked:  `because they lessen from day to day.'
    
      This was quite a new idea to Alice, and she thought it over a
    little before she made her next remark.  `Then the eleventh day
    must have been a holiday?'
    
    Plain Text
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      `Ten hours the first day,' said the Mock Turtle: `nine the
    next, and so on.'
    
      `What a curious plan!' exclaimed Alice.
    
      `That's the reason they're called lessons,' the Gryphon
    remarked:  `because they lessen from day to day.'
    
      This was quite a new idea to Alice, and she thought it over a
    little before she made her next remark.  `Then the eleventh day
    must have been a holiday?'
    
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
Back to top