- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 996 for useEmpty (0.05 seconds)
-
android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java
ExampleClassUnderTest.logger.removeHandler(handler); } }); } public void test() throws Exception { assertTrue(handler.getStoredLogRecords().isEmpty()); ExampleClassUnderTest.foo(); LogRecord record = handler.getStoredLogRecords().get(0); assertEquals(Level.INFO, record.getLevel()); assertEquals("message", record.getMessage());
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 2.9K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableList.java
return delegateList().containsAll(targets); } @Override public int size() { return delegateList().size(); } @Override public boolean isEmpty() { return delegateList().isEmpty(); } @Override public <T extends @Nullable Object> T[] toArray(T[] other) { return delegateList().toArray(other); } @Override public String toString() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 2.5K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/MarkdownExtractor.java
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sun Nov 23 03:46:53 GMT 2025 - 8.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
assertThat(ClassPath.getClassPathFromManifest(new File("some.jar"), null)).isEmpty(); } public void testGetClassPathFromManifest_noClassPath() throws IOException { File jarFile = new File("base.jar"); assertThat(ClassPath.getClassPathFromManifest(jarFile, manifest(""))).isEmpty(); } public void testGetClassPathFromManifest_emptyClassPath() throws IOException {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 21:00:51 GMT 2025 - 23K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRule.groovy
newInterfaces.keySet().removeAll(oldInterfaces.keySet()) if (newInterfaces.isEmpty()) { return null } List<String> changes = filterChangesToReport(newClass, newInterfaces) if (changes.isEmpty()) { return null } return acceptOrReject(c, changes, Violation.error(c, " introduces internal or incubating interfaces"))Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Oct 06 19:15:15 GMT 2022 - 2.8K bytes - Click Count (0) -
android/guava/src/com/google/common/base/MoreObjects.java
} private static boolean isEmpty(Object value) { // Put types estimated to be the most frequent first. if (value instanceof CharSequence) { return ((CharSequence) value).length() == 0; } else if (value instanceof Collection) { return ((Collection<?>) value).isEmpty(); } else if (value instanceof Map) { return ((Map<?, ?>) value).isEmpty();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 16.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java
.createTestSuite()); return suite; } public void testCreation_noArgs() { Multiset<String> multiset = ImmutableSortedMultiset.of(); assertTrue(multiset.isEmpty()); } public void testCreation_oneElement() { Multiset<String> multiset = ImmutableSortedMultiset.of("a"); assertEquals(HashMultiset.create(asList("a")), multiset); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 19.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java
String parameterForImplementation = parameter.getImplementation(); if ((attributeForImplementation == null || attributeForImplementation.isEmpty()) && ((parameterForImplementation != null) && !parameterForImplementation.isEmpty())) { attributes.put("implementation", parameter.getImplementation()); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Mar 25 09:45:07 GMT 2025 - 26.7K bytes - Click Count (0) -
internal/event/config.go
Name string `xml:"Name"` Value string `xml:"Value"` } func (filter FilterRule) isEmpty() bool { return filter.Name == "" && filter.Value == "" } // MarshalXML implements a custom marshaller to support `omitempty` feature. func (filter FilterRule) MarshalXML(e *xml.Encoder, start xml.StartElement) error { if filter.isEmpty() { return nil } type filterRuleWrapper FilterRule
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractEntity.java
} public void clearModifiedInfo() { __modifiedProperties.clear(); } public boolean hasModification() { return !__modifiedProperties.isEmpty(); } protected EntityModifiedProperties newModifiedProperties() { return new EntityModifiedProperties(); } protected void registerModifiedProperty(String propertyName) {Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 10.9K bytes - Click Count (0)