Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 514 for addUrl (0.11 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

        assertEquals(HashMultiset.create(asList("a", "b", "b", "b", "c")), multiset);
      }
    
      public void testBuilderAddAllIterator() {
        Iterator<String> iterator = asList("a", "b", "a", "c").iterator();
        ImmutableMultiset<String> multiset =
            new ImmutableMultiset.Builder<String>().addAll(iterator).build();
        assertEquals(HashMultiset.create(asList("a", "b", "a", "c")), multiset);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableListTest.java

      }
    
      public void testBuilderAddAll_iterable() {
        List<String> a = asList("a", "b");
        List<String> b = asList("c", "d");
        ImmutableList<String> list = new ImmutableList.Builder<String>().addAll(a).addAll(b).build();
        assertEquals(asList("a", "b", "c", "d"), list);
        b.set(0, "f");
        assertEquals(asList("a", "b", "c", "d"), list);
      }
    
      public void testBuilderAddAll_iterator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

        emptyAccumulatorByAddAllEmptyPairedStats.addAll(emptyAccumulator.snapshot());
    
        oneValueAccumulator = new PairedStatsAccumulator();
        oneValueAccumulator.add(ONE_VALUE, OTHER_ONE_VALUE);
    
        oneValueAccumulatorByAddAllEmptyPairedStats = new PairedStatsAccumulator();
        oneValueAccumulatorByAddAllEmptyPairedStats.add(ONE_VALUE, OTHER_ONE_VALUE);
        oneValueAccumulatorByAddAllEmptyPairedStats.addAll(emptyAccumulator.snapshot());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 21:17:33 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/converter/ReadingConverterChain.java

                while ((s = queue.poll()) != null && convertedTexts.size() <= getMaxReadingNum()) {
                    final List<String> results = converter.convert(s, field, lang);
                    convertedTexts.addAll(results);
                }
                queue.addAll(convertedTexts);
            }
    
            return convertedTexts;
        }
    
        public void addConverter(final ReadingConverter converter) {
            converters.add(converter);
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiPartOfSpeechFilterFactory.java

            super(indexSettings, name, settings);
            List<String> wordList = Analysis.parseWordList(env, settings, "stoptags", s -> s);
            if (wordList != null) {
                stopTags.addAll(wordList);
            } else {
                stopTags.addAll(JapaneseAnalyzer.getDefaultStopTags());
            }
        }
    
        @Override
        public TokenStream create(TokenStream tokenStream) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/SetAddAllTester.java

        assertTrue(
            "add(somePresent) should return true", getSet().addAll(MinimalCollection.of(e3(), e0())));
        expectAdded(e3());
      }
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testAddAll_withDuplicates() {
        MinimalCollection<E> elementsToAdd = MinimalCollection.of(e3(), e4(), e3(), e4());
        assertTrue("add(hasDuplicates) should return true", getSet().addAll(elementsToAdd));
        expectAdded(e3(), e4());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

                  @Override
                  public NavigableSet<String> create(String[] elements) {
                    NavigableSet<String> innerSet = new TreeSet<>();
                    Collections.addAll(innerSet, elements);
                    return Collections.checkedNavigableSet(innerSet, String.class);
                  }
                })
            .named("checkedNavigableSet/TreeSet, natural")
            .withFeatures(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  8. build-logic/cleanup/src/main/kotlin/gradlebuild/testing/services/BuildBucketProvider.kt

                if (classesForSourceSet == null) {
                    // No classes included, disable
                    testTask.enabled = false
                } else {
                    testTask.filter.includePatterns.addAll(classesForSourceSet)
                }
            }
        }
    
        class ExcludeTestClassProvider(private val excludeTestClasses: Map<String, List<String>>) : BuildBucketProvider {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/DictionaryFile.java

                return parent.containsAll(c);
            }
    
            @Override
            public boolean addAll(final Collection<? extends E> c) {
                return parent.addAll(c);
            }
    
            @Override
            public boolean addAll(final int index, final Collection<? extends E> c) {
                return parent.addAll(index, c);
            }
    
            @Override
            public boolean removeAll(final Collection<?> c) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ForwardingList.java

     * methods of the delegate. For example, overriding {@link #add} alone <b>will not</b> change the
     * behavior of {@link #addAll}, which can lead to unexpected behavior. In this case, you should
     * override {@code addAll} as well, either providing your own implementation, or delegating to the
     * provided {@code standardAddAll} method.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 7.9K bytes
    - Viewed (0)
Back to top