Search Options

Results per page
Sort
Preferred Languages
Advance

Results 761 - 770 of 838 for useEmpty (0.21 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

        }
    
        protected String getResultDataBody(final String name, final List<String> values) {
            final StringBuilder buf = new StringBuilder();
            buf.append("<list>");
            if (values != null && !values.isEmpty()) {
                for (final String value : values) {
                    buf.append("<item>");
                    buf.append(trimSpace(XmlUtil.escapeXml(value)));
                    buf.append("</item>");
                }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Longs.java

       * @throws NullPointerException if {@code string} is {@code null}
       * @since 19.0
       */
      @CheckForNull
      public static Long tryParse(String string, int radix) {
        if (checkNotNull(string).isEmpty()) {
          return null;
        }
        if (radix < Character.MIN_RADIX || radix > Character.MAX_RADIX) {
          throw new IllegalArgumentException(
              "radix must be between MIN_RADIX and MAX_RADIX but was " + radix);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/Longs.java

       * @throws NullPointerException if {@code string} is {@code null}
       * @since 19.0
       */
      @CheckForNull
      public static Long tryParse(String string, int radix) {
        if (checkNotNull(string).isEmpty()) {
          return null;
        }
        if (radix < Character.MIN_RADIX || radix > Character.MAX_RADIX) {
          throw new IllegalArgumentException(
              "radix must be between MIN_RADIX and MAX_RADIX but was " + radix);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 29K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

      }
    
      private static <E> ImmutableSortedMultiset<E> copyOfSortedEntries(
          Comparator<? super E> comparator, Collection<Entry<E>> entries) {
        if (entries.isEmpty()) {
          return emptyMultiset(comparator);
        }
        ImmutableList.Builder<E> elementsBuilder = new ImmutableList.Builder<>(entries.size());
        long[] cumulativeCounts = new long[entries.size() + 1];
        int i = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterators.java

            if (iterator.hasNext()) {
              queue.add(Iterators.peekingIterator(iterator));
            }
          }
        }
    
        @Override
        public boolean hasNext() {
          return !queue.isEmpty();
        }
    
        @Override
        @ParametricNullness
        public T next() {
          PeekingIterator<T> nextIter = queue.remove();
          T next = nextIter.next();
          if (nextIter.hasNext()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  6. cmd/generic-handlers.go

    			} else {
    				writeErrorResponse(r.Context(), w, toAPIError(r.Context(), err), r.URL)
    			}
    			return
    		}
    		if globalDomainIPs.Intersection(set.CreateStringSet(getHostsSlice(sr)...)).IsEmpty() {
    			r.URL.Scheme = "http"
    			if globalIsTLS {
    				r.URL.Scheme = "https"
    			}
    			r.URL.Host = getHostFromSrv(sr)
    			// Make sure we remove any existing headers before
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java

            flushAttributes();
            return doAppendEscapeSequence(command, options);
        }
    
        private void flushAttributes() {
            if (attributeOptions.isEmpty()) {
                return;
            }
            if (attributeOptions.size() == 1 && attributeOptions.get(0) == 0) {
                builder.append(FIRST_ESC_CHAR);
                builder.append(SECOND_ESC_CHAR);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

        ImmutableList<String> result = builder.build();
    
        /*
         * Maybe it rejects all elements, or maybe it adds "a" before failing.
         * Either way is fine with us.
         */
        if (result.isEmpty()) {
          return;
        }
        assertTrue(ImmutableList.of("a").equals(result));
        assertEquals(1, result.size());
      }
    
      public void testBuilderAddCollectionHandlesNulls() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Cache.kt

         */
        private fun varyHeaders(
          requestHeaders: Headers,
          responseHeaders: Headers,
        ): Headers {
          val varyFields = responseHeaders.varyFields()
          if (varyFields.isEmpty()) return EMPTY_HEADERS
    
          val result = Headers.Builder()
          for (i in 0 until requestHeaders.size) {
            val fieldName = requestHeaders.name(i)
            if (fieldName in varyFields) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/PreconditionsTest.java

        assertThat(throwable).isInstanceOf(clazz);
        if (params.length == 1) {
          assertThat(throwable).hasMessageThat().isNull();
        } else if (params.length == 2) {
          assertThat(throwable).hasMessageThat().isEmpty();
        } else {
          assertThat(throwable)
              .hasMessageThat()
              .isEqualTo(Strings.lenientFormat("", Arrays.copyOfRange(params, 2, params.length)));
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top