- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 299 for addable (0.12 sec)
-
android/guava-tests/test/com/google/common/collect/MapsTest.java
.containsExactly(mapEntry("one", 3), mapEntry("two", 3), mapEntry("three", 5)) .inOrder(); } public void testAsMapReadsThrough() { Set<String> strings = new LinkedHashSet<>(); Collections.addAll(strings, "one", "two", "three"); Map<String, Integer> map = Maps.asMap(strings, LENGTH_FUNCTION); assertEquals(ImmutableMap.of("one", 3, "two", 3, "three", 5), map); assertThat(map.get("four")).isNull();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 22:56:33 UTC 2025 - 62.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt
val expectedEvents2 = mutableListOf<String>().apply { add("CallStart") if (connectionType != H2) { addAll(listOf("ConnectStart", "ConnectEnd")) } addAll(listOf("ConnectionAcquired", "ConnectionReleased", "CallEnd")) } assertThat(events2).isEqualTo(expectedEvents2) } private fun isConnectionEvent(it: CallEvent?) =Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/CaseInsensitiveSet.java
* * @param c the collection to copy from */ public CaseInsensitiveSet(final Collection<String> c) { map = new CaseInsensitiveMap<>(Math.max((int) (c.size() / .75f) + 1, 16)); addAll(c); } /** * Creates a {@link CaseInsensitiveSet}. * * @param initialCapacity the initial capacity */ public CaseInsensitiveSet(final int initialCapacity) {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractBehavior.java
return parent.containsAll(c); } public boolean addAll(final Collection<? extends E> c) { return parent.addAll(c); } public boolean addAll(final int index, final Collection<? extends E> c) { return parent.addAll(index, c); } public boolean removeAll(final Collection<?> c) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 27 07:01:25 UTC 2025 - 26.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
assertSame(STRING_LENGTH, set.comparator()); } public void testCopyOf_sortedSetIterable() { SortedSet<String> input = Sets.newTreeSet(STRING_LENGTH); Collections.addAll(input, "in", "the", "quick", "jumped", "over", "a"); SortedSet<String> set = copyOf(input); assertThat(set).containsExactly("a", "in", "jumped", "over", "quick", "the").inOrder(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 46.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SetViewTest.java
protected Set<String> create(String[] elements) { Set<String> difference = newHashSet(elements); Set<String> set = newHashSet(samples()); set.addAll(difference); Set<String> subset = newHashSet(samples()); subset.removeAll(difference); return difference(set, subset); } })
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java
multiset = ConcurrentHashMultiset.create(map); multiset.addAll(ImmutableList.of("a", "a", "b", "c", "d", "b")); reserializeAndAssert(multiset); } public void testSerializationWithMapMaker3() { ConcurrentMap<String, AtomicInteger> map = new MapMaker().makeMap(); multiset = ConcurrentHashMultiset.create(map); multiset.addAll(ImmutableList.of("a", "a", "b", "c", "d", "b"));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Dec 08 22:42:14 UTC 2025 - 16.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FluentIterableTest.java
} public void testSkip_structurallyModifiedSkipSome() throws Exception { Collection<String> set = new LinkedHashSet<>(); Collections.addAll(set, "a", "b", "c"); FluentIterable<String> tail = FluentIterable.from(set).skip(1); set.remove("b"); set.addAll(Lists.newArrayList("X", "Y", "Z")); assertThat(tail).containsExactly("c", "X", "Y", "Z").inOrder(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/LinkedHashMultiset.java
*/ public static <E extends @Nullable Object> LinkedHashMultiset<E> create( Iterable<? extends E> elements) { LinkedHashMultiset<E> multiset = create(Multisets.inferDistinctElements(elements)); Iterables.addAll(multiset, elements); return multiset; } LinkedHashMultiset(int distinctElements) { super(distinctElements); } @Override ObjectCountHashMap<E> newBackingMap(int distinctElements) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/DuplicateHostHelper.java
duplicateHostList = new ArrayList<>(); } try { final DuplicateHostService duplicateHostService = ComponentUtil.getComponent(DuplicateHostService.class); duplicateHostList.addAll(duplicateHostService.getDuplicateHostList()); } catch (final AutoBindingFailureException e) { logger.warn("DuplicateHostService is not found.", e); } } /**
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 4K bytes - Viewed (0)