Class PrefixMap<V>

java.lang.Object
com.sun.javatest.util.PrefixMap<V>
All Implemented Interfaces:
Map<String,V>

public class PrefixMap<V> extends Object implements Map<String,V>
A map whose entries are stored in a parent map by prefixing the key names with a specific string.
  • Constructor Details

    • PrefixMap

      public PrefixMap(Map<String,V> map, String prefix)
      Create a map whose entries are stored in a parent map by prefixing the key names with a specific string.
      Parameters:
      map - the parent map
      prefix - the prefix with which to prefix the entries in the parent map
  • Method Details