Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 838 for useEmpty (0.08 sec)

  1. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

      }
    
      /** Returns an immutable array containing the given values, in order. */
      public static ImmutableDoubleArray copyOf(Collection<Double> values) {
        return values.isEmpty() ? EMPTY : new ImmutableDoubleArray(Doubles.toArray(values));
      }
    
      /**
       * Returns an immutable array containing the given values, in order.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 23K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableSetMultimap.java

          Multimap<? extends K, ? extends V> multimap,
          @CheckForNull Comparator<? super V> valueComparator) {
        checkNotNull(multimap); // eager for GWT
        if (multimap.isEmpty() && valueComparator == null) {
          return of();
        }
    
        if (multimap instanceof ImmutableSetMultimap) {
          @SuppressWarnings("unchecked") // safe since multimap is not writable
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

                            "List of phases differ in size: expected " + computed.size() + ", but received " + given.size()
                                    + (s1.isEmpty() ? "" : ", missing " + s1)
                                    + (s2.isEmpty() ? "" : ", unexpected " + s2));
                }
                return given;
            }
            return computed;
        }
    
        private static void addPhase(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionQuery.java

                String msg = "Cannot register null or empty query: name=" + name + " value=" + value;
                throw new InvalidQueryRegisteredException(msg);
            }
        }
    
        protected void checkEsInvalidQueryCollection(String name, Collection<?> values) {
            if (values == null || values.isEmpty()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractConditionQuery.java

                String msg = "Cannot register null or empty query: name=" + name + " value=" + value;
                throw new InvalidQueryRegisteredException(msg);
            }
        }
    
        protected void checkEsInvalidQueryCollection(String name, Collection<?> values) {
            if (values == null || values.isEmpty()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

        return null;
      }
    
      @CheckForNull
      public E ceiling(E e) {
        ImmutableSortedSet<E> set = tailSet(e, true);
        return !set.isEmpty() ? set.first() : null;
      }
    
      @CheckForNull
      public E floor(E e) {
        ImmutableSortedSet<E> set = headSet(e, true);
        return !set.isEmpty() ? set.last() : null;
      }
    
      public ImmutableSortedSet<E> headSet(E toElement, boolean inclusive) {
        checkNotNull(toElement);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 16:21:24 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapEntriesTester.java

        Iterator<Entry<K, V>> iterator = multimap().entries().iterator();
        assertEquals(mapEntry(k0(), v0()), iterator.next());
        iterator.remove();
        assertTrue(multimap().isEmpty());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testEntriesRemainValidAfterRemove() {
        Iterator<Entry<K, V>> iterator = multimap().entries().iterator();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/CartesianList.java

        ImmutableList.Builder<List<E>> axesBuilder = new ImmutableList.Builder<>(lists.size());
        for (List<? extends E> list : lists) {
          List<E> copy = ImmutableList.copyOf(list);
          if (copy.isEmpty()) {
            return ImmutableList.of();
          }
          axesBuilder.add(copy);
        }
        return new CartesianList<>(axesBuilder.build());
      }
    
      CartesianList(ImmutableList<List<E>> axes) {
        this.axes = axes;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java

                    }
                }
            }
    
            metadata.getVersioning().setSnapshotVersions(new ArrayList<>(versions.values()));
    
            // just carry-on as-is
            if (!recessive.getPlugins().isEmpty()) {
                metadata.setPlugins(new ArrayList<>(recessive.getPlugins()));
            }
        }
    
        private static int getBuildNumber(Metadata metadata) {
            int number = 0;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

        public void crawl(final String sessionId) {
            final List<DataConfig> configList = ComponentUtil.getCrawlingConfigHelper().getAllDataConfigList();
    
            if (configList.isEmpty()) {
                // nothing
                if (logger.isInfoEnabled()) {
                    logger.info("No crawling target data.");
                }
                return;
            }
    
            doCrawl(sessionId, configList);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top