Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 53 for Sense (0.12 sec)

  1. guava/src/com/google/common/collect/CompactHashMap.java

     * supported. Null keys and values are supported.
     *
     * <p>{@code containsKey(k)}, {@code put(k, v)} and {@code remove(k)} are all (expected and
     * amortized) constant time operations. Expected in the hashtable sense (depends on the hash
     * function doing a good job of distributing the elements to the buckets to a distribution not far
     * from uniform), and amortized since some operations can trigger a hash table resize.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 39.8K bytes
    - Viewed (0)
  2. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableMap.java

         *   `map.getOrDefault(FOO_KEY, defaultValue)`
         *
         * - a call that consults a chain of maps, as in `mapA.getOrDefault(key, mapB.getOrDefault(key,
         *   ...))`
         *
         * So it makes sense for the parameter (and thus the return type) to be @CheckForNull.
         *
         * Two other points:
         *
         * 1. We'll want to use something like @PolyNull once we can make that work for the various
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 44.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Ordering.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A comparator, with additional methods to support common operations. This is an "enriched" version
     * of {@code Comparator} for pre-Java-8 users, in the same sense that {@link FluentIterable} is an
     * enriched {@link Iterable} for pre-Java-8 users.
     *
     * <h3>Three types of methods</h3>
     *
     * Like other fluent types, there are three types of methods present: methods for <i>acquiring</i>,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Futures.java

       * use with getUnchecked. Further, it's not clear that converting the checked TimeoutException to
       * a RuntimeException -- especially to an UncheckedExecutionException, since it wasn't thrown by
       * the computation -- makes sense, and if we don't convert it, the user still has to write a
       * try-catch block.
       *
       * If you think you would use this method, let us know. You might also look into the
    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/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 May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 10K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top