- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 838 for useEmpty (0.12 sec)
-
guava/src/com/google/common/collect/Multisets.java
public boolean contains(@CheckForNull Object element) { return multiset1.contains(element) || multiset2.contains(element); } @Override public boolean isEmpty() { return multiset1.isEmpty() && multiset2.isEmpty(); } @Override public int count(@CheckForNull Object element) { return max(multiset1.count(element), multiset2.count(element)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 41.5K bytes - Viewed (0) -
internal/bucket/lifecycle/and.go
ObjectSizeLessThan int64 `xml:"ObjectSizeLessThan,omitempty"` Prefix Prefix `xml:"Prefix,omitempty"` Tags []Tag `xml:"Tag,omitempty"` } // isEmpty returns true if Tags field is null func (a And) isEmpty() bool { return len(a.Tags) == 0 && !a.Prefix.set && a.ObjectSizeGreaterThan == 0 && a.ObjectSizeLessThan == 0 } // Validate - validates the And field func (a And) Validate() error {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 2.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java
this.modelInterpolator = modelInterpolator; this.logger = logger; } public ModelInterpolationException run() { while (!interpolationTargets.isEmpty()) { Object obj = interpolationTargets.removeFirst(); try { traverseObjectWithParents(obj.getClass(), obj); } catch (ModelInterpolationException e) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 14.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java
assertFalse(multimap.containsValue(1)); assertFalse(multimap.containsEntry("foo", 1)); assertTrue(multimap.entries().isEmpty()); assertTrue(multimap.equals(ArrayListMultimap.create())); assertEquals(emptyList(), multimap.get("foo")); assertEquals(0, multimap.hashCode()); assertTrue(multimap.isEmpty()); assertEquals(HashMultiset.create(), multimap.keys()); assertEquals(emptySet(), multimap.keySet());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 23.8K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableCollection.java
public boolean containsAll(Collection<?> targets) { return delegate.containsAll(targets); } public int size() { return delegate.size(); } @Override public boolean isEmpty() { return delegate.isEmpty(); } @Override public Object[] toArray() { return delegate.toArray(); } @Override public <T extends @Nullable Object> T[] toArray(T[] other) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jan 23 18:43:40 UTC 2024 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java
cq.matchAll(); if (!idList.isEmpty()) { cf.not(subCf -> subCf.setCrawlingInfoId_InScope(idList)); } })); crawlingInfoBhv.queryDelete(cb2 -> cb2.query().filtered((cq, cf) -> { cq.matchAll(); if (!idList.isEmpty()) { cf.not(subCf -> subCf.setId_InScope(idList)); } }));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 13.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java
if (repo != null) { String id = repo.getId(); if (id == null || id.isEmpty()) { throw new InvalidRepositoryException("Repository identifier missing", ""); } String url = repo.getUrl(); if (url == null || url.isEmpty()) { throw new InvalidRepositoryException("URL missing for repository " + id, id); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 32.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/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) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 10.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt
val now = taskRunner.backend.nanoTime() var awaitTimeoutNanos = nextTcpConnectAtNanos - now var connectResult: ConnectResult? = null if (tcpConnectsInFlight.isEmpty() || awaitTimeoutNanos <= 0) { connectResult = launchTcpConnect() nextTcpConnectAtNanos = now + connectDelayNanos awaitTimeoutNanos = connectDelayNanos }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractMultiset.java
@ElementTypesAreNonnullByDefault abstract class AbstractMultiset<E extends @Nullable Object> extends AbstractCollection<E> implements Multiset<E> { // Query Operations @Override public boolean isEmpty() { return entrySet().isEmpty(); } @Override public boolean contains(@CheckForNull Object element) { return count(element) > 0; } // Modification Operations @CanIgnoreReturnValue @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 01 22:07:10 UTC 2021 - 6K bytes - Viewed (0)