- Sort Score
- Result 10 results
- Languages All
Results 291 - 300 of 369 for addAll (0.06 sec)
-
guava/src/com/google/common/collect/Synchronized.java
@Override public boolean add(E e) { synchronized (mutex) { return delegate().add(e); } } @Override public boolean addAll(Collection<? extends E> c) { synchronized (mutex) { return delegate().addAll(c); } } @Override public void clear() { synchronized (mutex) { delegate().clear(); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 57.2K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/SubscriberRegistry.java
CopyOnWriteArraySet<Subscriber> newSet = new CopyOnWriteArraySet<>(); eventSubscribers = MoreObjects.firstNonNull(subscribers.putIfAbsent(eventType, newSet), newSet); } eventSubscribers.addAll(eventMethodsInListener); } } /** Unregisters all subscribers on the given listener object. */ void unregister(Object listener) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 15:16:45 UTC 2024 - 10.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java
@CanIgnoreReturnValue public B suppressing(Method... methods) { return suppressing(asList(methods)); } @CanIgnoreReturnValue public B suppressing(Collection<Method> methods) { suppressedTests.addAll(methods); return self(); } public Set<Method> getSuppressedTests() { return suppressedTests; } private static final Logger logger =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 10.4K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
} private static TestSuite wrappedHashMapTests( WrappedHashMapGenerator generator, String name, Feature<?>... features) { List<Feature<?>> featuresList = Lists.newArrayList(features); Collections.addAll( featuresList, MapFeature.GENERAL_PURPOSE, CollectionFeature.SUPPORTS_ITERATOR_REMOVE, CollectionSize.ANY); return MapTestSuiteBuilder.using(generator) .named(name)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 19 19:24:36 UTC 2023 - 11.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 11.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FluentIterable.java
return Iterables.<E>toArray(getDelegate(), type); } /** * Copies all the elements from this fluent iterable to {@code collection}. This is equivalent to * calling {@code Iterables.addAll(collection, this)}. * * <p><b>{@code Stream} equivalent:</b> {@code stream.forEachOrdered(collection::add)} or {@code * stream.forEach(collection::add)}. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 24 13:42:31 UTC 2024 - 35.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Headers.kt
value: String, ) = apply { headersCheckName(name) addLenient(name, value) } /** * Adds all headers from an existing collection. */ fun addAll(headers: Headers) = commonAddAll(headers) /** * Add a header with the specified name and formatted date. Does validation of header names and * value. */ fun add( name: String,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/Table.java
/** * Returns a set of all row key / column key / value triplets. Changes to the returned set will * update the underlying table, and vice versa. The cell set does not support the {@code add} or * {@code addAll} methods. * * @return set of table cells consisting of row key / column key / value triplets */ Set<Cell<R, C, V>> cellSet(); /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Jun 17 14:40:53 UTC 2023 - 10.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/EnumBiMapTest.java
Currency.FRANC, Country.SWITZERLAND); EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map); Set<Object> uniqueEntries = Sets.newIdentityHashSet(); uniqueEntries.addAll(bimap.entrySet()); assertEquals(3, uniqueEntries.size()); } @J2ktIncompatible @GwtIncompatible // serialization public void testSerializable() { SerializableTester.reserializeAndAssert(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 11.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java
C filtered = filter(createUnfiltered(contents), EVEN); C filteredToModify = filter(createUnfiltered(contents), EVEN); assertThrows(IllegalArgumentException.class, () -> filteredToModify.addAll(toAdd)); assertThat(filteredToModify).containsExactlyElementsIn(filtered); } } public void testAddToFilterFiltered() { for (List<Integer> contents : SAMPLE_INPUTS) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 13K bytes - Viewed (0)