Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for ImmutableTable (0.07 sec)

  1. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

          new SecretKeySpec("secret key".getBytes(UTF_8), "HmacSHA512");
    
      // From http://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#Mac
      private static final ImmutableTable<String, SecretKey, HashFunction> ALGORITHMS =
          new ImmutableTable.Builder<String, SecretKey, HashFunction>()
              .put("HmacMD5", MD5_KEY, Hashing.hmacMd5(MD5_KEY))
              .put("HmacSHA1", SHA1_KEY, Hashing.hmacSha1(SHA1_KEY))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 16:19:35 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/SingletonImmutableTableTest.java

      }
    
      public void testEqualsObject() {
        new EqualsTester()
            .addEqualityGroup(testTable, HashBasedTable.create(testTable))
            .addEqualityGroup(ImmutableTable.of(), HashBasedTable.create())
            .addEqualityGroup(HashBasedTable.create(ImmutableTable.of('A', 2, "")))
            .testEquals();
      }
    
      @GwtIncompatible // ArrayTable
      public void testEqualsObjectNullValues() {
        new EqualsTester()
    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-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertTrue(ArbitraryInstances.get(SortedSetMultimap.class).isEmpty());
        assertEquals(ImmutableTable.of(), ArbitraryInstances.get(Table.class));
        assertEquals(ImmutableTable.of(), ArbitraryInstances.get(ImmutableTable.class));
        assertTrue(ArbitraryInstances.get(RowSortedTable.class).isEmpty());
        assertEquals(ImmutableBiMap.of(), ArbitraryInstances.get(BiMap.class));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ForwardingTableTest.java

                    return wrap((Table<?, ?, ?>) delegate);
                  }
                });
      }
    
      public void testEquals() {
        Table<Integer, Integer, String> table1 = ImmutableTable.of(1, 1, "one");
        Table<Integer, Integer, String> table2 = ImmutableTable.of(2, 2, "two");
        new EqualsTester()
            .addEqualityGroup(table1, wrap(table1), wrap(table1))
            .addEqualityGroup(table2, wrap(table2))
            .testEquals();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/HashingTest.java

      private static final String TQBFJOTLDP = "The quick brown fox jumps over the lazy dog.";
    
      private static final ImmutableTable<HashFunction, String, String> KNOWN_HASHES =
          ImmutableTable.<HashFunction, String, String>builder()
              .put(Hashing.adler32(), "", "01000000")
              .put(Hashing.adler32(), TQBFJOTLD, "da0fdc5b")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (2)
  6. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

            if (contents.isEmpty()) {
              return ImmutableTable.of();
            } else {
              return ArrayTable.create(contents);
            }
          }
        },
        ImmutableTableImpl {
          @Override
          <R extends Comparable<R>, C extends Comparable<C>, V> Table<R, C, V> create(
              Table<R, C, V> contents) {
            return ImmutableTable.copyOf(contents);
          }
        };
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Tables.java

       *
       * <p>If multiple input elements map to the same row and column, an {@code IllegalStateException}
       * is thrown when the collection operation is performed.
       *
       * <p>To collect to an {@link ImmutableTable}, use {@link ImmutableTable#toImmutableTable}.
       *
       * @since 33.2.0 (available since 21.0 in guava-jre)
       */
      @IgnoreJRERequirement // Users will use this only if they're already using streams.
      public static <
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/RegularImmutableTable.java

    import java.util.List;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An implementation of {@link ImmutableTable} holding an arbitrary number of cells.
     *
     * @author Gregory Kick
     */
    @GwtCompatible
    abstract class RegularImmutableTable<R, C, V> extends ImmutableTable<R, C, V> {
      RegularImmutableTable() {}
    
      abstract Cell<R, C, V> getCell(int iterationIndex);
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Apr 08 13:05:15 UTC 2025
    - 7K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertTrue(ArbitraryInstances.get(SortedSetMultimap.class).isEmpty());
        assertEquals(ImmutableTable.of(), ArbitraryInstances.get(Table.class));
        assertEquals(ImmutableTable.of(), ArbitraryInstances.get(ImmutableTable.class));
        assertTrue(ArbitraryInstances.get(RowSortedTable.class).isEmpty());
        assertEquals(ImmutableBiMap.of(), ArbitraryInstances.get(BiMap.class));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(BiMap.class, ImmutableBiMap.of())
              .put(ImmutableBiMap.class, ImmutableBiMap.of())
              .put(Table.class, ImmutableTable.of())
              .put(ImmutableTable.class, ImmutableTable.of())
              .put(RowSortedTable.class, Tables.unmodifiableRowSortedTable(TreeBasedTable.create()))
              .put(ClassToInstanceMap.class, ImmutableClassToInstanceMap.builder().build())
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 21.4K bytes
    - Viewed (0)
Back to top