Package com.graphhopper.util
Class PMap
java.lang.Object
com.graphhopper.util.PMap
A properties map (String to Object) with convenient methods to access the content.
- Author:
- Peter Karich
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PMap
public PMap() -
PMap
public PMap(int capacity) -
PMap
-
PMap
-
PMap
-
-
Method Details
-
read
Reads a PMap from a string array consisting of key=value pairs -
putAll
-
remove
-
has
-
getBool
-
getInt
-
getLong
-
getFloat
-
getDouble
-
getString
-
getObject
-
putObject
-
toSet
-
toMap
This method copies the underlying structure into a new Map object -
isEmpty
public boolean isEmpty() -
toString
-