public class MapUtil extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getNextUniqueKey(Map<String,?> map,
String prefix)
Generate a unique key for the map based on a prefix.
|
public static final String getNextUniqueKey(Map<String,?> map, String prefix)
map
- The map to look for existing keys.prefix
- The prefix to use when generating the key.Copyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.