Package org.locationtech.jts.jump.util
Class Blackboard
- java.lang.Object
-
- org.locationtech.jts.jump.util.Blackboard
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class Blackboard extends Object implements Cloneable, Serializable
String-to-Object map that anyone can use. For example, the Options dialog has a single instance, and it's stored on the Workbench Blackboard.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Blackboard()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
Object
get(String key)
boolean
get(String key, boolean defaultValue)
double
get(String key, double defaultValue)
int
get(String key, int defaultValue)
Object
get(String key, Object defaultValue)
boolean
getBoolean(String key)
double
getDouble(String key)
int
getInt(String key)
HashMap
getProperties()
Used by Java2XMLBlackboard
put(String key, boolean value)
Blackboard
put(String key, double value)
Blackboard
put(String key, int value)
Blackboard
put(String key, Object value)
Blackboard
putAll(Map properties)
void
setProperties(HashMap properties)
Used by Java2XML
-
-
-
Method Detail
-
getProperties
public HashMap getProperties()
Used by Java2XML
-
setProperties
public void setProperties(HashMap properties)
Used by Java2XML
-
put
public Blackboard put(String key, Object value)
-
put
public Blackboard put(String key, boolean value)
-
putAll
public Blackboard putAll(Map properties)
-
get
public boolean get(String key, boolean defaultValue)
-
getBoolean
public boolean getBoolean(String key)
-
put
public Blackboard put(String key, int value)
-
put
public Blackboard put(String key, double value)
-
get
public double get(String key, double defaultValue)
-
get
public int get(String key, int defaultValue)
-
getInt
public int getInt(String key)
-
getDouble
public double getDouble(String key)
-
-