- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 2,560 for void (0.02 seconds)
-
guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java
@MapFeature.Require(SUPPORTS_PUT) public void testIteratorSetValueAndRemove() { Iterator<Entry<K, V>> entryItr = getMap().entrySet().iterator(); while (entryItr.hasNext()) { Entry<K, V> entry = entryItr.next(); entry.setValue(e3().getValue()); entryItr.remove(); } assertTrue(getMap().isEmpty()); } public void testContainsEntryWithIncomparableKey() { try {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Dec 16 03:23:31 GMT 2025 - 7.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java
*/ @Override public final void awaitRunning() { delegate.awaitRunning(); } /** * @since 15.0 */ @Override public final void awaitRunning(long timeout, TimeUnit unit) throws TimeoutException { delegate.awaitRunning(timeout, unit); } /** * @since 15.0 */ @Override public final void awaitTerminated() { delegate.awaitTerminated();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 7.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java
@MapFeature.Require(ALLOWS_NULL_KEYS) @CollectionSize.Require(absent = ZERO) public void testCreateWithNullKeySupported() { initMapWithNullKey(); expectContents(createArrayWithNullKey()); } @MapFeature.Require(absent = ALLOWS_NULL_KEYS) @CollectionSize.Require(absent = ZERO) public void testCreateWithNullKeyUnsupported() { assertThrows(NullPointerException.class, () -> initMapWithNullKey()); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.6K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/internal/compat/interactivity/LegacyPlexusInteractivity.java
} return lines; } @Override public void write(String line) throws IOException { try { prompter.showMessage(line); } catch (org.apache.maven.api.services.PrompterException e) { throw new IOException("Unable to prompt", e); } } @Override public void writeLine(String line) throws IOException { try {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Apr 03 13:48:41 GMT 2025 - 5.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginArtifactsCache.java
} @Override public void flush() { cache.clear(); } protected static int pluginHashCode(Plugin plugin) { return CacheUtils.pluginHashCode(plugin); } protected static boolean pluginEquals(Plugin a, Plugin b) { return CacheUtils.pluginEquals(a, b); } @OverrideCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.9K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Nov 08 08:49:11 GMT 2024 - 17.2K bytes - Click Count (0) -
okhttp/src/jvmTest/java/okhttp3/CallJavaTest.java
public class CallJavaTest { @RegisterExtension OkHttpClientTestRule clientTestRule = new OkHttpClientTestRule(); private OkHttpClient client = clientTestRule.newClient(); @Test public void tagsSeededFromRequest() { Request request = new Request.Builder() .url(HttpUrl.get("https://square.com/")) .tag(Integer.class, 5) .tag(String.class, "hello") .build();Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Oct 26 14:54:46 GMT 2025 - 1.7K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/AccessHeaders.java
import java.io.IOException; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Response; public final class AccessHeaders { private final OkHttpClient client = new OkHttpClient(); public void run() throws Exception { Request request = new Request.Builder() .url("https://api.github.com/repos/square/okhttp/issues") .header("User-Agent", "OkHttp Headers.java")Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun May 22 01:29:42 GMT 2016 - 1.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/StandardImmutableUndirectedGraphTest.java
graphBuilder = GraphBuilder.undirected().allowsSelfLoops(allowsSelfLoops).immutable(); return graphBuilder.build(); } @Override final void addNode(Integer n) { graphBuilder.addNode(n); graph = graphBuilder.build(); } @Override final void putEdge(Integer n1, Integer n2) { graphBuilder.putEdge(n1, n2); graph = graphBuilder.build(); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.9K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy
return userData[key] } void putUserData(String key, Object value) { userData[key] = value } } ClassPool instanceScopedPool = new ClassPool() JApiClass apiClass = Stub(JApiClass) def setup() { instanceScopedPool.appendSystemPath() } void noViolation(def rule) { assert rule.maybeViolation(apiClass) == null
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Dec 30 10:14:25 GMT 2025 - 2K bytes - Click Count (0)