- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for ImmutableTable (0.09 sec)
-
android/guava/src/com/google/common/collect/ImmutableTable.java
* undocumented and subject to change. */ public static <R, C, V> ImmutableTable<R, C, V> copyOf( Table<? extends R, ? extends C, ? extends V> table) { if (table instanceof ImmutableTable) { @SuppressWarnings("unchecked") ImmutableTable<R, C, V> parameterizedTable = (ImmutableTable<R, C, V>) table; return parameterizedTable; } else { return copyOf(table.cellSet());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 17.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableTableTest.java
public void testBuilder_withImmutableCell() { ImmutableTable.Builder<Character, Integer, String> builder = new ImmutableTable.Builder<>(); assertEquals( ImmutableTable.of('a', 1, "foo"), builder.put(immutableCell('a', 1, "foo")).build()); } public void testBuilder_withImmutableCellAndNullContents() { ImmutableTable.Builder<Character, Integer, String> builder = new ImmutableTable.Builder<>(); assertThrows(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 18.5K bytes - Viewed (0) -
android/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 - 20.8K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
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)