- Sort Score
- Num 10 results
- Language All
Results 591 - 600 of 790 for acceptX (0.15 seconds)
-
android/guava/src/com/google/common/base/Optional.java
* Number value = first.or(0.5); // fine * } * * <p><b>Comparison to {@code java.util.Optional}:</b> this method is similar to Java 8's {@code * Optional.orElse}, but will not accept {@code null} as a {@code defaultValue} ({@link #orNull} * must be used instead). As a result, the value returned by this method is guaranteed non-null, * which is not the case for the {@code java.util} equivalent. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 15.4K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Verify.java
* Preconditions.checkNotNull. * * (verifyNotNull has many fewer "problem" callers, so we could try to be stricter. On the other * hand, verifyNotNull arguably has more reason to accept nullable arguments in the first * place....) */ /** * Ensures that {@code reference} is non-null, throwing a {@code VerifyException} with a default * message otherwise. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 29 17:36:00 GMT 2025 - 18.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/LinkedHashMultimap.java
@Override public void forEach(Consumer<? super V> action) { checkNotNull(action); for (ValueEntry<K, V> entry = firstEntry; entry != null; entry = entry.successorInValueSet) { action.accept(entry.getValue()); } } @Override public int size() { return size; } @Override public boolean contains(@Nullable Object o) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 20K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/BwcVersions.java
).stream() .map(version -> new UnreleasedVersionInfo(version, getBranchFor(version), getGradleProjectPathFor(version))) .collect(Collectors.toList()); collect.forEach(consumer::accept); } private String getGradleProjectPathFor(Version version) { // We have Gradle projects set up to check out and build unreleased versions based on the our branching
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 16.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java
} @Override public E aboveSamplesGreater() { throw new UnsupportedOperationException(); } } /* * TODO(cpovirk): surely we can find a less ugly solution than a class that accepts 3 parameters, * exposes as many getters, does work in the constructor, and has both a superclass and a subclass */ public static class SortedMapSubmapTestMapGenerator<Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 30 16:59:10 GMT 2025 - 18.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java
} @Test public void test_normalizeCanonicalUrl_withBrackets() throws Exception { final FessXpathTransformer transformer = new FessXpathTransformer(); // topic/2732: java.net.URL accepts brackets in paths unlike java.net.URI final String value = transformer.normalizeCanonicalUrl("http://example.com/", "/path/[id]/page"); assertEquals("http://example.com/path/[id]/page", value); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 62.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java
capturedSessionId = sessionId; capturedCmdList = new ArrayList<>(cmdList); ProcessBuilder pb = new ProcessBuilder(cmdList); pbConsumer.accept(pb); capturedDirectory = pb.directory(); capturedEnvironment = new HashMap<>(pb.environment()); return new TestJobProcess(exitValue, processOutput); } }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 19K bytes - Click Count (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
void testConstructorWithNullDelegate() { // When & Then assertDoesNotThrow(() -> { new DelegatingConfiguration(null); }, "Constructor should accept null delegate (though it would cause NPE on use)"); } @Test @DisplayName("Constructor should store delegate reference") void testConstructorStoresDelegate() { // Given
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableMap.java
* * 1. We'll want to use something like @PolyNull once we can make that work for the various * platforms we target. * * 2. Kotlin's Map type has a getOrDefault method that accepts and returns a "plain V," in * contrast to the "V?" type that we're using. As a result, Kotlin sees a conflict between the * nullness annotations in ImmutableMap and those in its own Map type. In response, it considersCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 44.7K bytes - Click Count (0) -
src/test/java/jcifs/netbios/LmhostsTest.java
assertNotNull(validHost); // Invalid entries should not be found or may have incorrect parsing // Note: The actual Lmhosts parser may accept "192.168.1" and parse it differently // than expected, so we're not asserting null for HOST1 } @Test void testPopulateWithLongHostname() throws Exception {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.2K bytes - Click Count (0)