public interface Context
Context
implementation
class that components are stored in.Modifier and Type | Method and Description |
---|---|
<T> T |
get(Descriptor<T> descriptor)
Returns the component corresponding to the specified
Descriptor . |
<T> void |
put(Descriptor<T> descriptor,
T component)
Puts the specified component and descriptor pair.
|
Object |
store()
Returns the component store this context manages.
|
<T> T get(Descriptor<T> descriptor)
Descriptor
.T
- The component type.descriptor
- The descriptor corresponding to the component.Descriptor
.<T> void put(Descriptor<T> descriptor, T component)
T
- The component type.descriptor
- The descriptor corresponding to the component.component
- The component to be put.Object store()
Copyright © 2011-2014 Eiichiro Uchiumi. All Rights Reserved.