Package org.apache.pdfbox.util
Class MapUtil
- java.lang.Object
-
- org.apache.pdfbox.util.MapUtil
-
public class MapUtil extends java.lang.Object
This class with handle some simple Map operations.- Version:
- $Revision: 1.2 $
- Author:
- Ben Litchfield
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getNextUniqueKey(java.util.Map<java.lang.String,?> map, java.lang.String prefix)
Generate a unique key for the map based on a prefix.
-
-
-
Method Detail
-
getNextUniqueKey
public static final java.lang.String getNextUniqueKey(java.util.Map<java.lang.String,?> map, java.lang.String prefix)
Generate a unique key for the map based on a prefix.- Parameters:
map
- The map to look for existing keys.prefix
- The prefix to use when generating the key.- Returns:
- The new unique key that does not currently exist in the map.
-
-