- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 323 for usable (0.05 seconds)
-
guava/src/com/google/common/collect/RegularImmutableMap.java
/** Makes an entry usable internally by a new ImmutableMap. */ static <K, V> ImmutableMapEntry<K, V> makeImmutable(Entry<K, V> entry) { return makeImmutable(entry, entry.getKey(), entry.getValue()); } private RegularImmutableMap( Entry<K, V>[] entries, @Nullable ImmutableMapEntry<K, V> @Nullable [] table, int mask) { this.entries = entries; this.table = table; this.mask = mask; } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 15.7K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/PredecessorsFunction.java
* algorithms should document their behavior in the presence of duplicates. * * <p>The elements of the returned {@code Iterable} must each be: * * <ul> * <li>Non-null * <li>Usable as {@code Map} keys (see the Guava User Guide's section on <a * href="https://github.com/google/guava/wiki/GraphsExplained#graph-elements-nodes-and-edges"> * graph elements</a> for details) * </ul> *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 4K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/SuccessorsFunction.java
* algorithms should document their behavior in the presence of duplicates. * * <p>The elements of the returned {@code Iterable} must each be: * * <ul> * <li>Non-null * <li>Usable as {@code Map} keys (see the Guava User Guide's section on <a * href="https://github.com/google/guava/wiki/GraphsExplained#graph-elements-nodes-and-edges"> * graph elements</a> for details) * </ul> *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 4.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java
assertThat(expected).hasMessageThat().containsMatch("1|2"); } // TODO(b/172823566): Use mainline testToImmutableBiMap once CollectorTester is usable to java7. public void testToImmutableBiMap_java7_combine() { ImmutableBiMap.Builder<String, Integer> zis = ImmutableBiMap.<String, Integer>builder().put("one", 1);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 21.4K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt
if (name != null) path.removeAt(path.size - 1) } } /** * Execute [block] with a new namespace for type hints. Type hints from the enclosing type are no * longer usable by the current type's members. */ fun <T> withTypeHint(block: () -> T): T { typeHintStack.add(null) try { return block() } finally { typeHintStack.removeAt(typeHintStack.size - 1)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 10.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java
builder.add("a"); assertEquals(1, builder.size); builder.add("b", "c", "d"); assertEquals(4, builder.size); Object[] table = builder.hashTable; assertNotNull(table); assertSame(table, ((RegularImmutableSet<String>) builder.build()).table); } @GwtIncompatible // Builder impl public void testPresizedBuilderForceCopy() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 14.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
assertThat(set.comparator()).isEqualTo(STRING_LENGTH); } // TODO(b/172823566): Use mainline testToImmutableSortedSet once CollectorTester is usable. public void testToImmutableSortedSet_java7() { // Note that a Collector should generally enforce consistent comparator between builders ImmutableSortedSet.Builder<String> zis =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 46.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java
NullPointerException.class, () -> ImmutableListMultimap.copyOf((ArrayListMultimap<String, Integer>) input)); } // TODO(b/172823566): Use mainline testToImmutableListMultimap once CollectorTester is usable. public void testToImmutableListMultimap_java7_combine() { ImmutableListMultimap.Builder<String, Integer> zis = ImmutableListMultimap.<String, Integer>builder().put("a", 1).put("b", 2);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 24.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListTest.java
NullPointerException.class, () -> ImmutableList.sortedCopyOf(String.CASE_INSENSITIVE_ORDER, (Collection<String>) c)); } // TODO(b/172823566): Use mainline testToImmutableList once CollectorTester is usable to java7. public void testToImmutableList_java7_combine() { ImmutableList.Builder<String> zis = ImmutableList.<String>builder().add("a", "b");Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 24.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
// fail(), but with the JUnit-supplied message. assertEquals("Started with " + startedWith, expected, actual); } } // J2kt cannot translate the Comparable rawtype in a usable way (it becomes Comparable<Object> // but types are typically only Comparable to themselves). @SuppressWarnings({"rawtypes", "unchecked"}) private static MinMaxPriorityQueue.Builder<Comparable<?>> rawtypeToWildcard(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 36.2K bytes - Click Count (0)