public class PdfmuUtils extends Object
| Constructor and Description |
|---|
PdfmuUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,String> |
getMatcherGroups(Matcher m,
List<String> names)
Extracts named groups from a matcher.
|
static <K,V> Map<K,V> |
sortedMap(K[] keys,
V[] values)
Converts an array of keys and an array of values to a
Map. |
static <K,V> Map<K,V> |
sortedMap(Map.Entry<K,V>... entries) |
public PdfmuUtils()
public static <K,V> Map<K,V> sortedMap(K[] keys, V[] values)
Map.K - the type of keys.V - the type of values.keys - the array of keys. Only the keys that have a matching value
are used.values - the array of values. Only the values that have a matching
key are used.Map that contains a key-value pair for each index in
keys and values. The order of the entries is preserved by the underlying
implementation (LinkedHashMap).Copyright © 2015–2016 Hobrasoft s.r.o.. All rights reserved.