Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testRemoveEqualKeyWithDifferentReference (0.45 sec)

  1. guava-tests/test/com/google/common/graph/MapCacheTest.java

        assertThat(mapCache.put("key", "new value")).isEqualTo("value");
        assertThat(mapCache.get("key")).isEqualTo("new value");
      }
    
      @Test
      public void testRemoveEqualKeyWithDifferentReference() {
        String fooReference1 = new String("foo");
        String fooReference2 = new String("foo");
        assertThat(fooReference1).isNotSameInstanceAs(fooReference2);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 16:23:26 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/MapCacheTest.java

        assertThat(mapCache.put("key", "new value")).isEqualTo("value");
        assertThat(mapCache.get("key")).isEqualTo("new value");
      }
    
      @Test
      public void testRemoveEqualKeyWithDifferentReference() {
        String fooReference1 = new String("foo");
        String fooReference2 = new String("foo");
        assertThat(fooReference1).isNotSameInstanceAs(fooReference2);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 16:23:26 UTC 2021
    - 3.2K bytes
    - Viewed (0)
Back to top