- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 838 for useEmpty (0.09 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java
} @MapFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(ONE) public void testSingletonMapPollFirst() { assertEquals(a, navigableMap.pollFirstEntry()); assertTrue(navigableMap.isEmpty()); } @CollectionSize.Require(ONE) public void testSingletonMapNearby() { assertNull(navigableMap.lowerEntry(k0())); assertNull(navigableMap.lowerKey(k0()));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/query/StoredLtrQueryBuilder.java
builder.field(STORE_NAME.getPreferredName(), storeName); } if (this.params != null && !this.params.isEmpty()) { builder.field(PARAMS.getPreferredName(), this.params); } if (activeFeatures != null && !activeFeatures.isEmpty()) { builder.field(ACTIVE_FEATURES.getPreferredName(), activeFeatures); } printBoostAndQueryName(builder);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 5.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/storage/ApiAdminStorageAction.java
return null; } // GET /api/admin/storage/download/{id}/ @Execute public StreamResponse get$download(final String id) { final PathInfo pi = convertToItem(id); if (StringUtil.isEmpty(pi.getName())) { throwValidationErrorApi(messages -> messages.addErrorsStorageFileNotFound(GLOBAL)); } return asStream(pi.getName()).contentTypeOctetStream().stream(out -> { try {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/ArrayUtil.java
* * @param <T> * 配列の要素の型 * @param arrays * 配列 * @return 配列が{@literal null}または長さが0の場合は{@literal true} */ public static <T> boolean isEmpty(final T[] arrays) { return arrays == null || arrays.length == 0; } /** * 配列が{@literal null}でも長さが0でもない場合は{@literal true}を返します。 * * @param <T> * 配列の要素の型
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 42.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java
assertThat(network.edgesConnecting("A", "A")).containsExactly("AA"); assertThat(network.edgesConnecting("A", "B")).containsExactly("AB"); assertThat(network.edgesConnecting("B", "A")).isEmpty(); } @Test public void edgesConnecting_undirected() { MutableNetwork<String, String> mutableNetwork = NetworkBuilder.undirected().allowsSelfLoops(true).build();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sun May 05 18:02:35 UTC 2019 - 5.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedTableTest.java
} @Override public int size() { assertTrue(Thread.holdsLock(mutex)); return delegate.size(); } @Override public boolean isEmpty() { assertTrue(Thread.holdsLock(mutex)); return delegate.isEmpty(); } @Override public boolean containsValue(@Nullable Object value) { assertTrue(Thread.holdsLock(mutex)); return delegate.containsValue(value);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 06 17:23:04 UTC 2024 - 4.6K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/AsyncRequestBody.kt
fun takeSink(): BufferedSink { return requestBodySinks.poll(5, SECONDS) ?: throw AssertionError("no sink to take") } fun assertNoMoreSinks() { assertTrue(requestBodySinks.isEmpty()) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Dec 20 23:27:07 UTC 2023 - 1.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/outside/BaseSubscriberFinderTest.java
} @Subscribe public void subscriber(Object o) { subscriberEvents.add(o); } } public void testNonSubscriber() { assertThat(getSubscriber().nonSubscriberEvents).isEmpty(); } public void testSubscriber() { assertThat(getSubscriber().subscriberEvents).contains(EVENT); } @Override Subscriber createSubscriber() { return new Subscriber(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 08 21:35:40 UTC 2022 - 1.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/outside/BaseSubscriberFinderTest.java
} @Subscribe public void subscriber(Object o) { subscriberEvents.add(o); } } public void testNonSubscriber() { assertThat(getSubscriber().nonSubscriberEvents).isEmpty(); } public void testSubscriber() { assertThat(getSubscriber().subscriberEvents).contains(EVENT); } @Override Subscriber createSubscriber() { return new Subscriber(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 08 21:35:40 UTC 2022 - 1.6K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AcceptedRegressionsRulePostProcess.java
Set<ApiChange> seenApiChanges = (Set<ApiChange>) context.getUserData().get("seenApiChanges"); Set<ApiChange> left = new HashSet<>(acceptedApiChanges); left.removeAll(seenApiChanges); if (!left.isEmpty()) { String formattedLeft = CollectionUtils.join("\n", left); throw new RuntimeException("The following regressions are declared as accepted, but didn't match any rule:\n\n" + formattedLeft); }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Jun 09 08:16:49 UTC 2021 - 1.7K bytes - Viewed (0)