ix.util.context
Class ContextLink<T>

java.lang.Object
ix.util.context.ContextLink<T>

public final class ContextLink<T>

extends java.lang.Object

An element in a chain of associations between contexts and values.

A chain of ContextLinks is used to map contexts to values (Objects).
The public constructors create a 1-link chain. This normally specifies
a default, initial, or top-level value (typically one associated with
the root context). Further links are normally added by calling the
Context.setInContext method; this ensures that the resulting chain
can be processed correctly by the Context.getInContext method,
which requires that entries for newer (higher-numbered) contexts
appear before those for older ones.