Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 2,345 for add (0.06 sec)

  1. android/guava-tests/test/com/google/common/io/CloserTest.java

          return Objects.hashCode(closeable, thrown, suppressed);
        }
    
        @Override
        public String toString() {
          return MoreObjects.toStringHelper(this)
              .add("closeable", closeable)
              .add("thrown", thrown)
              .add("suppressed", suppressed)
              .toString();
        }
      }
    
      private static class TestCloseable implements Closeable {
    
        private final Throwable throwOnClose;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/DuplicateHostHelper.java

            this.duplicateHostList = duplicateHostList;
        }
    
        public void add(final DuplicateHost duplicateHost) {
            if (duplicateHostList == null) {
                duplicateHostList = new ArrayList<>();
            }
            duplicateHostList.add(duplicateHost);
        }
    
        public String convert(final String url) {
            if (duplicateHostList == null) {
                init();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/MultimapForEachTester.java

        List<Entry<K, V>> entries = new ArrayList<>();
        multimap().forEach((k, v) -> entries.add(mapEntry(k, v)));
        assertEqualIgnoringOrder(getSampleElements(), multimap().entries());
      }
    
      @CollectionFeature.Require(KNOWN_ORDER)
      public void testForEachOrder() {
        List<Entry<K, V>> entries = new ArrayList<>();
        multimap().forEach((k, v) -> entries.add(mapEntry(k, v)));
        assertEqualIgnoringOrder(getSampleElements(), multimap().entries());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Queues.java

       * numElements} elements are not available, it will wait for them up to the specified timeout.
       *
       * @param q the blocking queue to be drained
       * @param buffer where to add the transferred elements
       * @param numElements the number of elements to be waited for
       * @param timeout how long to wait before giving up
       * @return the number of elements transferred
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/TreeMultiset.java

       * {@code ClassCastException} for any elements {@code e1} and {@code e2} in the multiset. If the
       * user attempts to add an element to the multiset that violates this constraint (for example, the
       * user attempts to add a string element to a set whose elements are integers), the {@code
       * add(Object)} call will throw a {@code ClassCastException}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSortedSet.java

         * already contains {@code element}, then {@code add} has no effect. (only the previously added
         * element is retained).
         *
         * @param element the element to add
         * @return this {@code Builder} object
         * @throws NullPointerException if {@code element} is null
         */
        @CanIgnoreReturnValue
        @Override
        public Builder<E> add(E element) {
          checkNotNull(element);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/CacheStats.java

      }
    
      @Override
      public String toString() {
        return MoreObjects.toStringHelper(this)
            .add("hitCount", hitCount)
            .add("missCount", missCount)
            .add("loadSuccessCount", loadSuccessCount)
            .add("loadExceptionCount", loadExceptionCount)
            .add("totalLoadTime", totalLoadTime)
            .add("evictionCount", evictionCount)
            .toString();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/CacheStats.java

      }
    
      @Override
      public String toString() {
        return MoreObjects.toStringHelper(this)
            .add("hitCount", hitCount)
            .add("missCount", missCount)
            .add("loadSuccessCount", loadSuccessCount)
            .add("loadExceptionCount", loadExceptionCount)
            .add("totalLoadTime", totalLoadTime)
            .add("evictionCount", evictionCount)
            .toString();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java

                            .actionGet(settings.getIndicesTimeout());
                } catch (final IllegalArgumentException e) {
                    undefinedAnalyzerSet.add(readingAnalyzer);
                }
    
                final String readingTermAnalyzer = getReadingTermAnalyzerName("", lang);
                try {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                                // we don't add it or its children, just allow the update of the version and artifactScope
                                if (node.isChildOfRootNode() || !artifact.isOptional()) {
                                    artifact.setDependencyTrail(node.getDependencyTrail());
    
                                    set.add(node);
    
                                    // This is required right now.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 36.7K bytes
    - Viewed (0)
Back to top