Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 185 for getCal (0.03 seconds)

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

        while (entryItr.hasNext()) {
          Entry<K, V> entry = entryItr.next();
          entry.setValue(e3().getValue());
          entryItr.remove();
        }
        assertTrue(getMap().isEmpty());
      }
    
      public void testContainsEntryWithIncomparableKey() {
        try {
          assertFalse(getMap().entrySet().contains(mapEntry(IncomparableType.INSTANCE, v0())));
        } catch (ClassCastException acceptable) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 16 03:23:31 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

        while (entryItr.hasNext()) {
          Entry<K, V> entry = entryItr.next();
          entry.setValue(e3().getValue());
          entryItr.remove();
        }
        assertTrue(getMap().isEmpty());
      }
    
      public void testContainsEntryWithIncomparableKey() {
        try {
          assertFalse(getMap().entrySet().contains(mapEntry(IncomparableType.INSTANCE, v0())));
        } catch (ClassCastException acceptable) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 16 03:23:31 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/MapGetOrDefaultTester.java

            "getOrDefault(present, def) should return the associated value",
            v0(),
            getMap().getOrDefault(k0(), v3()));
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testGetOrDefault_presentNullDefault() {
        assertEquals(
            "getOrDefault(present, null) should return the associated value",
            v0(),
            getMap().getOrDefault(k0(), null));
      }
    
      public void testGetOrDefault_absent() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapClearTester.java

      public void testClearClearsInverse() {
        BiMap<V, K> inv = getMap().inverse();
        getMap().clear();
        assertTrue(getMap().isEmpty());
        assertTrue(inv.isEmpty());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testKeySetClearClearsInverse() {
        BiMap<V, K> inv = getMap().inverse();
        getMap().keySet().clear();
        assertTrue(getMap().isEmpty());
        assertTrue(inv.isEmpty());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/BiMapClearTester.java

      public void testClearClearsInverse() {
        BiMap<V, K> inv = getMap().inverse();
        getMap().clear();
        assertTrue(getMap().isEmpty());
        assertTrue(inv.isEmpty());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testKeySetClearClearsInverse() {
        BiMap<V, K> inv = getMap().inverse();
        getMap().keySet().clear();
        assertTrue(getMap().isEmpty());
        assertTrue(inv.isEmpty());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/BiMapRemoveTester.java

      public void testKeySetIteratorRemove() {
        int initialSize = getNumElements();
        Iterator<K> iterator = getMap().keySet().iterator();
        iterator.next();
        iterator.remove();
        assertEquals(initialSize - 1, getMap().size());
        assertEquals(initialSize - 1, getMap().inverse().size());
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

            "putIfAbsent(notPresent, value) should return null", getMap().putIfAbsent(k3(), v3()));
        expectAdded(e3());
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutIfAbsent_supportedPresent() {
        assertEquals(
            "putIfAbsent(present, value) should return existing value",
            v0(),
            getMap().putIfAbsent(k0(), v3()));
        expectUnchanged();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 02:04:51 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        // re-order
        getAll(cache, asList(0, 1, 2));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).containsExactly(3, 4, 5, 6, 7, 8, 9, 0, 1, 2);
    
        // evict 3, 4, 5
        getAll(cache, asList(10));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).containsExactly(6, 7, 8, 9, 0, 1, 2, 10);
    
        // re-order
        getAll(cache, asList(6, 7, 8));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceTester.java

        try {
          assertEquals(v0(), getMap().replace(k0(), v3()));
          expectReplacement(entry(k0(), v3()));
        } catch (ClassCastException tolerated) { // for ClassToInstanceMap
          expectUnchanged();
        }
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testReplace_supportedPresentNoChange() {
        assertEquals(v0(), getMap().replace(k0(), v0()));
        expectUnchanged();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 31 14:51:04 GMT 2024
    - 4K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetOrDefaultTester.java

            "getOrDefault(present, def) should return the associated value",
            v0(),
            getMap().getOrDefault(k0(), v3()));
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testGetOrDefault_presentNullDefault() {
        assertEquals(
            "getOrDefault(present, null) should return the associated value",
            v0(),
            getMap().getOrDefault(k0(), null));
      }
    
      public void testGetOrDefault_absent() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 31 14:51:04 GMT 2024
    - 4.5K bytes
    - Click Count (0)
Back to Top