Search Options

Results per page
Sort
Preferred Languages
Advance

Results 641 - 650 of 746 for IsEmpty (0.05 sec)

  1. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

      final Monitor monitor = new Monitor(true);
      private final Monitor.Guard notEmpty =
          new Monitor.Guard(monitor) {
            @Override
            public boolean isSatisfied() {
              return !q.isEmpty();
            }
          };
    
      /**
       * Creates a {@code MonitorBasedPriorityBlockingQueue} with the default initial capacity (11) that
       * orders its elements according to their {@linkplain Comparable natural ordering}.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.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 Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableMap.java

          for (int i = size - 1; i >= 0; i--) {
            if (!seen.add(entries[i].getKey())) {
              dups.set(i);
            }
          }
          if (dups.isEmpty()) {
            return null;
          }
          @SuppressWarnings({"rawtypes", "unchecked"})
          Entry<K, V>[] newEntries = new Entry[size - dups.cardinality()];
          for (int inI = 0, outI = 0; inI < size; inI++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 44.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Table.java

       */
      @Nullable V get(
          @CompatibleWith("R") @Nullable Object rowKey,
          @CompatibleWith("C") @Nullable Object columnKey);
    
      /** Returns {@code true} if the table contains no mappings. */
      boolean isEmpty();
    
      /** Returns the number of row key / column key / value mappings in the table. */
      int size();
    
      /**
       * Compares the specified object with this table for equality. Two tables are equal when their
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/ServerResponseValidator.java

         * @throws SmbException if path is invalid
         */
        public void validatePath(String path) throws SmbException {
            totalValidations.incrementAndGet();
    
            if (path == null || path.isEmpty()) {
                return; // Empty paths allowed
            }
    
            // Check overall path length
            if (path.length() > MAX_PATH_SIZE) {
                failedValidations.incrementAndGet();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

                            .prepareGetMappings(actualIndex)
                            .execute()
                            .actionGet(settings.getIndicesTimeout())
                            .getMappings()
                            .isEmpty();
                } catch (final IndexNotFoundException e) {
                    empty = true;
                    final CreateIndexResponse response = client.admin()
                            .indices()
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  7. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

      }
    
      @GwtIncompatible // Float.toString returns different value in GWT.
      public void testJoin() {
        assertThat(Floats.join(",", EMPTY)).isEmpty();
        assertThat(Floats.join(",", ARRAY1)).isEqualTo("1.0");
        assertThat(Floats.join(",", 1.0f, 2.0f)).isEqualTo("1.0,2.0");
        assertThat(Floats.join("", 1.0f, 2.0f, 3.0f)).isEqualTo("1.02.03.0");
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/FloatsTest.java

      }
    
      @GwtIncompatible // Float.toString returns different value in GWT.
      public void testJoin() {
        assertThat(Floats.join(",", EMPTY)).isEmpty();
        assertThat(Floats.join(",", ARRAY1)).isEqualTo("1.0");
        assertThat(Floats.join(",", 1.0f, 2.0f)).isEqualTo("1.0,2.0");
        assertThat(Floats.join("", 1.0f, 2.0f, 3.0f)).isEqualTo("1.02.03.0");
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

                    if (docId != null && docId.toString().length() > 0) {
                        docIdList.add(docId.toString());
                    }
                }
    
                if (!docIdList.isEmpty()) {
                    final Map<String, String[]> resultDocIdsCache = getResultDocIdsCache(session);
                    resultDocIdsCache.put(queryId, docIdList.toArray(new String[docIdList.size()]));
                }
            });
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.9K bytes
    - Viewed (0)
Back to top