- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 836 for IsEmpty (0.12 sec)
-
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) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingException.java
writer.print(problem.getSeverity()); writer.print("] "); writer.print(problem.getMessage()); String location = problem.getLocation(); if (!location.isEmpty()) { writer.print(" @ "); writer.println(location); } } return buffer.toString(); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsKeyTester.java
for (K k : multimap().keySet()) { assertTrue(multimap().containsKey(k)); } } public void testContainsKeyAgreesWithGet() { for (K k : sampleKeys()) { assertEquals(!multimap().get(k).isEmpty(), multimap().containsKey(k)); } } public void testContainsKeyAgreesWithAsMap() { for (K k : sampleKeys()) { assertEquals(multimap().containsKey(k), multimap().asMap().containsKey(k)); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 19:10:20 UTC 2024 - 3K bytes - Viewed (0)