- AbstractActionEngine - Class in jalse.actions
-
An abstract implementation of
ActionEngine
that is designed to be used with
ExecutorService
.
- AbstractActionEngine(ExecutorService) - Constructor for class jalse.actions.AbstractActionEngine
-
Creates a new instance of AbstractActionEngine with the supplied executor service.
- AbstractFutureActionContext<T> - Class in jalse.actions
-
- AbstractFutureActionContext(ActionEngine, Action<T>) - Constructor for class jalse.actions.AbstractFutureActionContext
-
Creates a new instance of AbstractFutureActionContext with the supplied engine and action.
- AbstractFutureActionContext(ActionEngine, Action<T>, ActionBindings) - Constructor for class jalse.actions.AbstractFutureActionContext
-
Creates a new instance of AbstractFutureActionContext with the supplied engine, action and
source bindings.
- AbstractIdentifiable - Class in jalse.misc
-
- AbstractIdentifiable() - Constructor for class jalse.misc.AbstractIdentifiable
-
Creates a new instance of AbstractIdentifiable with a random ID.
- AbstractIdentifiable(UUID) - Constructor for class jalse.misc.AbstractIdentifiable
-
Creates a new instance of AbstractIdentifiable with the supplied ID.
- AbstractManualActionContext<T> - Class in jalse.actions
-
- AbstractManualActionContext(ActionEngine, Action<T>) - Constructor for class jalse.actions.AbstractManualActionContext
-
Creates a new instance of AbstractManualActionContext with the supplied engine and action.
- AbstractManualActionContext(ActionEngine, Action<T>, ActionBindings) - Constructor for class jalse.actions.AbstractManualActionContext
-
Creates a new instance of AbstractManualActionContext with the supplied engine, action and
source bindings.
- Action<T> - Interface in jalse.actions
-
Action is the JALSE equivalent of Runnable
.
- ActionBindings - Interface in jalse.actions
-
An immutable key-value bindings for
ActionEngine
(keys are strings).
- ActionContext<T> - Interface in jalse.actions
-
ActionContext is supplied when running every
Action
.
- ActionEngine - Interface in jalse.actions
-
An engine for scheduling
Action
for execution.
- ActionOperation(MultiAction.OperationType, Action<T>) - Constructor for class jalse.actions.MultiAction.ActionOperation
-
Creates a new operation.
- ActionOperation(MultiAction.OperationType, Collection<? extends Action<T>>) - Constructor for class jalse.actions.MultiAction.ActionOperation
-
Creates a new operation.
- Actions - Class in jalse.actions
-
A utility for
Action
related functionality.
- ActionScheduler<T> - Interface in jalse.actions
-
This is the JALSE equivalent to Executor
.
- add(T) - Method in class jalse.misc.ListenerSet
-
- add(Tag) - Method in class jalse.tags.TagTypeSet
-
- addAll(AttributeContainer) - Method in interface jalse.attributes.AttributeContainer
-
Adds all attributes and listeners from the source container.
- addAllAttributeListeners(AttributeContainer) - Method in interface jalse.attributes.AttributeContainer
-
Adds all attribute listeners from the source container.
- addAllAttributes(AttributeContainer) - Method in interface jalse.attributes.AttributeContainer
-
Adds all attributes from the source container.
- addAsWork() - Method in class jalse.actions.AbstractManualActionContext
-
Used to add this context as work to a queue.
- addAsWork() - Method in class jalse.actions.ForkJoinActionEngine.ForkJoinContext
-
- addAsWork() - Method in class jalse.actions.ManualActionEngine.ManualContext
-
- addAttributeListener(NamedAttributeType<T>, AttributeListener<T>) - Method in interface jalse.attributes.AttributeContainer
-
Adds an attribute listener for the supplied named attribute type.
- addAttributeListener(String, AttributeType<T>, AttributeListener<T>) - Method in interface jalse.attributes.AttributeContainer
-
Adds an attribute listener for the supplied attribute type.
- addAttributeListener(NamedAttributeType<T>, AttributeListener<T>) - Method in class jalse.attributes.DefaultAttributeContainer
-
- addAttributeListener(NamedAttributeType<T>, AttributeListener<T>) - Method in class jalse.entities.DefaultEntity
-
- addEntityListener(EntityListener) - Method in class jalse.DefaultJALSE
-
- addEntityListener(EntityListener) - Method in class jalse.entities.DefaultEntity
-
- addEntityListener(EntityListener) - Method in class jalse.entities.DefaultEntityContainer
-
- addEntityListener(EntityListener) - Method in interface jalse.entities.EntityContainer
-
Adds a listener for entities.
- addEntityTypeListener(EntityTypeListener) - Method in class jalse.entities.DefaultEntity
-
- addEntityTypeListener(EntityTypeListener) - Method in interface jalse.entities.Entity
-
Adds a listener for the entity.
- addListener(NamedAttributeType<T>, AttributeListener<T>) - Method in class jalse.attributes.DefaultAttributeContainer.Builder
-
Adds an attribute listener.
- addListener(String, AttributeType<T>, AttributeListener<T>) - Method in class jalse.attributes.DefaultAttributeContainer.Builder
-
Adds an attribute listener.
- addMethodFunction(EntityMethodFunction) - Method in class jalse.entities.functions.EntityFunctionResolver
-
Adds a method function.
- addMethodFunctions(Set<? extends EntityMethodFunction>) - Method in class jalse.entities.functions.EntityFunctionResolver
-
Adds a number of method functions.
- addPerform(Action<T>) - Method in class jalse.actions.MultiAction.Builder
-
Adds an action to be performed next.
- addPerform(List<? extends Action<T>>) - Method in class jalse.actions.MultiAction.Builder
-
Adds a chain of actions to be performed in sequence.
- addResolverFunctions() - Method in class jalse.entities.DefaultEntityProxyFactory
-
- addSchedule(Action<T>) - Method in class jalse.actions.MultiAction.Builder
-
Adds an action to be scheduled.
- addSchedule(Collection<? extends Action<T>>) - Method in class jalse.actions.MultiAction.Builder
-
Adds a number of actions to be scheduled.
- addScheduleAndAwait(Action<T>) - Method in class jalse.actions.MultiAction.Builder
-
Adds an action to be scheduled then awaited.
- addScheduleAndAwait(Collection<? extends Action<T>>) - Method in class jalse.actions.MultiAction.Builder
-
Adds a number of actions to be scheduled then awaited.
- addWaitingWork(T) - Method in class jalse.actions.ManualWorkQueue
-
Adds work to the queue.
- addWork(ForkJoinActionEngine.ForkJoinContext<?>) - Method in class jalse.actions.ForkJoinActionEngine
-
Adds work to the engine.
- addWork(ManualActionEngine.ManualContext<?>) - Method in class jalse.actions.ManualActionEngine
-
Adds work to the engine.
- addWorkerIfNeeded() - Method in class jalse.actions.ForkJoinActionEngine
-
Starts a worker if needed (waiting work and no free workers).
- anyEntity(EntityContainer) - Static method in class jalse.entities.Entities
-
Gets any entity within the container.
- anyEntityOfType(EntityContainer, Class<T>) - Static method in class jalse.entities.Entities
-
Gets any entity within the container marked with the specified type.
- apply(Method) - Method in class jalse.entities.functions.DefaultFunction
-
- apply(Method) - Method in class jalse.entities.functions.EntityFunction
-
- apply(Method) - Method in class jalse.entities.functions.GetAttributeFunction
-
- apply(Method) - Method in class jalse.entities.functions.GetEntitiesFunction
-
- apply(Method) - Method in class jalse.entities.functions.GetEntityFunction
-
- apply(Method) - Method in class jalse.entities.functions.KillEntitiesFunction
-
- apply(Method) - Method in class jalse.entities.functions.KillEntityFunction
-
- apply(Method) - Method in class jalse.entities.functions.MarkAsTypeFunction
-
- apply(Method) - Method in class jalse.entities.functions.NewEntityFunction
-
- apply(Method) - Method in class jalse.entities.functions.ScheduleForActorFunction
-
- apply(Method) - Method in class jalse.entities.functions.SetAttributeFunction
-
- apply(Method) - Method in class jalse.entities.functions.StreamEntitiesFunction
-
- apply(Method) - Method in class jalse.entities.functions.UnmarkAsTypeFunction
-
- asType(Entity, Class<T>) - Static method in class jalse.entities.Entities
-
Wraps an Entity as the supplied Entity type.
- asType(Class<T>) - Method in interface jalse.entities.Entity
-
Convenience method for wrapping the entity to a different type.
- attributeAdded(AttributeEvent<T>) - Method in interface jalse.attributes.AttributeListener
-
Triggered when an attribute has been added.
- attributeChanged(AttributeEvent<T>) - Method in interface jalse.attributes.AttributeListener
-
Triggered when an attribute has been changed (either replacement by another attribute or an
internal state change).
- AttributeContainer - Interface in jalse.attributes
-
This is an attribute collection.
- AttributeEvent<T> - Class in jalse.attributes
-
- AttributeEvent(AttributeContainer, NamedAttributeType<T>, T) - Constructor for class jalse.attributes.AttributeEvent
-
Creates a new AttributeEvent with a random ID (with no previous Attribute).
- AttributeEvent(AttributeContainer, NamedAttributeType<T>, T, T) - Constructor for class jalse.attributes.AttributeEvent
-
Creates a new AttributeEvent with a random ID.
- AttributeListener<T> - Interface in jalse.attributes
-
- attributeRemoved(AttributeEvent<T>) - Method in interface jalse.attributes.AttributeListener
-
Triggered when an attribute has been removed.
- Attributes - Class in jalse.attributes
-
- attributes - Variable in class jalse.entities.DefaultEntity
-
Associated attributes.
- AttributeType<T> - Class in jalse.attributes
-
AttributeTypes and their values can be considered the core data of the JALSE model.
- AttributeType() - Constructor for class jalse.attributes.AttributeType
-
Creates a new instance of Attribute type (using generic type information).
- await() - Method in class jalse.actions.AbstractFutureActionContext
-
- await() - Method in class jalse.actions.AbstractManualActionContext
-
- await() - Method in interface jalse.actions.ActionContext
-
Awaits the execution (or cancellation of the action).
- awaitNextReadyWork() - Method in class jalse.actions.ManualWorkQueue
-
Awaits until the next work is ready (or the work queue is empty).
- awaitResumed() - Method in class jalse.actions.AbstractActionEngine
-
Will wait until the engine has resumed (or stopped).
- DEFAULT_INITIAL_DELAY - Static variable in annotation type jalse.entities.annotations.ScheduleForActor
-
Default initial delay (0L
).
- DEFAULT_LEAST_SIG_BITS - Static variable in annotation type jalse.entities.annotations.EntityID
-
Default last significant bits (0L
).
- DEFAULT_MOST_SIG_BITS - Static variable in annotation type jalse.entities.annotations.EntityID
-
Default most significant bits (0L
).
- DEFAULT_NAME - Static variable in annotation type jalse.entities.annotations.EntityID
-
Default name (""
).
- DEFAULT_NAME - Static variable in annotation type jalse.entities.annotations.GetAttribute
-
Default name (""
).
- DEFAULT_NAME - Static variable in annotation type jalse.entities.annotations.SetAttribute
-
Default name (""
).
- DEFAULT_OF_TYPE - Static variable in annotation type jalse.entities.annotations.GetEntities
-
Default type filtering (true
).
- DEFAULT_OF_TYPE - Static variable in annotation type jalse.entities.annotations.StreamEntities
-
Default type filtering (true
).
- DEFAULT_PERIOD - Static variable in annotation type jalse.entities.annotations.ScheduleForActor
-
Default repeat period (0L
).
- DEFAULT_RANDOM - Static variable in annotation type jalse.entities.annotations.EntityID
-
Default random (false
).
- DEFAULT_TIMEUNIT - Static variable in annotation type jalse.entities.annotations.ScheduleForActor
-
Default time unit (nanoseconds).
- DefaultActionBindings - Class in jalse.actions
-
This is a simple yet fully-featured implementation of
ActionBindings
.
Keys cannot be null or empty.
- DefaultActionBindings() - Constructor for class jalse.actions.DefaultActionBindings
-
Creates a new instance of DefaultActionBindings.
- DefaultActionBindings(ActionBindings) - Constructor for class jalse.actions.DefaultActionBindings
-
Creates a new instance of DefaultActionBindings with the supplied source bindings.
- DefaultActionBindings(Map<String, ?>) - Constructor for class jalse.actions.DefaultActionBindings
-
Creates a new instance of DefaultActionBindings with the supplied key-value pairs.
- DefaultActionScheduler<T> - Class in jalse.actions
-
A
ActionScheduler
implementation that schedules all actions against the supplied actor.
- DefaultActionScheduler(T) - Constructor for class jalse.actions.DefaultActionScheduler
-
Creates a DefaultScheduler for the supplied actor.
- DefaultAttributeContainer - Class in jalse.attributes
-
An DefaultAttributeContainer is a thread-safe implementation of
AttributeContainer
.
DefaultAttributeContainer can take a delegate AttributeContainer to supply to
AttributeEvent
.
- DefaultAttributeContainer() - Constructor for class jalse.attributes.DefaultAttributeContainer
-
Creates a new instance of DefaultAttributeContainer with no delegate container (self).
- DefaultAttributeContainer(AttributeContainer) - Constructor for class jalse.attributes.DefaultAttributeContainer
-
Creates a new instance of DefaultAttributeContainer with a delegate container.
- DefaultAttributeContainer.Builder - Class in jalse.attributes
-
Chaining builder for DefaultAttributeContainer.
- DefaultEntity - Class in jalse.entities
-
- DefaultEntity(UUID, EntityFactory, EntityContainer) - Constructor for class jalse.entities.DefaultEntity
-
Creates a new default entity instance.
- DefaultEntityContainer - Class in jalse.entities
-
An DefaultEntityContainer is a thread-safe implementation of
EntityContainer
.
- DefaultEntityContainer() - Constructor for class jalse.entities.DefaultEntityContainer
-
Creates an entity container with the default entity factory and no delegate container.
- DefaultEntityContainer(EntityFactory) - Constructor for class jalse.entities.DefaultEntityContainer
-
Creates an entity container with the supplied factory and no delegate container.
- DefaultEntityContainer(EntityFactory, EntityContainer) - Constructor for class jalse.entities.DefaultEntityContainer
-
Creates an entity container with the supplied factory and delegate container.
- DefaultEntityFactory - Class in jalse.entities
-
- DefaultEntityFactory() - Constructor for class jalse.entities.DefaultEntityFactory
-
Creates a default entity factory with no entity limit.
- DefaultEntityFactory(int) - Constructor for class jalse.entities.DefaultEntityFactory
-
Creates a default entity factory with the supplied entity limit.
- DefaultEntityProxyFactory - Class in jalse.entities
-
- DefaultEntityProxyFactory() - Constructor for class jalse.entities.DefaultEntityProxyFactory
-
Creates a new DefaultEntityProxyFactory.
- DefaultEntityProxyFactory.EntityProxyCache - Class in jalse.entities
-
A
WeakHashMap
cache for
Entity
proxies.
- DefaultEntityProxyFactory.EntityProxyHandler - Class in jalse.entities
-
The InvocationHandler
for the entity proxies.
- DefaultFunction - Class in jalse.entities.functions
-
This is a method function for default
methods.
- DefaultFunction() - Constructor for class jalse.entities.functions.DefaultFunction
-
- DefaultJALSE - Class in jalse
-
- DefaultJALSE(UUID, ActionEngine, EntityFactory) - Constructor for class jalse.DefaultJALSE
-
Creates a new instance of DefaultJALSE with the supplied engine and factory.
- DefaultJALSE.Builder - Class in jalse
-
- DefaultMethod - Class in jalse.entities.methods
-
This is used for mapping default
methods.
It is worth noting that this class has been designed with performance in mind.
- DefaultMethod(MethodHandle, int) - Constructor for class jalse.entities.methods.DefaultMethod
-
Creates a new default method.
- defaultValue(Class<?>) - Static method in class jalse.entities.functions.Functions
-
Gets the default value for a primitive wrapper.
- DOUBLE_TYPE - Static variable in class jalse.attributes.Attributes
-
Double
Attribute type.
- EMPTY_ACTIONBINDINGS - Static variable in class jalse.actions.Actions
-
An empty ActionBindings instance.
- EMPTY_ACTIONCONTEXT - Static variable in class jalse.actions.Actions
-
An empty SchedulableActionContext instance.
- EMPTY_ACTIONENGINE - Static variable in class jalse.actions.Actions
-
An empty ActionEngine instance.
- EMPTY_ATTRIBUTECONTAINER - Static variable in class jalse.attributes.Attributes
-
An empty AttributeContainer.
- EMPTY_ENTITYCONTAINER - Static variable in class jalse.entities.Entities
-
An empty EntityContainer.
- EMPTY_ENTITYFACTORY - Static variable in class jalse.entities.Entities
-
An empty EntityFactory.
- emptyActionBindings() - Static method in class jalse.actions.Actions
-
- emptyActionContext() - Static method in class jalse.actions.Actions
-
- emptyActionEngine() - Static method in class jalse.actions.Actions
-
- emptyAttributeContainer() - Static method in class jalse.attributes.Attributes
-
Creates an immutable empty attribute container.
- emptyEntityContainer() - Static method in class jalse.entities.Entities
-
Creates an immutable empty entity container.
- emptyEntityFactory() - Static method in class jalse.entities.Entities
-
Creates an immutable empty entity factory.
- engine - Variable in class jalse.DefaultJALSE
-
Action engine to be supplied to entities.
- entities - Variable in class jalse.DefaultJALSE
-
Backing entity container for top level entities.
- entities - Variable in class jalse.entities.DefaultEntity
-
Child entities.
- Entities - Class in jalse.entities
-
A utility for
Entity
related functionality (specifically around entity types).
An Entity type allows entities to be used in an Object-Oriented way (get/set).
- Entity - Interface in jalse.entities
-
Entity plays the greatest role in the overall data model.
- EntityContainer - Interface in jalse.entities
-
- entityCreated(EntityEvent) - Method in interface jalse.entities.EntityListener
-
Triggered on entity creation.
- EntityEvent - Class in jalse.entities
-
- EntityEvent(EntityContainer, Entity) - Constructor for class jalse.entities.EntityEvent
-
Creates a new EntityEvent with a random ID.
- EntityEvent(EntityContainer, Entity, EntityContainer) - Constructor for class jalse.entities.EntityEvent
-
Creates a new EntityEvent with a random ID.
- EntityFactory - Interface in jalse.entities
-
An entity factory is used to control the creation, transfer and killing of
Entity
within
the entire tree.
- EntityFunction - Class in jalse.entities.functions
-
A function for a specific
Entity
type.
- EntityFunction(Class<? extends Entity>, Map<Method, EntityMethod>) - Constructor for class jalse.entities.functions.EntityFunction
-
Creates a new entity function with the supplied method mapping.
- EntityFunctionResolver - Class in jalse.entities.functions
-
This is a resolver for
Entity
types.
- EntityFunctionResolver() - Constructor for class jalse.entities.functions.EntityFunctionResolver
-
Creates a new type resolver (no method functions).
- EntityFunctionResolver(Set<EntityMethodFunction>) - Constructor for class jalse.entities.functions.EntityFunctionResolver
-
Creates a new type resolver with the supplied method functions.
- EntityID - Annotation Type in jalse.entities.annotations
-
An
Entity
type annotation to represent a
UUID
.
- EntityIDs - Annotation Type in jalse.entities.annotations
-
- entityKilled(EntityEvent) - Method in interface jalse.entities.EntityListener
-
Triggered on entity death.
- EntityListener - Interface in jalse.entities
-
Listener for
Entity
creation and death.
- entityMarkedAsType(EntityTypeEvent) - Method in interface jalse.entities.EntityTypeListener
-
Triggered on entity marked as type.
- EntityMethod - Interface in jalse.entities.methods
-
This is used to map from a
Method
called on an
Entity
type to a desired function.
- EntityMethodFunction - Interface in jalse.entities.functions
-
- EntityProxyFactory - Interface in jalse.entities
-
This defines a factory for creating
Entity
proxies.
- entityReceived(EntityEvent) - Method in interface jalse.entities.EntityListener
-
Triggered on entity being received.
- entityTransferred(EntityEvent) - Method in interface jalse.entities.EntityListener
-
Triggered on entity transfer.
- EntityTypeEvent - Class in jalse.entities
-
- EntityTypeEvent(Entity, Class<? extends Entity>, Set<Class<? extends Entity>>) - Constructor for class jalse.entities.EntityTypeEvent
-
Creates a new EntityTypeEvent with a random ID.
- EntityTypeListener - Interface in jalse.entities
-
Listener for
Entity
type changes and death.
- entityUnmarkedAsType(EntityTypeEvent) - Method in interface jalse.entities.EntityTypeListener
-
Triggered on entity unmarked as type.
- EntityVisitor - Interface in jalse.entities
-
- EntityVisitor.EntityVisitResult - Enum in jalse.entities
-
Result to be returned when visiting an
Entity
.
- equals(Object) - Method in class jalse.actions.MultiAction.ActionOperation
-
- equals(Object) - Method in class jalse.attributes.AttributeType
-
- equals(Object) - Method in class jalse.attributes.DefaultAttributeContainer
-
- equals(Object) - Method in class jalse.attributes.NamedAttributeType
-
- equals(Object) - Method in class jalse.entities.DefaultEntityContainer
-
- equals(Object) - Method in class jalse.entities.functions.EntityFunction
-
- equals(Object) - Method in class jalse.misc.AbstractIdentifiable
-
- equals(Identifiable, Object) - Static method in interface jalse.misc.Identifiable
-
Checks if the two identifiable objects are equals using their unique identifiers.
- executorService - Variable in class jalse.actions.AbstractActionEngine
-
Executor service to be used for action scheduling.
- exportEntity(Entity) - Method in class jalse.entities.DefaultEntityFactory
-
- exportEntity(Entity) - Method in interface jalse.entities.EntityFactory
-
Exports an entity (removing all references).
- get(String) - Method in interface jalse.actions.ActionBindings
-
Gets the value bound to the supplied key.
- get(String) - Method in class jalse.actions.DefaultActionBindings
-
- getAction() - Method in interface jalse.actions.SchedulableActionContext
-
Gets the action this context is for.
- getActions() - Method in class jalse.actions.MultiAction.ActionOperation
-
Gets the actions to execute.
- getActor() - Method in interface jalse.actions.ActionContext
-
Gets the associated actor.
- getActor() - Method in class jalse.actions.DefaultActionScheduler
-
Gets the action Actor.
- getArgCount() - Method in class jalse.entities.methods.DefaultMethod
-
Gets the method argument count.
- getAttribute(NamedAttributeType<T>) - Method in interface jalse.attributes.AttributeContainer
-
Gets the attribute matching the supplied type.
- getAttribute(String, AttributeType<T>) - Method in interface jalse.attributes.AttributeContainer
-
Gets the attribute matching the supplied type.
- getAttribute(NamedAttributeType<T>) - Method in class jalse.attributes.DefaultAttributeContainer
-
- GetAttribute - Annotation Type in jalse.entities.annotations
-
- getAttribute(NamedAttributeType<T>) - Method in class jalse.entities.DefaultEntity
-
- getAttributeCount() - Method in interface jalse.attributes.AttributeContainer
-
Gets the number of total attributes within the container.
- getAttributeCount() - Method in class jalse.attributes.DefaultAttributeContainer
-
- getAttributeCount() - Method in class jalse.entities.DefaultEntity
-
- GetAttributeFunction - Class in jalse.entities.functions
-
- GetAttributeFunction() - Constructor for class jalse.entities.functions.GetAttributeFunction
-
- getAttributeListenerNames() - Method in interface jalse.attributes.AttributeContainer
-
Gets the attribute type names with listeners associated.
- getAttributeListeners(NamedAttributeType<T>) - Method in interface jalse.attributes.AttributeContainer
-
Gets all attribute listeners associated to the supplied named attribute type.
- getAttributeListeners(String, AttributeType<T>) - Method in interface jalse.attributes.AttributeContainer
-
Gets all attribute listeners associated to the supplied named attribute type.
- getAttributeListeners(NamedAttributeType<T>) - Method in class jalse.attributes.DefaultAttributeContainer
-
- getAttributeListeners(NamedAttributeType<T>) - Method in class jalse.entities.DefaultEntity
-
- getAttributeListenerTypes() - Method in interface jalse.attributes.AttributeContainer
-
Gets all of the named attribute types with listeners bound.
- getAttributeListenerTypes(String) - Method in interface jalse.attributes.AttributeContainer
-
Gets all the attribute listener types.
- getAttributeListenerTypes() - Method in class jalse.attributes.DefaultAttributeContainer
-
- getAttributeListenerTypes() - Method in class jalse.entities.DefaultEntity
-
- GetAttributeMethod - Class in jalse.entities.methods
-
- GetAttributeMethod(NamedAttributeType<Object>, boolean, boolean) - Constructor for class jalse.entities.methods.GetAttributeMethod
-
Creates a new get attribute method.
- getAttributeNames() - Method in interface jalse.attributes.AttributeContainer
-
Gets all the attribute type names assigned to attributes.
- getAttributes() - Method in interface jalse.attributes.AttributeContainer
-
Gets all of the attributes within the container.
- getAttributeTypes() - Method in interface jalse.attributes.AttributeContainer
-
Gets all of the named attribute types with attributes.
- getAttributeTypes(String) - Method in interface jalse.attributes.AttributeContainer
-
Gets all of the attribute types within the container.
- getAttributeTypes() - Method in class jalse.attributes.DefaultAttributeContainer
-
- getAttributeTypes() - Method in class jalse.entities.DefaultEntity
-
- getBindings() - Method in class jalse.actions.AbstractActionEngine
-
- getBindings() - Method in interface jalse.actions.ActionEngine
-
Bindings for this engine.
- getBindings() - Method in class jalse.actions.ManualActionEngine
-
- getBindings() - Method in class jalse.DefaultJALSE
-
- getConstructor() - Method in class jalse.entities.methods.ScheduleForActorMethod
-
Gets the action constructor
- getContainer() - Method in class jalse.attributes.AttributeEvent
-
Gets the Attribute's parent container.
- getContainer() - Method in class jalse.entities.DefaultEntity
-
- getContainer() - Method in interface jalse.entities.Entity
-
Gets the parent container.
- getContainer() - Method in class jalse.entities.EntityEvent
-
Gets the Entity's parent container.
- getDelegateContainer() - Method in class jalse.attributes.DefaultAttributeContainer
-
Gets the delegate container.
- getDelegateContainer() - Method in class jalse.entities.DefaultEntityContainer
-
Gets the delegate container for events and entity creation.
- getDependencies() - Method in interface jalse.entities.methods.EntityMethod
-
Optional referenced entity dependencies (empty by default).
- getDependencies() - Method in class jalse.entities.methods.GetEntitiesMethod
-
- getDependencies() - Method in class jalse.entities.methods.GetEntityMethod
-
- getDependencies() - Method in class jalse.entities.methods.MarkAsTypeMethod
-
- getDependencies() - Method in class jalse.entities.methods.NewEntityMethod
-
- getDependencies() - Method in class jalse.entities.methods.StreamEntitiesMethod
-
- getDependencies() - Method in class jalse.entities.methods.UnmarkAsTypeMethod
-
- getDestinationContainer() - Method in class jalse.entities.EntityEvent
-
Get the destination container for the transfer event.
- getEngine() - Method in interface jalse.actions.ActionContext
-
Gets the associated engine.
- getEngine() - Method in class jalse.actions.DefaultActionScheduler
-
Gets the associated engine.
- getEngine() - Method in class jalse.entities.DefaultEntity
-
Gets the associated action engine.
- getEngine() - Method in class jalse.entities.DefaultEntityFactory
-
Gets the associated engine.
- GetEntities - Annotation Type in jalse.entities.annotations
-
- getEntities() - Method in interface jalse.entities.EntityContainer
-
Gets all the entities within the containers.
- getEntitiesAsType(Class<T>) - Method in interface jalse.entities.EntityContainer
-
Gets all the entities as the specified type.
- GetEntitiesFunction - Class in jalse.entities.functions
-
- GetEntitiesFunction() - Constructor for class jalse.entities.functions.GetEntitiesFunction
-
- GetEntitiesMethod - Class in jalse.entities.methods
-
- GetEntitiesMethod(Class<? extends Entity>, Set<Supplier<UUID>>, boolean) - Constructor for class jalse.entities.methods.GetEntitiesMethod
-
Creates a get entities method.
- getEntitiesOfType(Class<T>) - Method in interface jalse.entities.EntityContainer
-
Gets all the entities marked with the specified type.
- getEntity(UUID) - Method in class jalse.DefaultJALSE
-
- GetEntity - Annotation Type in jalse.entities.annotations
-
- getEntity(UUID) - Method in class jalse.entities.DefaultEntity
-
- getEntity(UUID) - Method in class jalse.entities.DefaultEntityContainer
-
- getEntity() - Method in class jalse.entities.DefaultEntityProxyFactory.EntityProxyHandler
-
Gets the entity this proxy is for.
- getEntity(UUID) - Method in interface jalse.entities.EntityContainer
-
Gets the entity with the specified ID.
- getEntity() - Method in class jalse.entities.EntityEvent
-
Gets the event entity.
- getEntity() - Method in class jalse.entities.EntityTypeEvent
-
Gets the event entity.
- getEntityAsType(UUID, Class<T>) - Method in interface jalse.entities.EntityContainer
-
This is a convenience method for getting an entity (no optional).
- getEntityCount() - Method in class jalse.DefaultJALSE
-
- getEntityCount() - Method in class jalse.entities.DefaultEntity
-
- getEntityCount() - Method in class jalse.entities.DefaultEntityContainer
-
- getEntityCount() - Method in class jalse.entities.DefaultEntityFactory
-
Gets the current total entity count.
- getEntityCount() - Method in interface jalse.entities.EntityContainer
-
Gets the direct entity count.
- getEntityCountRecursively(EntityContainer) - Static method in class jalse.entities.Entities
-
Gets the total entity count (recursive).
- GetEntityFunction - Class in jalse.entities.functions
-
This is a method function for
GetEntity
annotation.
- GetEntityFunction() - Constructor for class jalse.entities.functions.GetEntityFunction
-
- getEntityIDs() - Method in class jalse.DefaultJALSE
-
- getEntityIDs() - Method in class jalse.entities.DefaultEntity
-
- getEntityIDs() - Method in class jalse.entities.DefaultEntityContainer
-
- getEntityIDs() - Method in interface jalse.entities.EntityContainer
-
Gets the IDs of all the entities within the container.
- getEntityIDsRecursively(EntityContainer) - Static method in class jalse.entities.Entities
-
Gets the IDs of all the entities (recursive).
- getEntityLimit() - Method in class jalse.entities.DefaultEntityFactory
-
Gets the total entity limit.
- getEntityListeners() - Method in class jalse.DefaultJALSE
-
- getEntityListeners() - Method in class jalse.entities.DefaultEntity
-
- getEntityListeners() - Method in class jalse.entities.DefaultEntityContainer
-
- getEntityListeners() - Method in interface jalse.entities.EntityContainer
-
Gets all the entity listeners.
- GetEntityMethod - Class in jalse.entities.methods
-
- GetEntityMethod(Class<? extends Entity>, boolean) - Constructor for class jalse.entities.methods.GetEntityMethod
-
Creates a get entity method.
- getEntityTree() - Method in interface jalse.JALSE
-
Gets a set containing the entire entity tree.
- getEntityTypeListeners() - Method in class jalse.entities.DefaultEntity
-
- getEntityTypeListeners() - Method in interface jalse.entities.Entity
-
Gets all the entity listeners.
- getEstimated() - Method in class jalse.actions.AbstractManualActionContext
-
Gets the ideal estimated execution time (nanos).
- getFactory() - Method in class jalse.entities.DefaultEntityContainer
-
Gets entity factory for this set.
- getFuture() - Method in class jalse.actions.AbstractFutureActionContext
-
Gets the future associated to the action task.
- getHandle() - Method in class jalse.entities.methods.DefaultMethod
-
Gets the method handle to invoke.
- getHighestParent(EntityContainer) - Static method in class jalse.entities.Entities
-
Gets the highest level parent of this container.
- getID() - Method in class jalse.misc.AbstractIdentifiable
-
- getID(Object) - Static method in interface jalse.misc.Identifiable
-
Gets the ID of the object if it is an Identifiable.
- getID() - Method in interface jalse.misc.Identifiable
-
Gets the unique identifier.
- getIDsInTree() - Method in class jalse.DefaultJALSE
-
- getIDsInTree() - Method in interface jalse.JALSE
-
Gets the current set of IDs for the entire tree.
- getIDSupplier() - Method in class jalse.entities.methods.GetEntityMethod
-
Gets entity ID supplier.
- getIDSupplier() - Method in class jalse.entities.methods.KillEntityMethod
-
Gets the entity ID supplier.
- getIDSupplier() - Method in class jalse.entities.methods.NewEntityMethod
-
Gets entity ID supplier.
- getIDSuppliers(Method) - Static method in class jalse.entities.functions.Functions
-
Gets all the
EntityID
annotations and transforms into ID suppliers.
- getIDSuppliers() - Method in class jalse.entities.methods.GetEntitiesMethod
-
Gets entity ID suppliers.
- getIDSuppliers() - Method in class jalse.entities.methods.KillEntitiesMethod
-
Gets entity ID suppliers.
- getIDSuppliers() - Method in class jalse.entities.methods.StreamEntitiesMethod
-
Gets entity ID suppliers.
- getInitialDelay(TimeUnit) - Method in interface jalse.actions.SchedulableActionContext
-
Gets the initial delay.
- getInitialDelay() - Method in class jalse.entities.methods.ScheduleForActorMethod
-
Gets the initial delay.
- getMarkedAsTypes() - Method in interface jalse.entities.Entity
-
Gets the types this entity has been marked as.
- getName() - Method in class jalse.attributes.AttributeEvent
-
Gets the attribute name.
- getName() - Method in class jalse.attributes.NamedAttributeType
-
Gets the attribute type name.
- getName() - Method in class jalse.entities.methods.GetAttributeMethod
-
Gets the attribute name.
- getName() - Method in class jalse.entities.methods.SetAttributeMethod
-
Gets the attribute name.
- getNamedType() - Method in class jalse.attributes.AttributeEvent
-
Gets the named attribute type.
- getNamedType() - Method in class jalse.entities.methods.GetAttributeMethod
-
Gets the named attribute type.
- getNamedType() - Method in class jalse.entities.methods.SetAttributeMethod
-
Gets the named attribute type.
- getOfType(Class<T>) - Method in class jalse.tags.TagTypeSet
-
Gets all of the tags matching the specified type.
- getOptActor() - Method in interface jalse.actions.ActionContext
-
This is a convenience method for getting an actor (optional).
- getOptAttribute(NamedAttributeType<T>) - Method in interface jalse.attributes.AttributeContainer
-
This is a convenience method for getting an attribute (optional).
- getOptAttribute(String, AttributeType<T>) - Method in interface jalse.attributes.AttributeContainer
-
This is a convenience method for getting an attribute (optional).
- getOptContainer() - Method in interface jalse.entities.Entity
-
This is a convenience method for getting the container (optional).
- getOptDestinationContainer() - Method in class jalse.entities.EntityEvent
-
Get the destination container for the transfer event.
- getOptEntity(UUID) - Method in interface jalse.entities.EntityContainer
-
This is a convenience method for getting an entity (optional).
- getOptEntityAsType(UUID, Class<T>) - Method in interface jalse.entities.EntityContainer
-
This is a convenience method for getting an entity (optional).The entity is wrapped with the
supplied entity type.
- getOptReplacedValue() - Method in class jalse.attributes.AttributeEvent
-
Get the Attribute that was replaced by this Attribute.
- getOrNew(Entity, Class<T>) - Method in class jalse.entities.DefaultEntityProxyFactory.EntityProxyCache
-
Either retrieves a proxy from the cache or creates (and caches) a new entity proxy.
- getPeriod(TimeUnit) - Method in interface jalse.actions.ActionContext
-
Gets the actions repeat period.
- getPeriod() - Method in class jalse.entities.methods.ScheduleForActorMethod
-
Gets the period.
- getProxy() - Method in class jalse.misc.ListenerSet
-
Gets the group proxy for easy invocation of methods upon the group.
- getProxyFactory() - Static method in class jalse.entities.Entities
-
- getReplacedValue() - Method in class jalse.attributes.AttributeEvent
-
Get the Attribute that was replaced by this Attribute.
- getResolvedTypes() - Method in class jalse.entities.functions.EntityFunctionResolver
-
Gets all of the resolved
Entity
types.
- getSingleIDSupplier(Method) - Static method in class jalse.entities.functions.Functions
-
Gets a single ID supplier from a method.
- getTags() - Method in interface jalse.tags.Taggable
-
Gets all tag state information.
- getTreeCount() - Method in class jalse.DefaultJALSE
-
- getTreeCount() - Method in interface jalse.JALSE
-
Gets the current total number of entities.
- getType() - Method in class jalse.actions.MultiAction.ActionOperation
-
Gets the operation type.
- getType() - Method in class jalse.attributes.AttributeEvent
-
Gets the attribute type for the attribute.
- getType() - Method in class jalse.attributes.NamedAttributeType
-
Gets the attribute type.
- getType() - Method in class jalse.entities.functions.EntityFunction
-
Gets the entity type this is for.
- getType() - Method in class jalse.entities.methods.GetAttributeMethod
-
Gets the attribute type.
- getType() - Method in class jalse.entities.methods.GetEntitiesMethod
-
Gets the entity type.
- getType() - Method in class jalse.entities.methods.GetEntityMethod
-
Gets the entity type.
- getType() - Method in class jalse.entities.methods.MarkAsTypeMethod
-
Gets entity type to mark as.
- getType() - Method in class jalse.entities.methods.NewEntityMethod
-
Gets the entity type.
- getType() - Method in class jalse.entities.methods.SetAttributeMethod
-
Gets the attribute type.
- getType() - Method in class jalse.entities.methods.StreamEntitiesMethod
-
Gets the entity type.
- getType() - Method in class jalse.entities.methods.UnmarkAsTypeMethod
-
Gets entity type to unmark as.
- getTypeAncestry(Class<? extends Entity>) - Static method in class jalse.entities.Entities
-
Gets all ancestors for the specified descendant type (not including
Entity
).
- getTypeChange() - Method in class jalse.entities.EntityTypeEvent
-
Gets the event type change.
- getTypeChangeDependants() - Method in class jalse.entities.EntityTypeEvent
-
- getUnit() - Method in class jalse.entities.methods.ScheduleForActorMethod
-
Gets the time unit.
- getValue() - Method in class jalse.attributes.AttributeEvent
-
Gets the Attribute the event is for.
- getValueType() - Method in class jalse.attributes.AttributeType
-
Gets attribute value type.
- getWaitingWork() - Method in class jalse.actions.ManualWorkQueue
-
Gets all waiting work in the queue.
- getWorkQueue() - Method in class jalse.actions.ForkJoinActionEngine
-
Gets the engine's work queue.
- getWorkQueue() - Method in class jalse.actions.ManualActionEngine
-
Gets the engine's work queue.
- id - Variable in class jalse.misc.AbstractIdentifiable
-
Unique ID.
- Identifiable - Interface in jalse.misc
-
This is for anything that should be uniquely identifiable within JALSE.
- INTEGER_TYPE - Static variable in class jalse.attributes.Attributes
-
Integer
Attribute type.
- invalidateAll() - Method in class jalse.entities.DefaultEntityProxyFactory.EntityProxyCache
-
Uncaches all proxies.
- invalidateEntity(Entity) - Method in class jalse.entities.DefaultEntityProxyFactory.EntityProxyCache
-
Uncaches all proxies for an entity.
- invalidateType(Entity, Class<? extends Entity>) - Method in class jalse.entities.DefaultEntityProxyFactory.EntityProxyCache
-
Uncaches a the proxy of the specified type for the entity.
- invoke(Object, Method, Object[]) - Method in class jalse.entities.DefaultEntityProxyFactory.EntityProxyHandler
-
- invoke(Object, Entity, Object[]) - Method in class jalse.entities.methods.DefaultMethod
-
- invoke(Object, Entity, Object[]) - Method in interface jalse.entities.methods.EntityMethod
-
This will invoke the desired functionality for this method using the proxy, entity and
supplied arguments.
- invoke(Object, Entity, Object[]) - Method in class jalse.entities.methods.GetAttributeMethod
-
- invoke(Object, Entity, Object[]) - Method in class jalse.entities.methods.GetEntitiesMethod
-
- invoke(Object, Entity, Object[]) - Method in class jalse.entities.methods.GetEntityMethod
-
- invoke(Object, Entity, Object[]) - Method in class jalse.entities.methods.KillEntitiesMethod
-
- invoke(Object, Entity, Object[]) - Method in class jalse.entities.methods.KillEntityMethod
-
- invoke(Object, Entity, Object[]) - Method in class jalse.entities.methods.MarkAsTypeMethod
-
- invoke(Object, Entity, Object[]) - Method in class jalse.entities.methods.NewEntityMethod
-
- invoke(Object, Entity, Object[]) - Method in class jalse.entities.methods.ScheduleForActorMethod
-
- invoke(Object, Entity, Object[]) - Method in class jalse.entities.methods.SetAttributeMethod
-
- invoke(Object, Entity, Object[]) - Method in class jalse.entities.methods.StreamEntitiesMethod
-
- invoke(Object, Entity, Object[]) - Method in class jalse.entities.methods.UnmarkAsTypeMethod
-
- invoke(Object, Method, Object[]) - Method in class jalse.misc.ListenerSet
-
- is(Identifiable) - Static method in interface jalse.misc.Identifiable
-
Predicate to check if the identifiable is equal to that supplied.
- isAlive() - Method in class jalse.entities.DefaultEntity
-
- isAlive() - Method in interface jalse.entities.Entity
-
Checks if the entity is alive.
- isCancelled() - Method in class jalse.actions.AbstractFutureActionContext
-
- isCancelled() - Method in class jalse.actions.AbstractManualActionContext
-
- isCancelled() - Method in interface jalse.actions.ActionContext
-
Whether the action has been cancelled.
- isDone() - Method in class jalse.actions.AbstractFutureActionContext
-
- isDone() - Method in class jalse.actions.AbstractManualActionContext
-
- isDone() - Method in interface jalse.actions.ActionContext
-
Whether the action has been ran (or cancelled).
- isEmpty() - Method in class jalse.tags.TagTypeSet
-
- isEntityOrSubtype(Class<?>) - Static method in class jalse.entities.Entities
-
Checks whether the type is an entity subtype.
- isEntitySubtype(Class<?>) - Static method in class jalse.entities.Entities
-
Checks whether the type is an entity subtype.
- isMarkedAsType(Class<? extends Entity>) - Method in class jalse.entities.DefaultEntity
-
- isMarkedAsType(Class<? extends Entity>) - Static method in class jalse.entities.Entities
-
Checks to see if the entity has been tagged with the type.
- isMarkedAsType(Class<? extends Entity>) - Method in interface jalse.entities.Entity
-
Checks whether the entity has the associated type.
- isOfType() - Method in class jalse.entities.methods.GetEntitiesMethod
-
Whether it is type filtering.
- isOfType() - Method in class jalse.entities.methods.StreamEntitiesMethod
-
Whether it is type filtering.
- isOptional() - Method in class jalse.entities.methods.GetAttributeMethod
-
Whether the optional equivelent will be used.
- isOptional() - Method in class jalse.entities.methods.GetEntityMethod
-
Checks whether this is an opt method.
- isOptional() - Method in class jalse.entities.methods.SetAttributeMethod
-
Whether the optional equivelent will be used.
- isOrSubtype(Class<? extends Entity>, Class<? extends Entity>) - Static method in class jalse.entities.Entities
-
Checks if the specified type is equal to or a descendant from the specified ancestor type.
- isPaused() - Method in class jalse.actions.AbstractActionEngine
-
- isPaused() - Method in interface jalse.actions.ActionEngine
-
Whether the engine is paused.
- isPaused() - Method in class jalse.actions.ManualActionEngine
-
- isPaused() - Method in class jalse.DefaultJALSE
-
- isPeforming() - Method in class jalse.actions.AbstractManualActionContext
-
Whether the action is currently being performed.
- isPeriodic() - Method in interface jalse.actions.ActionContext
-
Checks whether the action is periodic.
- isPeriodicOnException() - Method in interface jalse.actions.ActionContext
-
Whether the action will continue to reschedule on exception.
- isPrimitive(Type) - Static method in class jalse.entities.functions.Functions
-
Whether the type represents a primitive type.
- isPrimitive() - Method in class jalse.entities.methods.GetAttributeMethod
-
Whether this is a primitive conversion.
- isPrimitive() - Method in class jalse.entities.methods.SetAttributeMethod
-
Whether this is a primitive conversion.
- isProxyEntity(Entity) - Method in class jalse.entities.DefaultEntityProxyFactory
-
- isProxyEntity(Entity) - Method in interface jalse.entities.EntityProxyFactory
-
Checks whether the supplied entity is a proxy.
- isReplacement() - Method in class jalse.attributes.AttributeEvent
-
Checks whether the previous Attribute was replaced by this Attribute.
- isStopped() - Method in class jalse.actions.AbstractActionEngine
-
- isStopped() - Method in interface jalse.actions.ActionEngine
-
Whether the engine is stopped.
- isStopped() - Method in class jalse.actions.ManualActionEngine
-
- isStopped() - Method in class jalse.DefaultJALSE
-
- isSubtype(Class<? extends Entity>, Class<? extends Entity>) - Static method in class jalse.entities.Entities
-
Checks if the specified type is a descendant from the specified ancestor type.
- isTransfer() - Method in class jalse.entities.EntityEvent
-
Checks whether this is a transfer event.
- isWaitingWork(T) - Method in class jalse.actions.ManualWorkQueue
-
Whether the work is contained in the queue.
- isWorkReady() - Method in class jalse.actions.ManualWorkQueue
-
Whether there is work ready.
- isWorkWaiting() - Method in class jalse.actions.ManualWorkQueue
-
Whether the queue has waiting work.
- isWrapper(Class<?>) - Static method in class jalse.entities.functions.Functions
-
Checks to see if the specified type is a primitive wrapper.
- iterator() - Method in class jalse.tags.TagTypeSet
-
- NamedAttributeType<T> - Class in jalse.attributes
-
- NamedAttributeType(String, AttributeType<T>) - Constructor for class jalse.attributes.NamedAttributeType
-
Creates a new named attribute type.
- newContext(Action<T>) - Method in interface jalse.actions.ActionEngine
-
Creates an action context to define how the action will be scheduled for execution.
- newContext(Action<T>) - Method in class jalse.actions.ForkJoinActionEngine
-
- newContext(Action<T>) - Method in class jalse.actions.ManualActionEngine
-
- newContext(Action<T>) - Method in class jalse.actions.ThreadPoolActionEngine
-
- newContext(Action<T>) - Method in class jalse.DefaultJALSE
-
- newContextForActor(Action<T>) - Method in interface jalse.actions.ActionScheduler
-
Creates a new mutable context for the supplied action and this actor.
- newContextForActor(Action<T>) - Method in class jalse.actions.DefaultActionScheduler
-
- newContextForActor(Action<JALSE>) - Method in class jalse.DefaultJALSE
-
- newContextForActor(Action<Entity>) - Method in class jalse.entities.DefaultEntity
-
- newEntity(UUID, AttributeContainer) - Method in class jalse.DefaultJALSE
-
- newEntity(UUID, Class<T>, AttributeContainer) - Method in class jalse.DefaultJALSE
-
- NewEntity - Annotation Type in jalse.entities.annotations
-
- newEntity(UUID, AttributeContainer) - Method in class jalse.entities.DefaultEntity
-
- newEntity(UUID, Class<T>, AttributeContainer) - Method in class jalse.entities.DefaultEntity
-
- newEntity(UUID, AttributeContainer) - Method in class jalse.entities.DefaultEntityContainer
-
- newEntity(UUID, Class<T>, AttributeContainer) - Method in class jalse.entities.DefaultEntityContainer
-
- newEntity(UUID, EntityContainer) - Method in class jalse.entities.DefaultEntityFactory
-
- newEntity() - Method in interface jalse.entities.EntityContainer
-
Creates a new entity with a random ID.
- newEntity(AttributeContainer) - Method in interface jalse.entities.EntityContainer
-
Creates a new entity with a random ID.
- newEntity(Class<T>) - Method in interface jalse.entities.EntityContainer
-
Creates a new entity with a random ID.
- newEntity(Class<T>, AttributeContainer) - Method in interface jalse.entities.EntityContainer
-
Creates a new entity with a random ID.
- newEntity(UUID) - Method in interface jalse.entities.EntityContainer
-
Creates new entity with the specified ID.
- newEntity(UUID, AttributeContainer) - Method in interface jalse.entities.EntityContainer
-
Creates new entity with the specified ID.
- newEntity(UUID, Class<T>) - Method in interface jalse.entities.EntityContainer
-
Creates new entity with the specified ID.
- newEntity(UUID, Class<T>, AttributeContainer) - Method in interface jalse.entities.EntityContainer
-
Creates new entity with the specified ID.
- newEntity(UUID, EntityContainer) - Method in interface jalse.entities.EntityFactory
-
Creates a new entity with the specified ID and parent container.
- NewEntityFunction - Class in jalse.entities.functions
-
This is a method function for
NewEntity
annotation.
- NewEntityFunction() - Constructor for class jalse.entities.functions.NewEntityFunction
-
- NewEntityMethod - Class in jalse.entities.methods
-
- NewEntityMethod(Class<? extends Entity>) - Constructor for class jalse.entities.methods.NewEntityMethod
-
Creates a new entity method.
- newNamedBooleanType(String) - Static method in class jalse.attributes.Attributes
-
Creates a new attribute type (Boolean).
- newNamedByteType(String) - Static method in class jalse.attributes.Attributes
-
Creates a new attribute type (Byte).
- newNamedCharacterType(String) - Static method in class jalse.attributes.Attributes
-
Creates a new attribute type (String).
- newNamedDoubleType(String) - Static method in class jalse.attributes.Attributes
-
Creates a new attribute type (Double).
- newNamedFloatType(String) - Static method in class jalse.attributes.Attributes
-
Creates a new attribute type (Float).
- newNamedIntegerType(String) - Static method in class jalse.attributes.Attributes
-
Creates a new attribute type (Integer).
- newNamedLongType(String) - Static method in class jalse.attributes.Attributes
-
Creates a new attribute type (Long).
- newNamedObjectType(String) - Static method in class jalse.attributes.Attributes
-
Creates a new attribute type (Object).
- newNamedShortType(String) - Static method in class jalse.attributes.Attributes
-
Creates a new attribute type (Short).
- newNamedStringType(String) - Static method in class jalse.attributes.Attributes
-
Creates a new attribute type (String).
- newNamedTypeOf(String, Class<T>) - Static method in class jalse.attributes.Attributes
-
Creates a new named type of the supplied simple type.
- newNamedUnknownType(String, Type) - Static method in class jalse.attributes.Attributes
-
Creates a new named unknown type.
- newTypeOf(Class<T>) - Static method in class jalse.attributes.Attributes
-
Creates a new attribute type of the supplied simple type.
- newUnknownType(Type) - Static method in class jalse.attributes.Attributes
-
Creates a new unknown attribute type from the supplied type.
- not(Identifiable) - Static method in interface jalse.misc.Identifiable
-
Predicate to check if the identifiable is not equal to that supplied.
- notMarkedAsType(Class<? extends Entity>) - Static method in class jalse.entities.Entities
-
Checks to see if the entity has not been tagged with the type.
- RANDOM_ID_SUPPLIER - Static variable in class jalse.entities.functions.Functions
-
An supplier for random IDs.
- randomEntity(EntityContainer) - Static method in class jalse.entities.Entities
-
Gets a random entity from the container (if there is one).
- receiveEntity(Entity) - Method in class jalse.DefaultJALSE
-
- receiveEntity(Entity) - Method in class jalse.entities.DefaultEntity
-
- receiveEntity(Entity) - Method in class jalse.entities.DefaultEntityContainer
-
- receiveEntity(Entity) - Method in interface jalse.entities.EntityContainer
-
Receives an entity (from a transfer).
- remove(String) - Method in interface jalse.actions.ActionBindings
-
Removes the value bound to the supplied key.
- remove(String) - Method in class jalse.actions.DefaultActionBindings
-
- remove(Object) - Method in class jalse.misc.ListenerSet
-
- remove(Object) - Method in class jalse.tags.TagTypeSet
-
- removeAll() - Method in interface jalse.actions.ActionBindings
-
Removes all key-value pairs.
- removeAll() - Method in class jalse.actions.DefaultActionBindings
-
- removeAllMethodFunctions() - Method in class jalse.entities.functions.EntityFunctionResolver
-
Removes all method functions.
- removeAllWaitingWork() - Method in class jalse.actions.ManualWorkQueue
-
Clears waiting work.
- removeAsWork() - Method in class jalse.actions.AbstractManualActionContext
-
Used to remove context as work from a queue.
- removeAsWork() - Method in class jalse.actions.ForkJoinActionEngine.ForkJoinContext
-
- removeAsWork() - Method in class jalse.actions.ManualActionEngine.ManualContext
-
- removeAttribute(NamedAttributeType<T>) - Method in interface jalse.attributes.AttributeContainer
-
Removes the attribute matching the supplied type.
- removeAttribute(String, AttributeType<T>) - Method in interface jalse.attributes.AttributeContainer
-
Removes the attribute matching the supplied type.
- removeAttribute(NamedAttributeType<T>) - Method in class jalse.attributes.DefaultAttributeContainer
-
- removeAttribute(NamedAttributeType<T>) - Method in class jalse.entities.DefaultEntity
-
- removeAttributeListener(NamedAttributeType<T>, AttributeListener<T>) - Method in interface jalse.attributes.AttributeContainer
-
Removes an attribute listener assigned to the supplied attribute type.
- removeAttributeListener(String, AttributeType<T>, AttributeListener<T>) - Method in interface jalse.attributes.AttributeContainer
-
Removes an attribute listener assigned to the supplied attribute type.
- removeAttributeListener(NamedAttributeType<T>, AttributeListener<T>) - Method in class jalse.attributes.DefaultAttributeContainer
-
- removeAttributeListener(NamedAttributeType<T>, AttributeListener<T>) - Method in class jalse.entities.DefaultEntity
-
- removeAttributeListeners() - Method in interface jalse.attributes.AttributeContainer
-
Removes all listeners.
- removeAttributeListeners(NamedAttributeType<T>) - Method in interface jalse.attributes.AttributeContainer
-
Removes all listeners for the supplied attribute types.
- removeAttributeListeners(String, AttributeType<T>) - Method in interface jalse.attributes.AttributeContainer
-
Removes all listeners for the supplied attribute types.
- removeAttributeListeners() - Method in class jalse.attributes.DefaultAttributeContainer
-
- removeAttributeListeners(NamedAttributeType<T>) - Method in class jalse.attributes.DefaultAttributeContainer
-
- removeAttributeListeners() - Method in class jalse.entities.DefaultEntity
-
- removeAttributeListeners(NamedAttributeType<T>) - Method in class jalse.entities.DefaultEntity
-
- removeAttributes() - Method in interface jalse.attributes.AttributeContainer
-
Removes all attributes within the container (firing removal events).
- removeAttributes() - Method in class jalse.attributes.DefaultAttributeContainer
-
- removeAttributes() - Method in class jalse.entities.DefaultEntity
-
- removeEntityListener(EntityListener) - Method in class jalse.DefaultJALSE
-
- removeEntityListener(EntityListener) - Method in class jalse.entities.DefaultEntity
-
- removeEntityListener(EntityListener) - Method in class jalse.entities.DefaultEntityContainer
-
- removeEntityListener(EntityListener) - Method in interface jalse.entities.EntityContainer
-
Removes a entity listener.
- removeEntityListeners() - Method in class jalse.DefaultJALSE
-
- removeEntityListeners() - Method in class jalse.entities.DefaultEntity
-
- removeEntityListeners() - Method in class jalse.entities.DefaultEntityContainer
-
- removeEntityListeners() - Method in interface jalse.entities.EntityContainer
-
Removes all listeners for entities.
- removeEntityTypeListener(EntityTypeListener) - Method in class jalse.entities.DefaultEntity
-
- removeEntityTypeListener(EntityTypeListener) - Method in interface jalse.entities.Entity
-
Removes a entity listener.
- removeEntityTypeListeners() - Method in class jalse.entities.DefaultEntity
-
- removeEntityTypeListeners() - Method in interface jalse.entities.Entity
-
Removes all listeners for entities.
- removeFromBindings(String) - Method in interface jalse.actions.ActionEngine
-
Removes a key-value pair from the engine bindings.
- removeMethodResolver(EntityMethodFunction) - Method in class jalse.entities.functions.EntityFunctionResolver
-
Removes a method function.
- removeMethodResolvers(Set<? extends EntityMethodFunction>) - Method in class jalse.entities.functions.EntityFunctionResolver
-
Removes a number of method functions.
- removeOfType(Class<? extends Tag>) - Method in class jalse.tags.TagTypeSet
-
Removes all tags of the specified type.
- removeOptAttribute(NamedAttributeType<T>) - Method in interface jalse.attributes.AttributeContainer
-
This is a convenience method for removing an attribute (no optional).
- removeOptAttribute(String, AttributeType<T>) - Method in interface jalse.attributes.AttributeContainer
-
This is a convenience method for removing an attribute (no optional).
- removeWaitingWork(T) - Method in class jalse.actions.ManualWorkQueue
-
Removes work from the queue.
- removeWork(ForkJoinActionEngine.ForkJoinContext<?>) - Method in class jalse.actions.ForkJoinActionEngine
-
Removes work from the engine.
- removeWork(ManualActionEngine.ManualContext<?>) - Method in class jalse.actions.ManualActionEngine
-
Removes work from the engine.
- requireNotEmpty(String) - Static method in class jalse.attributes.Attributes
-
Ensures the String is not null or empty.
- requireNotShutdown(T) - Static method in class jalse.actions.Actions
-
Validates the supplied service is not shutdown.
- requireNotStopped(ActionEngine) - Static method in class jalse.actions.Actions
-
Validates the supplied engine is not stopped.
- requiresContainerParam() - Method in class jalse.entities.methods.NewEntityMethod
-
Checks whether the container is required as param.
- requiresIDParam() - Method in class jalse.entities.methods.NewEntityMethod
-
Checks whether the ID is required as param.
- reset() - Method in class jalse.actions.AbstractManualActionContext
-
Resets the context to its starting state.
- resolver - Variable in class jalse.entities.DefaultEntityProxyFactory
-
Resolver for entity types.
- resolveType(Class<? extends Entity>) - Method in class jalse.entities.functions.EntityFunctionResolver
-
- resume() - Method in class jalse.actions.AbstractActionEngine
-
- resume() - Method in interface jalse.actions.ActionEngine
-
Resumes performing actions.
- resume() - Method in class jalse.actions.ManualActionEngine
-
- resume() - Method in class jalse.DefaultJALSE
-
- returnTypeIs(Method, Class<?>) - Static method in class jalse.entities.functions.Functions
-
Whether the method return type matches the supplied type.
- run() - Method in class jalse.actions.ThreadPoolActionEngine.ThreadPoolContext
-
- SchedulableActionContext<T> - Interface in jalse.actions
-
- schedule() - Method in class jalse.actions.AbstractManualActionContext
-
- schedule(Action<?>) - Method in interface jalse.actions.ActionEngine
-
Schedules an action for immediate execution.
- schedule(Action<T>, T) - Method in interface jalse.actions.ActionEngine
-
Schedules an action referencing an actor for immediate execution.
- schedule() - Method in interface jalse.actions.SchedulableActionContext
-
Schedules the action for execution.
- schedule() - Method in class jalse.actions.ThreadPoolActionEngine.ThreadPoolContext
-
- scheduleAndAwait() - Method in class jalse.actions.AbstractManualActionContext
-
- scheduleAndAwait() - Method in interface jalse.actions.SchedulableActionContext
-
This is a convenience method for scheduling and then awaiting execution (or cancellation) of
the action.
- scheduleForActor(Action<T>) - Method in interface jalse.actions.ActionScheduler
-
Schedules an action for immediate execution.
- scheduleForActor(Action<T>, long, long, TimeUnit) - Method in interface jalse.actions.ActionScheduler
-
Schedules an action for execution with a supplied initial delay and repeat period.
- scheduleForActor(Action<T>, long, TimeUnit) - Method in interface jalse.actions.ActionScheduler
-
Schedules an action to be executed after the supplied delay.
- scheduleForActor(Action<T>, long, long, TimeUnit) - Method in class jalse.actions.DefaultActionScheduler
-
- scheduleForActor(Action<JALSE>, long, long, TimeUnit) - Method in class jalse.DefaultJALSE
-
- ScheduleForActor - Annotation Type in jalse.entities.annotations
-
- scheduleForActor(Action<Entity>, long, long, TimeUnit) - Method in class jalse.entities.DefaultEntity
-
- ScheduleForActorFunction - Class in jalse.entities.functions
-
- ScheduleForActorFunction() - Constructor for class jalse.entities.functions.ScheduleForActorFunction
-
- ScheduleForActorMethod - Class in jalse.entities.methods
-
- ScheduleForActorMethod(Constructor<?>, long, long, TimeUnit) - Constructor for class jalse.entities.methods.ScheduleForActorMethod
-
Creates a schedule actor method.
- scheduler - Variable in class jalse.DefaultJALSE
-
Self action scheduler.
- scheduler - Variable in class jalse.entities.DefaultEntity
-
Self action scheduler.
- setActor(T) - Method in interface jalse.actions.SchedulableActionContext
-
Sets the referenced actor.
- setAttribute(NamedAttributeType<T>, T) - Method in interface jalse.attributes.AttributeContainer
-
Adds the supplied attribute to the collection.
- setAttribute(String, AttributeType<T>, T) - Method in interface jalse.attributes.AttributeContainer
-
Adds the supplied attribute to the collection.
- setAttribute(NamedAttributeType<T>, T) - Method in class jalse.attributes.DefaultAttributeContainer.Builder
-
Sets an attribute value.
- setAttribute(String, AttributeType<T>, T) - Method in class jalse.attributes.DefaultAttributeContainer.Builder
-
Sets an attribute value.
- setAttribute(NamedAttributeType<T>, T) - Method in class jalse.attributes.DefaultAttributeContainer
-
- SetAttribute - Annotation Type in jalse.entities.annotations
-
- setAttribute(NamedAttributeType<T>, T) - Method in class jalse.entities.DefaultEntity
-
- SetAttributeFunction - Class in jalse.entities.functions
-
- SetAttributeFunction() - Constructor for class jalse.entities.functions.SetAttributeFunction
-
- SetAttributeMethod - Class in jalse.entities.methods
-
- SetAttributeMethod(NamedAttributeType<Object>, boolean, boolean) - Constructor for class jalse.entities.methods.SetAttributeMethod
-
Creates a new set method
- setCommonPoolEngine() - Method in class jalse.DefaultJALSE.Builder
-
Users the common engine based on the common pool.
- setContainer(EntityContainer) - Method in class jalse.entities.DefaultEntity
-
Sets the parent container for the entity.
- setDelegateContainer(AttributeContainer) - Method in class jalse.attributes.DefaultAttributeContainer.Builder
-
Sets the delegate attribute container.
- setEngine(ActionEngine) - Method in class jalse.actions.DefaultActionScheduler
-
Associates a engine to this scheduler (if the engine changes all task references are lost).
- setEngine(ActionEngine) - Method in class jalse.entities.DefaultEntity
-
Associates an engine to the entity for scheduling actions.
- setEngine(ActionEngine) - Method in class jalse.entities.DefaultEntityFactory
-
- setEngine(ActionEngine) - Method in interface jalse.entities.EntityFactory
-
Sets the engine to supply to new entities.
- setForkJoinEngine() - Method in class jalse.DefaultJALSE.Builder
-
Sets fork join engine to be used.
- setFuture(Future<?>) - Method in class jalse.actions.AbstractFutureActionContext
-
Sets the future of the associated action task.
- setID(UUID) - Method in class jalse.DefaultJALSE.Builder
-
Sets the unique ID for JALSE instance.
- setIDSupplier(Supplier<UUID>) - Method in class jalse.entities.methods.GetEntityMethod
-
Sets the entity ID supplier.
- setIDSupplier(Supplier<UUID>) - Method in class jalse.entities.methods.KillEntityMethod
-
Sets the entity ID supplier.
- setIDSupplier(Supplier<UUID>) - Method in class jalse.entities.methods.NewEntityMethod
-
Set the entity ID supplier.
- setInitialDelay(long, TimeUnit) - Method in interface jalse.actions.SchedulableActionContext
-
Sets the initial delay.
- setManualEngine() - Method in class jalse.DefaultJALSE.Builder
-
Sets the engine to be a manual tick engine.
- setNoEntityLimit() - Method in class jalse.DefaultJALSE.Builder
-
Sets there to be no entity limit.
- setOptAttribute(NamedAttributeType<T>, T) - Method in interface jalse.attributes.AttributeContainer
-
This is a convenience method for adding an attribute (optional).
- setOptAttribute(String, AttributeType<T>, T) - Method in interface jalse.attributes.AttributeContainer
-
This is a convenience method for adding an attribute (optional).
- setParallelism(int) - Method in class jalse.DefaultJALSE.Builder
-
Sets the parallelism to be utilised by the engine.
- setParallelismToProcessors() - Method in class jalse.DefaultJALSE.Builder
-
Sets the parallelism to the available processors.
- setPeriod(long, TimeUnit) - Method in interface jalse.actions.SchedulableActionContext
-
Sets the period.
- setPeriodicOnException(boolean) - Method in interface jalse.actions.SchedulableActionContext
-
Sets whether the action continues to reschedule after an exception.
- setProxyFactory(EntityProxyFactory) - Static method in class jalse.entities.Entities
-
- setRandomID() - Method in class jalse.DefaultJALSE.Builder
-
Sets the ID to a random one.
- setRequiresContainerParam(boolean) - Method in class jalse.entities.methods.NewEntityMethod
-
Set whether the method requires container param.
- setRequiresIDParam(boolean) - Method in class jalse.entities.methods.NewEntityMethod
-
Set whether the method requires ID param.
- setSingleThread() - Method in class jalse.DefaultJALSE.Builder
-
Sets to use a single thread.
- setThreadPoolEngine() - Method in class jalse.DefaultJALSE.Builder
-
Sets thread pool engine to be used.
- setTotalEntityLimit(int) - Method in class jalse.DefaultJALSE.Builder
-
Sets the total entity limit parameter.
- SHORT_TYPE - Static variable in class jalse.attributes.Attributes
-
Short
Attribute type.
- size() - Method in class jalse.tags.TagTypeSet
-
- stop() - Method in class jalse.actions.AbstractActionEngine
-
- stop() - Method in interface jalse.actions.ActionEngine
-
Permanently stops the engine.
- stop() - Method in class jalse.actions.ForkJoinActionEngine
-
- stop() - Method in class jalse.actions.ManualActionEngine
-
- stop() - Method in class jalse.DefaultJALSE
-
- streamAttributes() - Method in interface jalse.attributes.AttributeContainer
-
Streams all of the attributes within the container.
- streamAttributes() - Method in class jalse.attributes.DefaultAttributeContainer
-
- streamAttributes() - Method in class jalse.entities.DefaultEntity
-
- streamEntities() - Method in class jalse.DefaultJALSE
-
- StreamEntities - Annotation Type in jalse.entities.annotations
-
- streamEntities() - Method in class jalse.entities.DefaultEntity
-
- streamEntities() - Method in class jalse.entities.DefaultEntityContainer
-
- streamEntities() - Method in interface jalse.entities.EntityContainer
-
Provides a stream of entities from the container.
- streamEntitiesAsType(Class<T>) - Method in interface jalse.entities.EntityContainer
-
Gets a stream of as the specified type.
- StreamEntitiesFunction - Class in jalse.entities.functions
-
- StreamEntitiesFunction() - Constructor for class jalse.entities.functions.StreamEntitiesFunction
-
- StreamEntitiesMethod - Class in jalse.entities.methods
-
- StreamEntitiesMethod(Class<? extends Entity>, Set<Supplier<UUID>>, boolean) - Constructor for class jalse.entities.methods.StreamEntitiesMethod
-
Creates a stream entities method.
- streamEntitiesOfType(Class<T>) - Method in interface jalse.entities.EntityContainer
-
Gets a stream of entities marked with the specified type.
- streamEntityIDs() - Method in interface jalse.entities.EntityContainer
-
Streams IDs of all the entities within the container.
- streamEntityTree() - Method in class jalse.DefaultJALSE
-
- streamEntityTree() - Method in interface jalse.JALSE
-
Streams the entire entity tree.
- streamMarkedAsTypes() - Method in class jalse.entities.DefaultEntity
-
- streamMarkedAsTypes() - Method in interface jalse.entities.Entity
-
Streams the types this entity has been marked as.
- streamTags() - Method in class jalse.DefaultJALSE
-
- streamTags() - Method in class jalse.entities.DefaultEntity
-
- streamTags() - Method in interface jalse.tags.Taggable
-
Streams all tag state information.
- STRING_TYPE - Static variable in class jalse.attributes.Attributes
-
String
Attribute type.