Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for SingletonImmutableTable (0.64 seconds)

  1. 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);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  2. 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);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  3. 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() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  4. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 17.4K bytes
    - Click Count (0)
  5. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 17.3K bytes
    - Click Count (0)
Back to Top