Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mod (0.17 sec)

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

      @GwtIncompatible // NavigableMap
      public void testUnmodifiableNavigableMap() {
        TreeMap<Integer, String> mod = Maps.newTreeMap();
        mod.put(1, "one");
        mod.put(2, "two");
        mod.put(3, "three");
    
        NavigableMap<Integer, String> unmod = unmodifiableNavigableMap(mod);
    
        /* unmod is a view. */
        mod.put(4, "four");
        assertEquals("four", unmod.get(4));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MapsTest.java

      @GwtIncompatible // NavigableMap
      public void testUnmodifiableNavigableMap() {
        TreeMap<Integer, String> mod = Maps.newTreeMap();
        mod.put(1, "one");
        mod.put(2, "two");
        mod.put(3, "three");
    
        NavigableMap<Integer, String> unmod = unmodifiableNavigableMap(mod);
    
        /* unmod is a view. */
        mod.put(4, "four");
        assertEquals("four", unmod.get(4));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
Back to top