Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 249 for addable (0.66 sec)

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

        assertTransformModifiable(list);
      }
    
      private static void assertTransformModifiable(List<String> list) {
        try {
          list.add("5");
          fail("transformed list is addable");
        } catch (UnsupportedOperationException expected) {
        }
        list.remove(0);
        assertEquals(asList("2", "3", "4"), list);
        list.remove("3");
        assertEquals(asList("2", "4"), list);
        try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.4K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java

          super.addAll(elements);
          return this;
        }
    
        @CanIgnoreReturnValue
        Builder<E> combine(Builder<E> builder) {
          contents.addAll(builder.contents);
          return this;
        }
    
        @Override
        public ImmutableSet<E> build() {
          return copyOf(contents.iterator());
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

      public void testAddAll_supportedNothing() {
        assertFalse("addAll(nothing) should return false", collection.addAll(emptyCollection()));
        expectUnchanged();
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      public void testAddAll_unsupportedNothing() {
        try {
          assertFalse(
              "addAll(nothing) should return false or throw", collection.addAll(emptyCollection()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. src/main/resources/crawler/rule.xml

    		<postConstruct name="addRule">
    			<arg>sitemapsRule</arg>
    		</postConstruct>
    		<postConstruct name="addRule">
    			<arg>webHtmlRule</arg>
    		</postConstruct>
    		<postConstruct name="addRule">
    			<arg>webFileRule</arg>
    		</postConstruct>
    		<postConstruct name="addRule">
    			<arg>fsFileRule</arg>
    		</postConstruct>
    		<postConstruct name="addRule">
    			<arg>defaultRule</arg>
    		</postConstruct>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jun 04 08:42:49 UTC 2020
    - 4.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

            UnsupportedOperationException.class, () -> getList().addAll(0, MinimalCollection.of(e0())));
        expectUnchanged();
      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      @CollectionSize.Require(absent = ZERO)
      public void testAddAllAtIndex_supportedSomePresent() {
        assertTrue(
            "addAll(n, allPresent) should return true",
            getList().addAll(0, MinimalCollection.of(e0(), e3())));
        expectAdded(0, e0(), e3());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

        oneValueAccumulatorByAddAllEmptyStats.addAll(Stats.of());
    
        twoValuesAccumulator = new StatsAccumulator();
        twoValuesAccumulator.addAll(TWO_VALUES);
    
        twoValuesAccumulatorByAddAllStats = new StatsAccumulator();
        twoValuesAccumulatorByAddAllStats.addAll(Stats.of(ONE_VALUE));
        twoValuesAccumulatorByAddAllStats.addAll(Stats.of(OTHER_ONE_VALUE));
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

            assertThat(ArrayUtil.addAll((Object[]) null, (Object[]) null), is(nullValue()));
            assertThat(ArrayUtil.addAll(null, emptyArray).length, is(0));
            assertThat(ArrayUtil.addAll(emptyArray, null), is(sameInstance(emptyArray)));
            assertThat(ArrayUtil.addAll(emptyArray, null), is(sameInstance(emptyArray)));
            assertThat(ArrayUtil.addAll(emptyArray, emptyArray), is(sameInstance(emptyArray)));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/StatsAccumulator.java

      public void addAll(LongStream values) {
        addAll(values.collect(StatsAccumulator::new, StatsAccumulator::add, StatsAccumulator::addAll));
      }
    
      /**
       * Adds the given statistics to the dataset, as if the individual values used to compute the
       * statistics had been added directly.
       */
      public void addAll(Stats values) {
        if (values.count() == 0) {
          return;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

            UnsupportedOperationException.class, () -> getList().addAll(0, MinimalCollection.of(e0())));
        expectUnchanged();
      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      @CollectionSize.Require(absent = ZERO)
      public void testAddAllAtIndex_supportedSomePresent() {
        assertTrue(
            "addAll(n, allPresent) should return true",
            getList().addAll(0, MinimalCollection.of(e0(), e3())));
        expectAdded(0, e0(), e3());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java

          }
          return this;
        }
    
        @CanIgnoreReturnValue
        public Builder<E> addAll(Iterable<? extends E> elements) {
          checkNotNull(elements); // for GWT
          for (E element : elements) {
            add(checkNotNull(element));
          }
          return this;
        }
    
        @CanIgnoreReturnValue
        public Builder<E> addAll(Iterator<? extends E> elements) {
          checkNotNull(elements); // for GWT
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top