Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 48 of 48 for Sense (1.7 sec)

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

     * supported. The elements can be any objects.
     *
     * <p>{@code contains(x)}, {@code add(x)} and {@code remove(x)}, 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 Feb 05 21:38:59 GMT 2024
    - 24.9K 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 May 03 12:43:13 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. 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)
  8. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 19.6K bytes
    - Viewed (0)
Back to top