Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W 

A

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
An abstract implementation of SchedulableActionContext that is designed to be used with ExecutorService.
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
This is an abstract implementation of Identifiable.
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
A abstract implementation of SchedulableActionContext that is designed to be used manually.
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
Adds the EntityMethodFunctions to the resolver.
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
Attribute change event for AttributeListener.
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
Listener for AttributeType value manipulation.
attributeRemoved(AttributeEvent<T>) - Method in interface jalse.attributes.AttributeListener
Triggered when an attribute has been removed.
Attributes - Class in jalse.attributes
A utility for AttributeType value related functionality.
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).

B

BOOLEAN_TYPE - Static variable in class jalse.attributes.Attributes
Boolean Attribute type.
build() - Method in class jalse.actions.MultiAction.Builder
Builds the multi-action.
build() - Method in class jalse.attributes.DefaultAttributeContainer.Builder
Builds the container.
build() - Method in class jalse.DefaultJALSE.Builder
Builds an instance of JALSE with the supplied parameters.
buildChain(Action<S>...) - Static method in class jalse.actions.MultiAction
Builds an action that processes a chain of actions.
buildChain(List<? extends Action<S>>) - Static method in class jalse.actions.MultiAction
Builds an action that processes a chain of actions.
Builder() - Constructor for class jalse.actions.MultiAction.Builder
Creates a new builder instance.
Builder() - Constructor for class jalse.attributes.DefaultAttributeContainer.Builder
Creates a new builder.
Builder() - Constructor for class jalse.DefaultJALSE.Builder
Creates a new Builder instance.
BYTE_TYPE - Static variable in class jalse.attributes.Attributes
Byte Attribute type.

C

cache - Variable in class jalse.entities.DefaultEntityProxyFactory
Proxy cache for entities.
cancel() - Method in class jalse.actions.AbstractFutureActionContext
 
cancel() - Method in class jalse.actions.AbstractManualActionContext
 
cancel() - Method in interface jalse.actions.ActionContext
Cancels the associated action.
cancelAllScheduledForActor() - Method in interface jalse.actions.ActionScheduler
Cancels all tasks currently running/scheduled (scheduled by this).
cancelAllScheduledForActor() - Method in class jalse.actions.DefaultActionScheduler
Cancel all tasks scheduled to the current engine for the actor by this scheduler.
cancelAllScheduledForActor() - Method in class jalse.DefaultJALSE
 
cancelAllScheduledForActor() - Method in class jalse.entities.DefaultEntity
 
CHARACTER_TYPE - Static variable in class jalse.attributes.Attributes
Character Attribute type.
checkHasParams(Method) - Static method in class jalse.entities.functions.Functions
Checks whether the method has params.
checkHasReturnType(Method) - Static method in class jalse.entities.functions.Functions
Checks whether the method has a return type.
checkNoParams(Method) - Static method in class jalse.entities.functions.Functions
Checks whether the method has no params.
checkNoReturnType(Method) - Static method in class jalse.entities.functions.Functions
Checks whether the method has a void return type.
checkNotDefault(Method) - Static method in class jalse.entities.functions.Functions
Checks whether the method is not default.
clear() - Method in class jalse.tags.TagTypeSet
 
commonPoolEngine() - Static method in class jalse.actions.ForkJoinActionEngine
Gets the common ForkJoinActionEngine instance backed by ForkJoinPool.commonPool() (this cannot be paused or stopped).
compareTo(AbstractManualActionContext<?>) - Method in class jalse.actions.AbstractManualActionContext
 
container - Variable in class jalse.entities.DefaultEntity
Parent entity container.
contains(Object) - Method in class jalse.tags.TagTypeSet
 
containsKey(String) - Method in interface jalse.actions.ActionBindings
Whether the bindings contains a mapping for the supplied key.
containsOfType(Class<? extends Tag>) - Method in class jalse.tags.TagTypeSet
Checks whether the tag set contains any tags of that type.
copy(ActionContext<T>, SchedulableActionContext<T>) - Static method in class jalse.actions.Actions
Copies context information to a target context (actor, bindings, initial delay and period).

