Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SparseImmutableTable (0.33 sec)

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

        builder.put('a', 2, "baz");
        builder.put('c', 3, "cat");
        builder.put('d', 4, "dog");
        Table<Character, Integer, String> table = builder.build();
        assertThat(table).isInstanceOf(SparseImmutableTable.class);
        validateReserialization(table);
      }
    
      public void testSparseSerialization_rowOrder() {
        ImmutableTable.Builder<Character, Integer, String> builder = ImmutableTable.builder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableTable.java

       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked")
      public static <R, C, V> ImmutableTable<R, C, V> of() {
        return (ImmutableTable<R, C, V>) SparseImmutableTable.EMPTY;
      }
    
      /** Returns an immutable table containing a single cell. */
      public static <R, C, V> ImmutableTable<R, C, V> of(R rowKey, C columnKey, V value) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top