Interface ContextSource
-
- All Known Subinterfaces:
ClientWorld,ServerWorld,World<W,L>,WorldType
public interface ContextSourceA common interface for objects that have a relevant context.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Contextcontext()Returns the context most relevant to this object.
-
-
-
Method Detail
-
context
Context context()
Returns the context most relevant to this object.This context may or may not be the same across multiple invocations.
- Returns:
- A given context
-
-