D

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
A simple yet fully featured Entity implementation.

This entity can be marked as alive (DefaultEntity.markAsAlive()) or dead (DefaultEntity.markAsDead()).
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
A EntityFactory implementation that creates/kills DefaultEntity.
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
This is the default EntityProxyFactory implementation for JALSE.
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
A JALSE implementation that using default implementations.

DefaultJALSE uses DefaultEntityFactory (with no Entity limit) and ForkJoinActionEngine.commonPoolEngine() by default if no EntityFactory or ActionEngine are provided.
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
A DefaultJALSE instance builder that uses the defined ActionEngine implementation with DefaultEntityFactory.

By default this builder uses the common pool (ForkJoinActionEngine.commonPoolEngine() ), has a random ID and has no entity limit.
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.

E

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
Creates an immutable empty ActionBindings.
emptyActionContext() - Static method in class jalse.actions.Actions
Creates an immutable empty SchedulableActionContext.
emptyActionEngine() - Static method in class jalse.actions.Actions
Creates an immutable empty ActionEngine.
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
This is an Entity collection.
entityCreated(EntityEvent) - Method in interface jalse.entities.EntityListener
Triggered on entity creation.
EntityEvent - Class in jalse.entities
Entity change event for EntityListener.
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
Annotation container for EntityID.
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
A function for resolving Method to EntityMethod.
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
Entity change event for EntityTypeListener.
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 allows Entity within an EntityContainer to be walked through one by one recursively.
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).

F

factory - Variable in class jalse.DefaultJALSE
Entity factory for creating/killing entities.
findEntityRecursively(EntityContainer, UUID) - Static method in class jalse.entities.Entities
Walks through the entity tree looking for an entity.
fireAttributeChanged(NamedAttributeType<T>) - Method in interface jalse.attributes.AttributeContainer
Manually fires an attribute change for the supplied attribute type.
fireAttributeChanged(String, AttributeType<T>) - Method in interface jalse.attributes.AttributeContainer
Manually fires an attribute change for the supplied attribute type.
fireAttributeChanged(NamedAttributeType<T>) - Method in class jalse.attributes.DefaultAttributeContainer
 
fireAttributeChanged(NamedAttributeType<T>) - Method in class jalse.entities.DefaultEntity
 
firstGenericTypeArg(Type) - Static method in class jalse.entities.functions.Functions
Gets the first generic type argument for a parameterised type.
FLOAT_TYPE - Static variable in class jalse.attributes.Attributes
Float Attribute type.
ForkJoinActionEngine - Class in jalse.actions
An implementation of ActionEngine based on ForkJoinPool.
ForkJoinActionEngine() - Constructor for class jalse.actions.ForkJoinActionEngine
Creates a new ForkJoinActionEngine instance with the default parallelism.
ForkJoinActionEngine(int) - Constructor for class jalse.actions.ForkJoinActionEngine
Creates a new ForkJoinActionEngine with the supplied parallelism.
ForkJoinActionEngine.ForkJoinContext<T> - Class in jalse.actions
Fork join context.
ForkJoinContext(Action<T>) - Constructor for class jalse.actions.ForkJoinActionEngine.ForkJoinContext
Creates a new ForkJoinContext.
Functions - Class in jalse.entities.functions
A utility for creating EntityFunction implementations.

G

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
This is a method function for GetAttribute annotation.
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
An Entity type annotation for: EntityContainer.getEntities() EntityContainer.getEntitiesOfType(Class) EntityContainer.getEntitiesAsType(Class) The method is selected based on whether type filtering is enabled (GetEntities.ofType()).
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
This is a method function for GetEntities annotation.
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.

H

