Search Options

Results per page
Sort
Preferred Languages
Advance

Results 631 - 640 of 1,357 for removeAt (2.49 sec)

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

         * implementation, because {@code map.get()} returns a view collection that changes in the
         * course of a call to {@code remove()}. Thus, the expectation doesn't hold that {@code
         * map.remove(x)} returns the same value which {@code map.get(x)} did immediately beforehand.
         */
        @Override
        public void testRemove() {
          Map<String, Map<Integer, Character>> map;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizerFactory.java

            delimiters = settings.get("delimiters", NGramSynonymTokenizer.DEFAULT_DELIMITERS);
            expand = settings.getAsBoolean("expand", true);
    
            settings.getAsBoolean("expand_ngram", false); // TODO remove
    
            synonymLoader = new SynonymLoader(env, settings, expand, SynonymLoader.getAnalyzer(ignoreCase));
            if (synonymLoader.getSynonymMap() == null) {
                if (settings.getAsList("synonyms", null) != null) {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBenchmark.java

        String[] strings = this.strings;
        for (int i = 0; i < reps; i++) {
          for (int j = 0; j < capacity; j++) {
            queue.add(strings[j]);
          }
          for (int j = 0; j < capacity; j++) {
            queue.remove();
          }
        }
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/LinkedHashMultiset.java

     * according to when the first occurrence of the element was added. When the multiset contains
     * multiple instances of an element, those instances are consecutive in the iteration order. If all
     * occurrences of an element are removed, after which that element is added to the multiset, the
     * element will appear at the end of the iteration.
     *
     * <p>See the Guava User Guide article on <a href=
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 05 23:15:58 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  5. android/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})
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  6. 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})
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

       * assume that using setCount() to increase the count is permitted iff add()
       * is permitted and similarly for decrease/remove(). We assume that a
       * setCount() no-op is permitted if either add() or remove() is permitted,
       * though we also allow it to "succeed" if neither is permitted.
       */
    
      private void assertSetCount(E element, int count) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java

                }
            }
            if (!mains.isEmpty() && !consumers.isEmpty()) {
                ArrayList<Artifact> result = new ArrayList<>(artifacts);
                for (Artifact main : mains) {
                    result.remove(main);
                    if (deployBuildPom) {
                        // Add the main POM as a build POM with "build" classifier
                        result.add(new DefaultArtifact(
                                main.getGroupId(),
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 06 18:32:25 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbTree.java

                    session.send(request, response);
                } catch (final SmbException se) {
                    if (se.getNtStatus() == NtStatus.NT_STATUS_NETWORK_NAME_DELETED) {
                        /* Someone removed the share while we were
                         * connected. Bastards! Disconnect this tree
                         * so that it reconnects cleanly should the share
                         * reappear in this client's lifetime.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

            int FLAG_A = 0x01;
            int FLAG_B = 0x02;
            assertFalse(m.isFlagSet(FLAG_A));
            m.setFlag(FLAG_A);
            assertTrue(m.isFlagSet(FLAG_A));
            // unset correctly removes the flag
            m.unsetFlag(FLAG_A);
            assertFalse(m.isFlagSet(FLAG_A));
            // Test another flag
            m.setFlag(FLAG_B);
            assertTrue(m.isFlagSet(FLAG_B));
            m.unsetFlag(FLAG_B);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top