EntityMode to Tuplizer mappings.
| Modifier and Type | Field and Description |
|---|---|
| private final Map |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| public Tuplizer | Returns: The tuplizer.The entity-mode for which the caller wants a tuplizer. entityMode)Locate the tuplizer contained within this mapping which is responsible for the given entity-mode. |
| public Tuplizer | Returns: The tuplizer, or null if not found.The entity-mode for which the caller wants a tuplizer. entityMode)Locate the contained tuplizer responsible for the given entity-mode. |
| public EntityMode | Returns: The guessed entity mode.The supposed instance of the entity/component. object)Given a supposed instance of an entity/component, guess its entity mode. |
| public Iterator | Returns: Iterator over defined tuplizersAllow iteration over all defined |
| tuplizers | back to summary |
|---|---|
| private final Map<EntityMode, Tuplizer> tuplizers | |
| EntityModeToTuplizerMapping | back to summary |
|---|---|
| public EntityModeToTuplizerMapping() | |
| EntityModeToTuplizerMapping | back to summary |
|---|---|
public EntityModeToTuplizerMapping(Map<K, V> tuplizers)
| |
| addTuplizer | back to summary |
|---|---|
| protected void addTuplizer(EntityMode entityMode, Tuplizer tuplizer) | |
| getTuplizer | back to summary |
|---|---|
| public Tuplizer getTuplizer(EntityMode entityMode) Locate the tuplizer contained within this mapping which is responsible for the given entity-mode. If no such tuplizer is defined on this mapping, then an exception is thrown.
| |
| getTuplizerOrNull | back to summary |
|---|---|
| public Tuplizer getTuplizerOrNull(EntityMode entityMode) Locate the contained tuplizer responsible for the given entity-mode. If no such tuplizer is defined on this mapping, then return null.
| |
| guessEntityMode | back to summary |
|---|---|
| public EntityMode guessEntityMode(Object object) Given a supposed instance of an entity/component, guess its entity mode.
| |
| iterateTuplizers | back to summary |
|---|---|
| public Iterator Allow iteration over all defined
| |