hasActor() - Method in interface jalse.actions.ActionContext
Whether the context has an associated actor.
hasAttribute(NamedAttributeType<T>) - Method in interface jalse.attributes.AttributeContainer
Checks whether the container has a value associated to the supplied attribute type.
hasAttribute(String, AttributeType<T>) - Method in interface jalse.attributes.AttributeContainer
Checks whether the container has a value associated to the supplied attribute type.
hasAttributeListener(NamedAttributeType<T>, AttributeListener<T>) - Method in interface jalse.attributes.AttributeContainer
Checks whether the container contains a particular listener for a given attribute type.
hasAttributeListener(String, AttributeType<T>, AttributeListener<T>) - Method in interface jalse.attributes.AttributeContainer
Checks whether the container contains a particular listener for a given attribute type.
hasAttributeListeners(NamedAttributeType<T>) - Method in interface jalse.attributes.AttributeContainer
Checks whether the container contains any listeners for a given attribute type.
hasAttributeListeners(String, AttributeType<T>) - Method in interface jalse.attributes.AttributeContainer
Checks whether the container contains any listeners for a given attribute type.
hasAttributes() - Method in interface jalse.attributes.AttributeContainer
Checks whether the container has any attributes.
hasContainer() - Method in interface jalse.entities.Entity
Checks whether there is an associated container.
hasEntities() - Method in interface jalse.entities.EntityContainer
Checks whether the container has any entities.
hasEntity(UUID) - Method in interface jalse.entities.EntityContainer
Checks whether the entity is contained.
hasEntityListener(EntityListener) - Method in interface jalse.entities.EntityContainer
Checks whether the container contains a particular listener.
hasEntityTypeListener(EntityTypeListener) - Method in interface jalse.entities.Entity
Checks whether the container contains a particular listener.
hashCode() - Method in class jalse.actions.MultiAction.ActionOperation
 
hashCode() - Method in class jalse.attributes.AttributeType
 
hashCode() - Method in class jalse.attributes.DefaultAttributeContainer
 
hashCode() - Method in class jalse.attributes.NamedAttributeType
 
hashCode() - Method in class jalse.entities.DefaultEntityContainer
 
hashCode() - Method in class jalse.entities.functions.EntityFunction
 
hashCode() - Method in class jalse.misc.AbstractIdentifiable
 
hashCode(Identifiable) - Static method in interface jalse.misc.Identifiable
Generates a hashcode for an identifiable.
hasParams(Method) - Static method in class jalse.entities.functions.Functions
Wether the method has parameters.
hasReturnType(Method) - Static method in class jalse.entities.functions.Functions
Checks whether a method has a return type.

I

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
 

J

jalse - package jalse
This is the JALSE parent package.
JALSE - Interface in jalse
JALSE is the overall parent container and engine for each simulation.
jalse.actions - package jalse.actions
This package is for scheduling and managing Action (like Runnable but with a ActionContext and potentially associated actor).
jalse.attributes - package jalse.attributes
This package is for managing/storing AttributeType values.
jalse.entities - package jalse.entities
This package is for creating and storing Entity within EntityContainer.
jalse.entities.annotations - package jalse.entities.annotations
This package provides many Annotation to be used by EntityMethodFunction.
jalse.entities.functions - package jalse.entities.functions
This package provides the default EntityMethodFunction implementations to be used by EntityFunctionResolver.
jalse.entities.methods - package jalse.entities.methods
This package provides EntityMethod that are mapped to actual methods called on Entity (mapped by EntityFunctionResolver using the relevant EntityMethodFunction).
jalse.misc - package jalse.misc
This package is for shared utilities across all other packages.
jalse.tags - package jalse.tags
This package provides the Tag functionality.

K

kill() - Method in class jalse.entities.DefaultEntity
 
kill() - Method in interface jalse.entities.Entity
Kills the entity.
killEntities() - Method in class jalse.DefaultJALSE
 
KillEntities - Annotation Type in jalse.entities.annotations
An Entity type annotation for EntityContainer.killEntities().

See KillEntitiesFunction for acceptable method signatures.
killEntities() - Method in class jalse.entities.DefaultEntity
 
killEntities() - Method in class jalse.entities.DefaultEntityContainer
 
