test/jdk/java/util/concurrent/tck/ConcurrentSkipListMapTest.java
changeset 58892 35bac2745d04
parent 47304 3f5f9bc0bdc2
equal deleted inserted replaced
58891:ab4db38ed085 58892:35bac2745d04
    52     }
    52     }
    53     public static Test suite() {
    53     public static Test suite() {
    54         class Implementation implements MapImplementation {
    54         class Implementation implements MapImplementation {
    55             public Class<?> klazz() { return ConcurrentSkipListMap.class; }
    55             public Class<?> klazz() { return ConcurrentSkipListMap.class; }
    56             public Map emptyMap() { return new ConcurrentSkipListMap(); }
    56             public Map emptyMap() { return new ConcurrentSkipListMap(); }
    57             public Object makeKey(int i) { return i; }
       
    58             public Object makeValue(int i) { return i; }
       
    59             public boolean isConcurrent() { return true; }
    57             public boolean isConcurrent() { return true; }
       
    58             public boolean remappingFunctionCalledAtMostOnce() { return false; };
    60             public boolean permitsNullKeys() { return false; }
    59             public boolean permitsNullKeys() { return false; }
    61             public boolean permitsNullValues() { return false; }
    60             public boolean permitsNullValues() { return false; }
    62             public boolean supportsSetValue() { return false; }
    61             public boolean supportsSetValue() { return false; }
    63         }
    62         }
    64         return newTestSuite(
    63         return newTestSuite(