Class Context

All Implemented Interfaces:

public final class Context extends Object implements Map.Entry<String,String>
Encapsulates a single attribute about the state or circumstances of a Contextual.

A Contextual's overall "context" is made up multiple Context instances, usually stored together in a Set.

Any single Context attribute is made up of a key and a value. The key represents the type of context, and the value is just that, the value associated with the key. Some common/shared keys are expressed as static fields on this class for convenience.

For example, a context encapsulating a Contextuals circumstance within a given world would have key of "world" and a value equal to the name of the world.

Context is immutable. The setValue(String) inherited from Map.Entry is not supported.