killEntities() - Method in interface jalse.entities.EntityContainer
Kills all entities.
KillEntitiesFunction - Class in jalse.entities.functions
This is a method function for KillEntities annotation.
KillEntitiesFunction() - Constructor for class jalse.entities.functions.KillEntitiesFunction
 
KillEntitiesMethod - Class in jalse.entities.methods
This is used for mapping calls to EntityContainer.killEntities().
KillEntitiesMethod(Set<Supplier<UUID>>) - Constructor for class jalse.entities.methods.KillEntitiesMethod
Creates a kill entities method.
killEntity(UUID) - Method in class jalse.DefaultJALSE
 
KillEntity - Annotation Type in jalse.entities.annotations
An Entity type annotation for EntityContainer.killEntity(UUID).

See KillEntityFunction for acceptable method signatures.
killEntity(UUID) - Method in class jalse.entities.DefaultEntity
 
killEntity(UUID) - Method in class jalse.entities.DefaultEntityContainer
 
killEntity(UUID) - Method in interface jalse.entities.EntityContainer
Kills the specified entity.
KillEntityFunction - Class in jalse.entities.functions
This is a method function for KillEntity annotation.
KillEntityFunction() - Constructor for class jalse.entities.functions.KillEntityFunction
 
KillEntityMethod - Class in jalse.entities.methods
This is used for mapping calls to EntityContainer.killEntity(UUID).
KillEntityMethod() - Constructor for class jalse.entities.methods.KillEntityMethod
Creates a new kill entity method.

L

ListenerSet<T> - Class in jalse.misc
Provides a thread-safe way to store and process listeners.
ListenerSet(Class<? super T>) - Constructor for class jalse.misc.ListenerSet
Creates a new instance of listener set for the supplied listener type.
ListenerSet(Class<? super T>, Set<? extends T>) - Constructor for class jalse.misc.ListenerSet
Creates a new instance of listener set for the supplied listener type.
LONG_TYPE - Static variable in class jalse.attributes.Attributes
Long Attribute type.

M

ManualActionEngine - Class in jalse.actions
A manual-tick implementation of ActionEngine.
ManualActionEngine() - Constructor for class jalse.actions.ManualActionEngine
Creates a new instance of ManualActionEngine.
ManualActionEngine.ManualContext<T> - Class in jalse.actions
Manual action context.
ManualContext(Action<T>) - Constructor for class jalse.actions.ManualActionEngine.ManualContext
Creates a new ManualActionContext instance.
ManualWorkQueue<T extends AbstractManualActionContext<?>> - Class in jalse.actions
A thread-safe queue for AbstractManualActionContext using the estimated perform time ( AbstractManualActionContext.getEstimated()).
ManualWorkQueue() - Constructor for class jalse.actions.ManualWorkQueue
Creates a new instance of ManualWorkQueue.
markAsAlive() - Method in class jalse.entities.DefaultEntity
Marks the entity as alive.
markAsDead() - Method in class jalse.entities.DefaultEntity
Marks the entity as dead.
MarkAsType - Annotation Type in jalse.entities.annotations
An Entity type annotation for Entity.markAsType(Class).

See MarkAsTypeFunction for acceptable method signatures.
markAsType(Class<? extends Entity>) - Method in class jalse.entities.DefaultEntity
 
markAsType(Class<? extends Entity>) - Method in interface jalse.entities.Entity
Adds the specified type to the entity.
MarkAsTypeFunction - Class in jalse.entities.functions
This is a method function for MarkAsType annotation.
MarkAsTypeFunction() - Constructor for class jalse.entities.functions.MarkAsTypeFunction
 
MarkAsTypeMethod - Class in jalse.entities.methods
This is used for mapping calls to Entity.markAsType(Class).
MarkAsTypeMethod(Class<? extends Entity>) - Constructor for class jalse.entities.methods.MarkAsTypeMethod
Creates a mark as type method.
MultiAction<T> - Class in jalse.actions
An multi-Action for creating Actions that chain, schedule or await other actions.
MultiAction() - Constructor for class jalse.actions.MultiAction
 
