Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for ImmutableTable (0.11 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/RegularImmutableTable.java

    import java.util.List;
    import java.util.Set;
    import javax.annotation.CheckForNull;
    
    /**
     * An implementation of {@link ImmutableTable} holding an arbitrary number of cells.
     *
     * @author Gregory Kick
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    abstract class RegularImmutableTable<R, C, V> extends ImmutableTable<R, C, V> {
      RegularImmutableTable() {}
    
      abstract Cell<R, C, V> getCell(int iterationIndex);
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.2K 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 17:40:09 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  6. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  7. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Table.java

     * not be modifiable. When modification isn't supported, those methods will throw an {@link
     * UnsupportedOperationException}.
     *
     * <h3>Implementations</h3>
     *
     * <ul>
     *   <li>{@link ImmutableTable}
     *   <li>{@link HashBasedTable}
     *   <li>{@link TreeBasedTable}
     *   <li>{@link ArrayTable}
     *   <li>{@link Tables#newCustomTable Tables.newCustomTable}
     * </ul>
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  9. 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)
       */
      @SuppressWarnings("Java7ApiChecker")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

    import com.google.common.collect.ImmutableSortedMap;
    import com.google.common.collect.ImmutableSortedMultiset;
    import com.google.common.collect.ImmutableSortedSet;
    import com.google.common.collect.ImmutableTable;
    import com.google.common.collect.LinkedHashMultimap;
    import com.google.common.collect.LinkedHashMultiset;
    import com.google.common.collect.ListMultimap;
    import com.google.common.collect.Maps;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 18.4K bytes
    - Viewed (0)
Back to top