- Sort Score
- Num 10 results
- Language All
Results 461 - 470 of 1,484 for setA (0.06 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java
checkCanCreate(); String name = getName(); // Copy this set, so we can modify it. Set<Feature<?>> features = copyToSet(getFeatures()); @SuppressWarnings("rawtypes") // class literals List<Class<? extends AbstractTester>> testers = getTesters(); logger.fine(" Testing: " + name); // Split out all the specified sizes. Set<Feature<?>> sizesToTest = Helpers.copyToSet(CollectionSize.values());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 5.4K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Primitives.java
forward.put(key, value); backward.put(value, key); } /** * Returns an immutable set of all nine primitive types (including {@code void}). Note that a * simpler way to test whether a {@code Class} instance is a member of this set is to call {@link * Class#isPrimitive}. * * @since 3.0 */ public static Set<Class<?>> allPrimitiveTypes() { return PRIMITIVE_TO_WRAPPER_TYPE.keySet(); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 4.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/EmptyContiguousSet.java
} @Override public String toString() { return "[]"; } @Override public boolean equals(@Nullable Object object) { if (object instanceof Set) { Set<?> that = (Set<?>) object; return that.isEmpty(); } return false; } @GwtIncompatible // not used in GWT @Override boolean isHashCodeFast() { return true; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 4.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java
assertFalse(spy.wasExecuted); assertFalse(singleCallListener.wasCalled()); assertTrue(listenableFuture.isDone()); // We call AbstractFuture#set above. // #addListener() will run the listener immediately because the Future is // already finished (we explicitly set the result of it above). listenableFuture.addListener(singleCallListener, directExecutor()); assertThat(listenableFuture.get()).isEqualTo(DATA1);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 10K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/features/ConflictingRequirementsException.java
import com.google.common.annotations.J2ktIncompatible; import java.util.Set; /** * Thrown when requirements on a tester method or class conflict with each other. * * @author George van den Driessche */ @GwtCompatible public class ConflictingRequirementsException extends Exception { private final Set<Feature<?>> conflicts; private final Object source; public ConflictingRequirementsException(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 1.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/DocMapTest.java
docMap.put("key1", "value1"); docMap.put("key2", "value2"); docMap.put("key3", "value3"); Set<Map.Entry<String, Object>> entrySet = docMap.entrySet(); assertEquals(3, entrySet.size()); Set<Map.Entry<String, Object>> parentEntrySet = parentMap.entrySet(); assertEquals(parentEntrySet, entrySet); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 10.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableSortedSet.java
import java.util.Iterator; import java.util.NoSuchElementException; import java.util.Set; import java.util.Spliterator; import java.util.function.Consumer; import org.jspecify.annotations.Nullable; /** * An immutable sorted set with one or more elements. TODO(jlevy): Consider separate class for a * single-element sorted set. * * @author Jared Levy * @author Louis Wasserman */ @GwtCompatible
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 9K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java
cos.flush(); // Do NOT call getFile(), so done=false and close() will try to clean up // Delete the underlying file manually before close File file = cos.getFile(); // This sets done=true assertTrue(file.exists()); file.delete(); assertFalse(file.exists()); // ## Act & Assert ## // close() should not throw even though the file was already deleted
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 12:00:34 GMT 2026 - 11.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingMap.java
public void putAll(Map<? extends K, ? extends V> map) { delegate().putAll(map); } @Override public Set<K> keySet() { return delegate().keySet(); } @Override public Collection<V> values() { return delegate().values(); } @Override public Set<Entry<K, V>> entrySet() { return delegate().entrySet(); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 9.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 12.4K bytes - Click Count (0)