Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 838 for useEmpty (0.18 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

      }
    
      public void testEmptyRangeSubMultiset(SortedMultiset<E> multiset) {
        assertTrue(multiset.isEmpty());
        assertEquals(0, multiset.size());
        assertEquals(0, multiset.toArray().length);
        assertTrue(multiset.entrySet().isEmpty());
        assertFalse(multiset.iterator().hasNext());
        assertEquals(0, multiset.entrySet().size());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/FakeSSLSession.kt

        throw UnsupportedOperationException()
      }
    
      @Suppress("UNCHECKED_CAST")
      @Throws(SSLPeerUnverifiedException::class)
      override fun getPeerCertificates(): Array<Certificate> {
        return if (certificates.isEmpty()) {
          throw SSLPeerUnverifiedException("peer not authenticated")
        } else {
          certificates as Array<Certificate>
        }
      }
    
      @Throws(
        SSLPeerUnverifiedException::class,
      )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/CollectionClearTester.java

      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testClear() {
        collection.clear();
        assertTrue("After clear(), a collection should be empty.", collection.isEmpty());
        assertEquals(0, collection.size());
        assertFalse(collection.iterator().hasNext());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorFactory.java

                logger.debug("Loaded {} : {}", key, extractor.getClass().getName());
            }
        }
    
        public void addExtractor(final List<String> keyList, final Extractor extractor) {
            if (keyList == null || keyList.isEmpty()) {
                throw new CrawlerSystemException("The key list is empty.");
            }
            for (final String key : keyList) {
                addExtractor(key, extractor);
            }
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Tue Jun 18 05:49:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterables.java

       *
       * @return {@code true} if the iterable contains no elements
       */
      public static boolean isEmpty(Iterable<?> iterable) {
        if (iterable instanceof Collection) {
          return ((Collection<?>) iterable).isEmpty();
        }
        return !iterable.iterator().hasNext();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/convert/BigDecimalConversionUtil.java

                }
                return new BigDecimal(Long.toString(((java.util.Date) o).getTime()));
            } else if (o instanceof String) {
                final String s = (String) o;
                if (StringUtil.isEmpty(s)) {
                    return null;
                }
                return normalize(new BigDecimal(s));
            } else {
                return normalize(new BigDecimal(o.toString()));
            }
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactInstaller.java

         *             {@code localRepository} is {@code null} or {@code localRepository} is not a directory
         *             or parameter {@code mavenArtifacts} is {@code null} or
         *             {@code mavenArtifacts.isEmpty()} is {@code true}.
         */
        default void install(Session session, Collection<ProducedArtifact> artifacts) {
            install(ArtifactInstallerRequest.build(session, artifacts));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/common/performance-test-extensions.kt

        arch: Arch = Arch.AMD64,
        testJavaVersion: String = os.perfTestJavaVersion.major.toString(),
        testJavaVendor: String = os.perfTestJavaVendor.toString(),
    ) = listOf(
        "$task${if (extraParameters.isEmpty()) "" else " $extraParameters"}",
        "-PperformanceBaselines=$baselines",
        "-PtestJavaVersion=$testJavaVersion",
        "-PtestJavaVendor=$testJavaVendor",
        "-PautoDownloadAndroidStudio=true",
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jun 03 03:39:03 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/-CacheControlCommon.kt

            if (onlyIfCached) append("only-if-cached, ")
            if (noTransform) append("no-transform, ")
            if (immutable) append("immutable, ")
            if (isEmpty()) return ""
            deleteRange(length - 2, length)
          }
        headerValue = result
      }
      return result
    }
    
    internal fun Long.commonClampToInt(): Int {
      return when {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

        }
    
        private static <T> List<T> copyList(List<T> original) {
            List<T> copy = null;
    
            if (original != null) {
                copy = new ArrayList<>();
    
                if (!original.isEmpty()) {
                    copy.addAll(original);
                }
            }
    
            return copy;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top