[cvs] / jsr166 / src / test / tck / MapImplementation.java Repository:
ViewVC logotype

View of /jsr166/src/test/tck/MapImplementation.java

Parent Directory Parent Directory | Revision Log Revision Log

Revision 1.1 - (download) (annotate)
Wed Aug 23 05:33:00 2017 UTC (13 months ago) by jsr166
Branch: MAIN
8186171: HashMap: Entry.setValue may not work after Iterator.remove() called for previous entries
 * Written by Doug Lea and Martin Buchholz with assistance from
 * members of JCP JSR-166 Expert Group and released to the public
 * domain, as explained at
 * http://creativecommons.org/publicdomain/zero/1.0/

import java.util.Map;

/** Allows tests to work with different Map implementations. */
public interface MapImplementation {
    /** Returns the Map implementation class. */
    public Class<?> klazz();
    /** Returns an empty map. */
    public Map emptyMap();
    public Object makeKey(int i);
    public Object makeValue(int i);
    public boolean isConcurrent();
    public boolean permitsNullKeys();
    public boolean permitsNullValues();
    public boolean supportsSetValue();

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8