MultiAction.ActionOperation<T> - Class in jalse.actions
An Action operation to be executed by a MultiAction.
MultiAction.Builder<T> - Class in jalse.actions
A MultiAction instance builder.
MultiAction.OperationType - Enum in jalse.actions
The Action operations this multi-action supports.

N

NamedAttributeType<T> - Class in jalse.attributes
A named AttributeType for defining name-type combinations.
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.

O

OBJECT_TYPE - Static variable in class jalse.attributes.Attributes
Object Attribute type.

P

Parent - Class in jalse.tags
An immutable Tag used to identify a direct parent.
Parent(UUID) - Constructor for class jalse.tags.Parent
 
pause() - Method in class jalse.actions.AbstractActionEngine
 
pause() - Method in interface jalse.actions.ActionEngine
Pauses action processing.
pause() - Method in class jalse.actions.ManualActionEngine
 
pause() - Method in class jalse.DefaultJALSE
 
perform(ActionContext<T>) - Method in interface jalse.actions.Action
Performs the actions using the supplied action context.
perform(ActionContext<T>) - Method in class jalse.actions.MultiAction
 
performAction() - Method in class jalse.actions.AbstractManualActionContext
Performs the action (setting context state).
pollReadyWork() - Method in class jalse.actions.ManualWorkQueue
Polls for ready work (removes if work is available).
proxyOfEntity(Entity, Class<T>) - Method in class jalse.entities.DefaultEntityProxyFactory
 
proxyOfEntity(Entity, Class<T>) - Method in interface jalse.entities.EntityProxyFactory
Creates a proxy of the entity subclass.
put(String, T) - Method in interface jalse.actions.ActionBindings
Binds the supplied key-value pair.
put(String, T) - Method in class jalse.actions.DefaultActionBindings
 
putAll(Map<String, ?>) - Method in interface jalse.actions.ActionBindings
Binds all of the key-value pairs in the supplied map.
putAll(Map<String, ?>) - Method in class jalse.actions.DefaultActionBindings
 
putInBindings(String, T) - Method in interface jalse.actions.ActionEngine
Puts a key-value pair in the engine bindings.

R

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
Resolves an Entity type to a new resolved EntityFunction.
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
 

S

SchedulableActionContext<T> - Interface in jalse.actions
A mutable extension of ActionContext.
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
This is a method function for ScheduleForActor annotation.
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
This is a method function for SetAttribute annotation.
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
This is a method function for StreamEntities annotation.
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.

T

Tag - Interface in jalse.tags
Tags are used to provide internal state information without polluting the data model.
Taggable - Interface in jalse.tags
Used identify any class that is exposing internal state through Tag.
tags - Variable in class jalse.DefaultJALSE
Current state information.
tags - Variable in class jalse.entities.DefaultEntity
Current state information.
TagTypeSet - Class in jalse.tags
A tag set is a thread-safe Set implementation for Tag.
TagTypeSet() - Constructor for class jalse.tags.TagTypeSet
Creates a new instance of tag set.
TERMINATION_TIMEOUT - Static variable in class jalse.actions.AbstractActionEngine
How long the engine will wait until it times out and interrupts running threads on shutdown (configured via jalse.actions.termination_timeout system property).
ThreadPoolActionEngine - Class in jalse.actions
An implementation of ActionEngine based on ScheduledThreadPoolExecutor.
ThreadPoolActionEngine(int) - Constructor for class jalse.actions.ThreadPoolActionEngine
Creates a new instance of ThreadPoolActionEngine with the supplied core pool size.
ThreadPoolActionEngine.ThreadPoolContext<T> - Class in jalse.actions
Thread pool context.
ThreadPoolContext(Action<T>) - Constructor for class jalse.actions.ThreadPoolActionEngine.ThreadPoolContext
Creates new instance of ThreadPoolContext.
toClass(Type) - Static method in class jalse.entities.functions.Functions
Attempts to resolve raw class from type.
toIDSupplier(EntityID) - Static method in class jalse.entities.functions.Functions
Transforms the EntityID to a UUID supplier.
toMap() - Method in interface jalse.actions.ActionBindings
Maps the key-values combinations.
toMap() - Method in class jalse.actions.DefaultActionBindings
 
