Search Options

Results per page
Sort
Preferred Languages
Advance

Results 561 - 570 of 1,550 for removes (0.19 sec)

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

        assertEquals(asList("5", "2", "3", "4", "6"), toList);
        fromList.remove(Integer.valueOf(2));
        assertEquals(asList("5", "3", "4", "6"), toList);
        fromList.remove(2);
        assertEquals(asList("5", "3", "6"), toList);
    
        /* toList modifications reflected in fromList */
        toList.remove(2);
        assertEquals(asList(5, 3), fromList);
        toList.remove("5");
        assertEquals(asList(3), fromList);
        toList.clear();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ListsTest.java

        assertEquals(asList("5", "2", "3", "4", "6"), toList);
        fromList.remove(Integer.valueOf(2));
        assertEquals(asList("5", "3", "4", "6"), toList);
        fromList.remove(2);
        assertEquals(asList("5", "3", "6"), toList);
    
        /* toList modifications reflected in fromList */
        toList.remove(2);
        assertEquals(asList(5, 3), fromList);
        toList.remove("5");
        assertEquals(asList(3), fromList);
        toList.clear();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/TreeRangeMap.java

          TreeRangeMap.this.putAll(rangeMap);
        }
    
        @Override
        public void clear() {
          TreeRangeMap.this.remove(subRange);
        }
    
        @Override
        public void remove(Range<K> range) {
          if (range.isConnected(subRange)) {
            TreeRangeMap.this.remove(range.intersection(subRange));
          }
        }
    
        @Override
        public void merge(
            Range<K> range,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/ConnectionSpecTest.kt

        assertThat(allCipherSuites.equals(null)).isFalse()
        assertThat(set.remove(ConnectionSpec.MODERN_TLS)).isTrue()
        assertThat(set.remove(ConnectionSpec.COMPATIBLE_TLS))
          .isTrue()
        assertThat(set.remove(ConnectionSpec.CLEARTEXT)).isTrue()
        assertThat(set.remove(allTlsVersions)).isTrue()
        assertThat(set.remove(allCipherSuites)).isTrue()
        assertThat(set).isEmpty()
        allTlsVersions.hashCode()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertTrue(cycle.hasNext());
        assertThrows(IllegalStateException.class, () -> cycle.remove());
      }
    
      public void testCycleRemoveSameElementTwice() {
        Iterator<String> cycle = Iterators.cycle("a", "b");
        cycle.next();
        cycle.remove();
        assertThrows(IllegalStateException.class, () -> cycle.remove());
      }
    
      public void testCycleWhenRemoveIsNotSupported() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ComputationException.java

     *
     * @author Bob Lee
     * @since 2.0
     * @deprecated This exception is no longer thrown by {@code com.google.common}. Previously, it was
     *     thrown by {@link MapMaker} computing maps. When support for computing maps was removed from
     *     {@code MapMaker}, it was added to {@code CacheBuilder}, which throws {@code
     *     ExecutionException}, {@code UncheckedExecutionException}, and {@code ExecutionError}. Any
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Aug 04 13:28:27 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesJsonFileManagerTest.groovy

                            "changes": ["Method has been removed"],
                            "acceptation": "use ObjectFactory instead"
                        },
                        {
                            "type": "org.gradle.api.plugins.quality.CodeNarc",
                            "member": "Method org.gradle.api.plugins.quality.CodeNarc.getInstantiator()",
                            "changes": ["Method has been removed"],
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Aug 17 08:32:56 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_body_fields/test_tutorial001_an_py310.py

                        "msg": "Input should be greater than 0",
                        "input": -3.0,
                        "ctx": {"gt": 0.0},
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "ctx": {"limit_value": 0},
                        "loc": ["body", "item", "price"],
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/lang/ClassLoaderIterator.java

            }
            final ClassLoader result = classLoader;
            classLoader = classLoader.getParent();
            return result;
        }
    
        @Override
        public void remove() {
            throw new ClUnsupportedOperationException("remove");
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeySetTester.java

      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testKeySetRemovePropagatesToMultimap() {
        int key0Count = multimap().get(k0()).size();
        assertEquals(key0Count > 0, multimap().keySet().remove(k0()));
        assertEquals(getNumElements() - key0Count, multimap().size());
        assertGet(k0());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top