Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for entryCopy (0.09 sec)

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

          Entry<K, V> entry = iterator.next();
          Entry<K, V> entryCopy = mapEntry(entry.getKey(), entry.getValue());
    
          iterator.remove();
          assertEquals(initialSize - 1, map.size());
    
          // Use "entryCopy" instead of "entry" because "entry" might be invalidated after
          // iterator.remove().
          assertFalse(entrySet.contains(entryCopy));
          assertInvariants(map);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          Entry<K, V> entry = iterator.next();
          Entry<K, V> entryCopy = mapEntry(entry.getKey(), entry.getValue());
    
          iterator.remove();
          assertEquals(initialSize - 1, map.size());
    
          // Use "entryCopy" instead of "entry" because "entry" might be invalidated after
          // iterator.remove().
          assertFalse(entrySet.contains(entryCopy));
          assertInvariants(map);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CacheTest.kt

          -1
    
          """.trimIndent()
        val entryBody = "abc"
        val journalBody = """libcore.io.DiskLruCache
    1
    201105
    2
    
    CLEAN $urlKey ${entryMetadata.length} ${entryBody.length}
    """
        fileSystem.createDirectory(cache.directoryPath)
        writeFile(cache.directoryPath, "$urlKey.0", entryMetadata)
        writeFile(cache.directoryPath, "$urlKey.1", entryBody)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
Back to top