toString() - Method in class jalse.actions.DefaultActionBindings
 
toString() - Method in class jalse.attributes.AttributeType
 
toString() - Method in class jalse.attributes.DefaultAttributeContainer
 
toString() - Method in class jalse.attributes.NamedAttributeType
 
toString() - Method in class jalse.entities.DefaultEntityContainer
 
toString() - Method in class jalse.entities.DefaultEntityFactory
 
toString() - Method in class jalse.misc.AbstractIdentifiable
 
toString(Identifiable) - Static method in interface jalse.misc.Identifiable
Creates a simple to string for the identifiable.
transfer(EntityContainer) - Method in class jalse.entities.DefaultEntity
 
transfer(EntityContainer) - Method in interface jalse.entities.Entity
Transfers this entity to the specified destination container.
transferAllEntities(EntityContainer) - Method in interface jalse.entities.EntityContainer
Transfers all entities to the destination.
transferEntities(Predicate<Entity>, EntityContainer) - Method in interface jalse.entities.EntityContainer
Transfers all entities to the destination.
transferEntities(Set<UUID>, EntityContainer) - Method in interface jalse.entities.EntityContainer
Transfers a number of entities
transferEntity(UUID, EntityContainer) - Method in class jalse.DefaultJALSE
 
transferEntity(UUID, EntityContainer) - Method in class jalse.entities.DefaultEntity
 
transferEntity(UUID, EntityContainer) - Method in class jalse.entities.DefaultEntityContainer
 
transferEntity(UUID, EntityContainer) - Method in interface jalse.entities.EntityContainer
Transfers the entity to the supplied destination container.
tryImportEntity(Entity, EntityContainer) - Method in class jalse.entities.DefaultEntityFactory
 
tryImportEntity(Entity, EntityContainer) - Method in interface jalse.entities.EntityFactory
Imports the entity into the factory.
tryKillEntity(Entity) - Method in class jalse.entities.DefaultEntityFactory
 
tryKillEntity(Entity) - Method in interface jalse.entities.EntityFactory
Kills the specified entity.
tryTakeFromTree(Entity, EntityContainer) - Method in class jalse.entities.DefaultEntityFactory
 
tryTakeFromTree(Entity, EntityContainer) - Method in interface jalse.entities.EntityFactory
Tries to take the entity from within the tree if possible.

U

uncacheAllProxies() - Method in class jalse.entities.DefaultEntityProxyFactory
Uncaches all proxies.
uncacheProxiesOfEntity(Entity) - Method in class jalse.entities.DefaultEntityProxyFactory
Uncaches all proxies for an entity.
uncacheProxyOfEntity(Entity, Class<? extends Entity>) - Method in class jalse.entities.DefaultEntityProxyFactory
Uncaches the specific type proxy for an entity.
unmarkAsAllTypes() - Method in class jalse.entities.DefaultEntity
 
unmarkAsAllTypes() - Method in interface jalse.entities.Entity
Removes all the types from the entity.
UnmarkAsType - Annotation Type in jalse.entities.annotations
An Entity type annotation for Entity.unmarkAsType(Class).

See UnmarkAsTypeFunction for acceptable method signatures.
unmarkAsType(Class<? extends Entity>) - Method in class jalse.entities.DefaultEntity
 
unmarkAsType(Class<? extends Entity>) - Method in interface jalse.entities.Entity
Removes the specified type from the entity.
UnmarkAsTypeFunction - Class in jalse.entities.functions
This is a method function for UnmarkAsType annotation.
UnmarkAsTypeFunction() - Constructor for class jalse.entities.functions.UnmarkAsTypeFunction
 
