Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 891 - 900 of 1,591 for Removes (0.04 seconds)

  1. guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testSubList_subListRemoveAffectsOriginalLargeList() {
        List<E> subList = getList().subList(1, 3);
        subList.remove(e2());
        List<E> expected = copyToList(createSamplesArray());
        expected.remove(2);
        expectContents(expected);
      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      @CollectionSize.Require(absent = {ZERO, ONE})
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/graph/InvalidatableSetTest.java

        // test that setToTest is still valid
        assertThat(setToTest).isEqualTo(wrappedSet);
        assertThat(setToTest).isEqualTo(copyOfWrappedSet);
    
        // invalidate setToTest
        wrappedSet.remove(1);
        // sanity check on update of wrappedSet
        assertThat(wrappedSet).isNotEqualTo(copyOfWrappedSet);
    
        ImmutableSet<Integer> copyOfModifiedSet = ImmutableSet.copyOf(wrappedSet); // {2,3}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractBehavior.java

                return parent.toArray(a);
            }
    
            public boolean add(final E e) {
                return parent.add(e);
            }
    
            public boolean remove(final Object o) {
                return parent.remove(o);
            }
    
            public boolean containsAll(final Collection<?> c) {
                return parent.containsAll(c);
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 27 07:01:25 GMT 2025
    - 26.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

                }
                final int style = STYLES[index++];
                return DateFormat.getTimeInstance(style, locale);
            }
    
            @Override
            public void remove() {
                throw new ClUnsupportedOperationException("remove");
            }
    
        }
    
        /**
         * An {@link Iterator} that iterates over {@link DateFormat} instances corresponding to the styles supported by the locale.
         *
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

                final int style = STYLES[index++];
                return DateFormat.getDateTimeInstance(style, style, locale);
            }
    
            @Override
            public void remove() {
                throw new ClUnsupportedOperationException("remove");
            }
    
        }
    
        /**
         * An {@link Iterator} that iterates over {@link DateFormat} instances corresponding to the styles supported by the locale.
         *
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/IterablesTest.java

        Iterator<String> iterator = skip(set, 2).iterator();
        try {
          iterator.next();
        } catch (NoSuchElementException suppressed) {
          // We want remove() to fail even after a failed call to next().
        }
        assertThrows(IllegalStateException.class, () -> iterator.remove());
      }
    
      public void testSkip_allOfMutableList_modifiable() {
        List<String> list = newArrayList("a", "b");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 47.5K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/EnumMultiset.java

        if (oldCount == 0) {
          distinctElements++;
        }
        size += occurrences;
        return oldCount;
      }
    
      // Modification Operations
      @CanIgnoreReturnValue
      @Override
      public int remove(@Nullable Object element, int occurrences) {
        // isActuallyE checks for null, but we check explicitly to help nullness checkers.
        if (element == null || !isActuallyE(element)) {
          return 0;
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 9K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/EnumMultiset.java

        if (oldCount == 0) {
          distinctElements++;
        }
        size += occurrences;
        return oldCount;
      }
    
      // Modification Operations
      @CanIgnoreReturnValue
      @Override
      public int remove(@Nullable Object element, int occurrences) {
        // isActuallyE checks for null, but we check explicitly to help nullness checkers.
        if (element == null || !isActuallyE(element)) {
          return 0;
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/ErrorReportingTestListener.java

                }
            } catch (IOException e) {
                throw new UncheckedIOException("Error reading test suite output", e);
            } finally {
                reproductionLines.remove(descriptor);
                EventWriter writer = eventWriters.remove(descriptor);
                if (writer != null) {
                    try {
                        writer.close();
                    } catch (IOException e) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 10.7K bytes
    - Click Count (0)
  10. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/Execution.java

        } // -- java.util.List<String> getGoals()
    
        /**
         * Method removeGoal.
         *
         * @param string a string object.
         */
        public void removeGoal(String string) {
            getGoals().remove(string);
        } // -- void removeGoal( String )
    
        /**
         * Set configuration to pass to the goals.
         *
         * @param configuration a configuration object.
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.7K bytes
    - Click Count (0)
Back to Top