Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for SingletonImmutableTable (0.07 sec)

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

    /**
     * An implementation of {@link ImmutableTable} that holds a single cell.
     *
     * @author Gregory Kick
     */
    @GwtCompatible
    final class SingletonImmutableTable<R, C, V> extends ImmutableTable<R, C, V> {
      final R singleRowKey;
      final C singleColumnKey;
      final V singleValue;
    
      SingletonImmutableTable(R rowKey, C columnKey, V value) {
        this.singleRowKey = checkNotNull(rowKey);
        this.singleColumnKey = checkNotNull(columnKey);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/SingletonImmutableTableTest.java

    import java.util.Objects;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Tests {@link SingletonImmutableTable}.
     *
     * @author Gregory Kick
     */
    @GwtCompatible
    @NullMarked
    public class SingletonImmutableTableTest extends AbstractImmutableTableTest {
      private final ImmutableTable<Character, Integer, String> testTable =
          new SingletonImmutableTable<>('a', 1, "blah");
    
      public void testHashCode() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableTable.java

      }
    
      /** Returns an immutable table containing a single cell. */
      public static <R, C, V> ImmutableTable<R, C, V> of(R rowKey, C columnKey, V value) {
        return new SingletonImmutableTable<>(rowKey, columnKey, value);
      }
    
      /**
       * Returns an immutable copy of the provided table.
       *
       * <p>The {@link Table#cellSet()} iteration order of the provided table determines the iteration
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableTable.java

      }
    
      /** Returns an immutable table containing a single cell. */
      public static <R, C, V> ImmutableTable<R, C, V> of(R rowKey, C columnKey, V value) {
        return new SingletonImmutableTable<>(rowKey, columnKey, value);
      }
    
      /**
       * Returns an immutable copy of the provided table.
       *
       * <p>The {@link Table#cellSet()} iteration order of the provided table determines the iteration
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.3K bytes
    - Viewed (0)
Back to top