UnmarkAsTypeMethod - Class in jalse.entities.methods
This is used for mapping calls to Entity.unmarkAsType(Class).
UnmarkAsTypeMethod(Class<? extends Entity>) - Constructor for class jalse.entities.methods.UnmarkAsTypeMethod
Creates a unmark as type method.
unmodifiableActionBindings(ActionBindings) - Static method in class jalse.actions.Actions
Creates an immutable ActionBindings.
unmodifiableActionEngine(ActionEngine) - Static method in class jalse.actions.Actions
Creates an immutable ActionEngine.
unmodifiableAttributeContainer(AttributeContainer) - Static method in class jalse.attributes.Attributes
Creates an immutable read-only delegate attribute container for the supplied container.
unmodifiableEntityContainer(EntityContainer) - Static method in class jalse.entities.Entities
Creates an immutable read-only delegate entity container for the supplied container.
unmodifiableEntityFactory(EntityFactory) - Static method in class jalse.entities.Entities
Creates an immutable read-only delegate entity factory for the supplied factory.
unresolveAllTypes() - Method in class jalse.entities.functions.EntityFunctionResolver
Uncaches all resolved types.
unresolveType(Class<? extends Entity>) - Method in class jalse.entities.functions.EntityFunctionResolver
Uncaches a resolved type.
unschedulableActionContext(SchedulableActionContext<T>) - Static method in class jalse.actions.Actions
Creates an immutable SchedulableActionContext that ActionContext.cancel() and ActionContext.await() can still be called.
unwrap(Class<?>) - Static method in class jalse.entities.functions.Functions
Unwraps the primitive wrapper to the primitive type.

V

validateEntityID(EntityID) - Static method in class jalse.entities.functions.Functions
Validates an EntityID annotation is correctly formed.
validateType(Class<? extends Entity>) - Method in class jalse.entities.DefaultEntityProxyFactory
 
validateType(Class<? extends Entity>) - Static method in class jalse.entities.Entities
Validates the entity type.
validateType(Class<? extends Entity>) - Method in interface jalse.entities.EntityProxyFactory
Validates the type can be proxied.
valueOf(String) - Static method in enum jalse.actions.MultiAction.OperationType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum jalse.entities.EntityVisitor.EntityVisitResult
Returns the enum constant of this type with the specified name.
values() - Static method in enum jalse.actions.MultiAction.OperationType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum jalse.entities.EntityVisitor.EntityVisitResult
Returns an array containing the constants of this enum type, in the order they are declared.
valueType - Variable in class jalse.attributes.AttributeType
Attribute value type.
visit(Entity) - Method in interface jalse.entities.EntityVisitor
The walker visiting this entity.

W

waitingWorkSize() - Method in class jalse.actions.ManualWorkQueue
Gets the waiting work count.
walkEntities(EntityContainer) - Static method in class jalse.entities.Entities
A lazy-walked stream of entities (recursive and breadth-first).
walkEntities(EntityContainer, int) - Static method in class jalse.entities.Entities
A lazy-walked stream of entities (recursive and breadth-first).
walkEntityTree(EntityContainer, EntityVisitor) - Static method in class jalse.entities.Entities
Walks through all entities (recursive and breadth-first).
walkEntityTree(EntityContainer, int, EntityVisitor) - Static method in class jalse.entities.Entities
Walks through all entities (recursive and breadth-first).
withinSameTree(EntityContainer, EntityContainer) - Method in class jalse.entities.DefaultEntityFactory
 
withinSameTree(EntityContainer, EntityContainer) - Static method in class jalse.entities.Entities
Checks to see if an container is in the same tree as the other container (checking highest parent container).
withinSameTree(EntityContainer, EntityContainer) - Method in interface jalse.entities.EntityFactory
Checks if the two containers are within the same tree (for in tree transfer or export).
wrap(Class<?>) - Static method in class jalse.entities.functions.Functions
Gets the wrapper type for the primitive type.
A B C D E F G H I J K L M N O P R S T U V W 
Skip navigation links