- AccessFlag - Class in ch.awae.utils
-
Access Flags encapsulate the access flag pattern where a flag is used to
enable or disable access to certain functions.
- AccessFlag() - Constructor for class ch.awae.utils.AccessFlag
-
- AccessFlag(String) - Constructor for class ch.awae.utils.AccessFlag
-
- AccessFlag(boolean) - Constructor for class ch.awae.utils.AccessFlag
-
- AccessFlag(String, boolean) - Constructor for class ch.awae.utils.AccessFlag
-
- AccessFlag(boolean, Supplier<RuntimeException>) - Constructor for class ch.awae.utils.AccessFlag
-
- add(E) - Method in class ch.awae.utils.collection.mutable.LinkedQueue
-
- add(E) - Method in class ch.awae.utils.collection.mutable.PriorityQueue
-
- add(E, double) - Method in class ch.awae.utils.collection.mutable.PriorityQueue
-
Adds a new element with a defined priority
- add(Runnable) - Method in class ch.awae.utils.Shutdown
-
adds a Runnable with default priority (0) to the shutdown
system.
- add(Runnable, double) - Method in class ch.awae.utils.Shutdown
-
- addAll(Collection<? extends E>) - Method in class ch.awae.utils.collection.mutable.LinkedQueue
-
- addAll(Collection<? extends E>) - Method in class ch.awae.utils.collection.mutable.PriorityQueue
-
- addArbitrarySequence(String, String[], String, String...) - Method in class ch.awae.utils.statemachine.MachineCoreBuilder
-
Creates a network of states and transitions covering all possible
permutations of a given list of events.
- addFunnel(String[], String, String, String...) - Method in class ch.awae.utils.statemachine.MachineCoreBuilder
-
Adds a new transition from all the origin states to a single target state
essentially funnelling the state flow.
- addMachineCore(MachineCoreBuilder) - Method in class ch.awae.utils.statemachine.StateMachineBuilder
-
- addNode(String) - Method in interface ch.awae.utils.xml.XPath
-
Adds a node with the given name into each of the current nodes and
returns an XPath containing all created nodes
- addSequence(String, String[], String, String...) - Method in class ch.awae.utils.statemachine.MachineCoreBuilder
-
Adds a sequence of state transitions with anonymous states for the
intermediate steps.
- addTransition(String, String, String, String...) - Method in class ch.awae.utils.statemachine.MachineCoreBuilder
-
Adds a new transition between two states.
- all(Logic...) - Static method in interface ch.awae.utils.logic.Logic
-
Creates a logic instance that evaluates to true iff all base
instance evaluate to true.
- all() - Method in class ch.awae.utils.logic.LogicGroup
-
- and(C) - Method in class ch.awae.utils.functional.T2
-
- and(D) - Method in class ch.awae.utils.functional.T3
-
- and(Logic) - Method in interface ch.awae.utils.logic.Logic
-
Combines this logic instance with another one in an AND
operation.
- and(Logic, Logic...) - Static method in interface ch.awae.utils.logic.Logic
-
Creates a
Logic instance that combines all given logic instances
with an
AND operation.
- andThen(FailableFunction1<T, S>) - Method in interface ch.awae.utils.functional.FailableFunction0
-
- andThen(FailableFunction1<? super T, ? extends S>) - Method in interface ch.awae.utils.functional.FailableFunction1
-
- andThen(Function<? super T, ? extends S>) - Method in interface ch.awae.utils.functional.Function0
-
- andThen(Function<? super T, ? extends V>) - Method in interface ch.awae.utils.functional.Function1
-
- andThen(Function<? super T, ? extends V>) - Method in interface ch.awae.utils.functional.Function2
-
- andThen(Function<? super T, ? extends S>) - Method in interface ch.awae.utils.functional.Function3
-
- andThen(Function<? super T, ? extends S>) - Method in interface ch.awae.utils.functional.Function4
-
- any(Logic...) - Static method in interface ch.awae.utils.logic.Logic
-
Creates a logic instance that evaluates to true if any base
instance evaluates to true.
- any() - Method in class ch.awae.utils.logic.LogicGroup
-
- any() - Method in interface ch.awae.utils.xml.XPath
-
Recursively returns an XPath containing all current nodes and all their
children
- apply() - Method in interface ch.awae.utils.functional.FailableFunction0
-
- apply(A) - Method in interface ch.awae.utils.functional.FailableFunction1
-
- apply() - Method in interface ch.awae.utils.functional.Function0
-
- apply(A, B, C) - Method in interface ch.awae.utils.functional.Function3
-
- apply(A, B, C, D) - Method in interface ch.awae.utils.functional.Function4
-
- AStarPathfinder<V> - Class in ch.awae.utils.pathfinding
-
Path Finder based on the A-Star algorithm.
- AStarPathfinder(GraphDataProvider<V>) - Constructor for class ch.awae.utils.pathfinding.AStarPathfinder
-
- attribute(String) - Method in interface ch.awae.utils.xml.XPath
-
Returns a stream containing the attribute value for a given attribute
name for each element
- attributes() - Method in interface ch.awae.utils.xml.XPath
-
Returns a stream containing a list of attribute tuples for each elements
- call() - Method in interface ch.awae.utils.functional.FailableFunction0
-
- ch.awae.utils - package ch.awae.utils
-
awaeUtils contains a collection of utility classes and types.
- ch.awae.utils.collection.immutable - package ch.awae.utils.collection.immutable
-
A collection of immutable collection classes.
- ch.awae.utils.collection.mutable - package ch.awae.utils.collection.mutable
-
A collection of mutable collection classes.
- ch.awae.utils.concurrent - package ch.awae.utils.concurrent
-
- ch.awae.utils.functional - package ch.awae.utils.functional
-
A set of functional types and interfaces.
- ch.awae.utils.logic - package ch.awae.utils.logic
-
The
Logic system provides an intuitive
extension to the
BooleanSupplier that supports
boolean operators for more expressive solutions.
- ch.awae.utils.pathfinding - package ch.awae.utils.pathfinding
-
General Path-Finding library.
- ch.awae.utils.sequence - package ch.awae.utils.sequence
-
- ch.awae.utils.serial - package ch.awae.utils.serial
-
A set of interfaces containing the correct method signatures for
serialization.
- ch.awae.utils.source - package ch.awae.utils.source
-
- ch.awae.utils.statemachine - package ch.awae.utils.statemachine
-
- ch.awae.utils.xml - package ch.awae.utils.xml
-
- children() - Method in interface ch.awae.utils.xml.XPath
-
Returns an XPath containing all children of all current nodes
- clear() - Method in class ch.awae.utils.collection.mutable.LinkedQueue
-
- clear() - Method in class ch.awae.utils.collection.mutable.PriorityQueue
-
- cluster(Logic...) - Static method in interface ch.awae.utils.logic.Logic
-
prepares a function evaluating all given elements and returns a summary
representing all states as a number.
- CommandProcessor - Class in ch.awae.utils.statemachine
-
A command processor that handles commands asynchronously directly from the
command queue of a
StateMachine.
- CommandProcessor(StateMachine, Consumer<String>) - Constructor for class ch.awae.utils.statemachine.CommandProcessor
-
- compile() - Method in interface ch.awae.utils.sequence.IRootSequenceBuilder
-
compile the constructed sequence into a full
Sequence instance
- compileRaw() - Method in interface ch.awae.utils.sequence.IRootSequenceBuilder
-
compile the sequence into a raw interruptible runnable
- compose(FailableFunction1<? super V, ? extends A>) - Method in interface ch.awae.utils.functional.FailableFunction1
-
- compose(FailableFunction0<? extends A>) - Method in interface ch.awae.utils.functional.FailableFunction1
-
- compose(Function<? super V, ? extends A>) - Method in interface ch.awae.utils.functional.Function1
-
- compose(Supplier<? extends A>) - Method in interface ch.awae.utils.functional.Function1
-
- compose(BiFunction<? super V, ? super W, ? extends A>) - Method in interface ch.awae.utils.functional.Function1
-
- compose(Function3<? super V, ? super W, ? super X, ? extends A>) - Method in interface ch.awae.utils.functional.Function1
-
- compose(Function4<? super V, ? super W, ? super X, ? super Z, ? extends A>) - Method in interface ch.awae.utils.functional.Function1
-
- contains(Object) - Method in class ch.awae.utils.collection.immutable.List
-
Checks if this list contains a given element
- contains(Object) - Method in class ch.awae.utils.collection.mutable.LinkedQueue
-
- contains(Object) - Method in class ch.awae.utils.collection.mutable.PriorityQueue
-
- containsAll(Collection<?>) - Method in class ch.awae.utils.collection.mutable.LinkedQueue
-
- containsAll(Collection<?>) - Method in class ch.awae.utils.collection.mutable.PriorityQueue
-
- copy() - Method in class ch.awae.utils.statemachine.MachineCoreBuilder
-
creates a copy of this builder instance.
- copy() - Method in class ch.awae.utils.statemachine.StateMachineBuilder
-
creates a copy of this builder
- count(int, Logic...) - Static method in interface ch.awae.utils.logic.Logic
-
Creates a logic instance that counts how many base instances evaluate to
true.
- count(int) - Method in class ch.awae.utils.logic.LogicGroup
-
- create(GraphDataProvider<T>) - Static method in class ch.awae.utils.pathfinding.AStarPathfinder
-
- create(GraphDataProvider<T>) - Static method in class ch.awae.utils.pathfinding.DijkstraPathfinder
-
- curry() - Method in interface ch.awae.utils.functional.Function2
-
- curry() - Method in interface ch.awae.utils.functional.Function3
-
- curry() - Method in interface ch.awae.utils.functional.Function4
-
- curry() - Method in class ch.awae.utils.functional.T3
-
- curry() - Method in class ch.awae.utils.functional.T4
-
- CustomDeserialization - Interface in ch.awae.utils.serial
-
Marks a class as serializable with custom deserialization.
- CustomSerialization - Interface in ch.awae.utils.serial
-
Marks a class as serializable with custom serialization and deserialization.
- EARLIER - Static variable in class ch.awae.utils.Shutdown
-
The default priority for operations that should be performed very early
in the sequence.
- EARLY - Static variable in class ch.awae.utils.Shutdown
-
The default priority for operations that should be performed rather early
in the sequence.
- edge() - Method in interface ch.awae.utils.logic.Logic
-
Creates an edge-triggering
Logic instance.
- edge(Logic) - Static method in interface ch.awae.utils.logic.Logic
-
Creates an edge triggered logic instance.
- element() - Method in class ch.awae.utils.collection.mutable.LinkedQueue
-
- element() - Method in class ch.awae.utils.collection.mutable.PriorityQueue
-
- empty() - Static method in class ch.awae.utils.collection.immutable.List
-
Provides the empty list for any type argument
- empty() - Static method in class ch.awae.utils.functional.Result
-
Returns an empty result
- EMPTY_SPATIAL_ARRAY - Static variable in interface ch.awae.utils.pathfinding.Vertex
-
An empty double array used as the default 0-dimensional spatial
coordinates for any vertex.
- end() - Method in interface ch.awae.utils.sequence.ISubSequenceBuilder
-
end the loop represented by this sub-sequence
- equals(Object) - Method in class ch.awae.utils.collection.immutable.List
-
- equals(Object) - Method in class ch.awae.utils.functional.T2
-
- equals(Object) - Method in class ch.awae.utils.Lazy
-
- eval(FailableFunction0<T>) - Static method in class ch.awae.utils.functional.Result
-
Evaluates a given expression and returns a result according to the
expression result.
- evaluate() - Method in interface ch.awae.utils.logic.Logic
-
Evaluates the logic object to a boolean value.
- evaluate() - Method in class ch.awae.utils.logic.LogicCluster
-
Evaluates the cluster.
- event(String) - Method in interface ch.awae.utils.statemachine.StateMachine
-
Adds a new event to the internal event queue
- EventGenerator - Class in ch.awae.utils.statemachine
-
Asynchronous event generation.
- EventGenerator(StateMachine, String, long) - Constructor for class ch.awae.utils.statemachine.EventGenerator
-
creates a new event generator for a given event
- EventGenerator(StateMachine, Supplier<String>, long) - Constructor for class ch.awae.utils.statemachine.EventGenerator
-
creates a new event generator based off a Supplier function.
- exception() - Method in class ch.awae.utils.functional.Result
-
Returns the exception contained in the result
- execute(V, V) - Method in class ch.awae.utils.pathfinding.AStarPathfinder
-
- execute(V, V) - Method in class ch.awae.utils.pathfinding.DijkstraPathfinder
-
- execute(V, V) - Method in interface ch.awae.utils.pathfinding.Pathfinder
-
- execute(T, T) - Method in class ch.awae.utils.pathfinding.VertexPathfinder
-
- extractDiagram() - Method in interface ch.awae.utils.statemachine.StateMachine
-
Creates a graphviz (dot) compatible graph from the state machine.
- FailableFunction0<T> - Interface in ch.awae.utils.functional
-
Similar to Supplier but able to throw any
arbitrary exception.
- FailableFunction1<A,T> - Interface in ch.awae.utils.functional
-
Similar to Function but able to throw any
arbitrary exception.
- failure(Throwable) - Static method in interface ch.awae.utils.functional.Try
-
- failure(long, long) - Static method in class ch.awae.utils.pathfinding.PathfindingResult
-
- FALSE - Static variable in interface ch.awae.utils.logic.Logic
-
a logic instance that always evaluates to false
- filterAttribute(String) - Method in interface ch.awae.utils.xml.XPath
-
Returns an XPath containing all current elements that contain an argument
with the given name
- filterAttribute(String, String) - Method in interface ch.awae.utils.xml.XPath
-
Returns an XPath containing all current elements that have a given
attribute with a given value
- filterAttribute(String, Predicate<String>) - Method in interface ch.awae.utils.xml.XPath
-
Returns an XPath containing all current elements that have a given
attribute validated by a given predicate
- filterName(Predicate<String>) - Method in interface ch.awae.utils.xml.XPath
-
Returns an XPath containing all current elements that have a name
validated by a given predicate
- findPath(V, V) - Method in interface ch.awae.utils.pathfinding.Pathfinder
-
Finds a path for the given starting point and the given destination
- FIRST - Static variable in class ch.awae.utils.Shutdown
-
The highest possible priority.
- flatMap(FailableFunction1<T, Result<E>>) - Method in class ch.awae.utils.functional.Result
-
Applies the mapping function to the value of the result and returns the
result returned by the mapping function.
- flatMap(Function<T, Try<S>>) - Method in interface ch.awae.utils.functional.Try
-
- flatMapException(FailableFunction1<Throwable, Result<T>>) - Method in class ch.awae.utils.functional.Result
-
Applies the mapping function to the exception and returns the result
returned by it.
- flip() - Method in class ch.awae.utils.functional.T2
-
Returns a tuple with the same elements as this one, but in the reverse
order
- from(Collection<T>) - Static method in class ch.awae.utils.collection.immutable.List
-
Creates a new list from a given collection
- from(BooleanSupplier) - Static method in interface ch.awae.utils.logic.Logic
-
Creates a new
Logic instance from a
BooleanSupplier
- fromFile(String) - Static method in class ch.awae.utils.source.Source
-
Returns a Source based of the given file name.
- fromStream(InputStream) - Static method in class ch.awae.utils.source.Source
-
Returns a Source based of the given input stream
This method does not validate the given stream.
- fromURL(String) - Static method in class ch.awae.utils.source.Source
-
Returns a Source based of the given URL.
- Function0<T> - Interface in ch.awae.utils.functional
-
- Function1<A,T> - Interface in ch.awae.utils.functional
-
- Function2<A,B,T> - Interface in ch.awae.utils.functional
-
- Function3<A,B,C,T> - Interface in ch.awae.utils.functional
-
- Function4<A,B,C,D,T> - Interface in ch.awae.utils.functional
-
- get(int) - Method in class ch.awae.utils.collection.immutable.List
-
Retrieves the element at a given index
- get() - Method in interface ch.awae.utils.functional.Function0
-
- get() - Method in class ch.awae.utils.functional.Result
-
Returns the value contained in the result
- get() - Method in interface ch.awae.utils.functional.Try
-
- get() - Method in class ch.awae.utils.Lazy
-
Retrieves the value and calculates it when required
- getCommandQueue() - Method in interface ch.awae.utils.statemachine.StateMachine
-
Provides the command queue associated with the state machine.
- getCurrentState() - Method in interface ch.awae.utils.statemachine.StateMachine
-
Creates a SavedState instance representing the current state of the state
machine.
- getDefaultShutdown() - Static method in class ch.awae.utils.Shutdown
-
Provides a global Shutdown handler.
- getDistance(T, T) - Method in interface ch.awae.utils.pathfinding.GraphDataProvider
-
Provides the distance between two vertices.
- getDistance(T) - Method in interface ch.awae.utils.pathfinding.Vertex
-
returns the distance to the given neighbour
- getDocument() - Method in class ch.awae.utils.xml.XML
-
Gets the backing DOM Document
- getFailure() - Method in interface ch.awae.utils.functional.Try
-
- getHeuristicDistance(T, T) - Method in interface ch.awae.utils.pathfinding.GraphDataProvider
-
Provides a heuristic distance between two vertices.
- getLocalID() - Method in class ch.awae.utils.statemachine.MachineCoreBuilder
-
Provides the local id that is used to prefix local events
- getNeighbours(T) - Method in interface ch.awae.utils.pathfinding.GraphDataProvider
-
Looks up and provides the vertices directly reachable from the given
vertex.
- getNeighbours() - Method in interface ch.awae.utils.pathfinding.Vertex
-
returns a list of all neighbours of the vertex
- getSpatialPosition() - Method in interface ch.awae.utils.pathfinding.Vertex
-
provides spatial information about a vertex if applicable.
- getTarget(String, String) - Method in class ch.awae.utils.statemachine.MachineCoreBuilder
-
Searches the target state for a given transition originating at a given
node
- getTimeout() - Method in class ch.awae.utils.pathfinding.AStarPathfinder
-
- getTimeout() - Method in class ch.awae.utils.pathfinding.DijkstraPathfinder
-
- getTimeout() - Method in interface ch.awae.utils.pathfinding.Pathfinder
-
gets the currently set timeout value or 0 if timeouts are
disabled.
- getTimeout() - Method in class ch.awae.utils.pathfinding.VertexPathfinder
-
- getUUID() - Method in interface ch.awae.utils.statemachine.StateMachine
-
provides the UUID of the state machine
- getUUID() - Method in interface ch.awae.utils.statemachine.StateMachine.SavedState
-
provides the UUID associated with the
StateMachine that
created this instance.
- GraphDataProvider<T> - Interface in ch.awae.utils.pathfinding
-
- ifEmpty(Runnable) - Method in class ch.awae.utils.functional.Result
-
Invokes the runnable if the result is empty
- ifErroneous(Consumer<Throwable>) - Method in class ch.awae.utils.functional.Result
-
Evaluates the consumer with the exception if it exists
- ifPresent(Consumer<T>) - Method in class ch.awae.utils.functional.Result
-
Evaluates the consumer with the value if it exists
- index(int) - Method in interface ch.awae.utils.xml.XPath
-
Returns an XPath containing the node with a given index
- indexRange(int, int) - Method in interface ch.awae.utils.xml.XPath
-
Returns an XPath containing a given number of nodes starting at a given
index
- InterruptibleRunnable - Interface in ch.awae.utils.functional
-
Similar to Runnable but with the ability to be interrupted.
- IRootSequenceBuilder - Interface in ch.awae.utils.sequence
-
Sequence Builder for the root sequence.
- isEmpty() - Method in class ch.awae.utils.collection.immutable.List
-
Indicates if this is the empty list
- isEmpty() - Method in class ch.awae.utils.collection.mutable.LinkedQueue
-
- isEmpty() - Method in class ch.awae.utils.collection.mutable.PriorityQueue
-
- isEmpty() - Method in class ch.awae.utils.functional.Result
-
Indicates if the result is an empty result.
- ISequenceBuilder<T extends ISequenceBuilder<T>> - Interface in ch.awae.utils.sequence
-
Base interface for all sequence builders
- isErroneous() - Method in class ch.awae.utils.functional.Result
-
Indicates if the result is an error result.
- isFailure() - Method in interface ch.awae.utils.functional.Try
-
- isFailure() - Method in class ch.awae.utils.pathfinding.PathfindingResult
-
- isInitialised() - Method in class ch.awae.utils.Lazy
-
Indicates whether or not the value has already been initialised.
- isLocked() - Method in class ch.awae.utils.AccessFlag
-
- isMaxQueue() - Method in class ch.awae.utils.collection.mutable.PriorityQueue
-
indicates if the queue has a max-queue configuration
- isMinQueue() - Method in class ch.awae.utils.collection.mutable.PriorityQueue
-
indicates if the queue has a min-queue configuration
- isPresent() - Method in class ch.awae.utils.functional.Result
-
Indicates if a value is present.
- isSuccess() - Method in interface ch.awae.utils.functional.Try
-
- isSuccess() - Method in class ch.awae.utils.pathfinding.PathfindingResult
-
- isTimeout() - Method in class ch.awae.utils.pathfinding.PathfindingResult
-
- ISubSequenceBuilder<T extends ISequenceBuilder<T>> - Interface in ch.awae.utils.sequence
-
sequence builder for sub-sequences.
- IterativeRunner - Class in ch.awae.utils.concurrent
-
This prebuilt Runnable implementation allows for a very simple
implementation.
- IterativeRunner() - Constructor for class ch.awae.utils.concurrent.IterativeRunner
-
- iterator() - Method in class ch.awae.utils.collection.immutable.List
-
- iterator() - Method in class ch.awae.utils.collection.mutable.LinkedQueue
-
- iterator() - Method in class ch.awae.utils.collection.mutable.PriorityQueue
-
- LAST - Static variable in class ch.awae.utils.Shutdown
-
The lowest possible priority.
- LATE - Static variable in class ch.awae.utils.Shutdown
-
The default priority for operations that should be performed rather late
in the sequence.
- LATER - Static variable in class ch.awae.utils.Shutdown
-
The default priority for operations that should be performed very late in
the sequence.
- Lazy<T> - Class in ch.awae.utils
-
Wrapper Object for lazy initialisation.
- Lazy(Supplier<? extends T>) - Constructor for class ch.awae.utils.Lazy
-
Creates a new lazy instance based on the provided supplier method
- LinkedQueue<E> - Class in ch.awae.utils.collection.mutable
-
This is a very basic linked queue implementation without any real
synchronisation.
- LinkedQueue() - Constructor for class ch.awae.utils.collection.mutable.LinkedQueue
-
- List<T> - Class in ch.awae.utils.collection.immutable
-
Immutable Single-Linked List.
- List(T, List<? extends T>) - Constructor for class ch.awae.utils.collection.immutable.List
-
Creates a new list from a head and a tail.
- loadState(StateMachine.SavedState, boolean) - Method in interface ch.awae.utils.statemachine.StateMachine
-
Loads the state represented by a given SavedState instance and sets the
state machine to that state.
- lock() - Method in class ch.awae.utils.AccessFlag
-
- lockWhile(Runnable) - Method in class ch.awae.utils.AccessFlag
-
Tests if the access is locked.
- Logic - Interface in ch.awae.utils.logic
-
Base interface for composeable boolean logic operating on a Model.
- LogicCluster - Class in ch.awae.utils.logic
-
A LogicCluster allows the simultaneous evaluation and handling of up to 32
Logic instances.
- LogicCluster(Logic...) - Constructor for class ch.awae.utils.logic.LogicCluster
-
Creates a new cluster instance from a list of
Logic elements.
- LogicGroup - Class in ch.awae.utils.logic
-
Groups a list of
Logic instances.
- LogicGroup(Logic[]) - Constructor for class ch.awae.utils.logic.LogicGroup
-
Creates a new Logic group
- loop() - Method in interface ch.awae.utils.sequence.IRootSequenceBuilder
-
Start an infinite loop
- loop(int) - Method in interface ch.awae.utils.sequence.ISequenceBuilder
-
start a finite loop with a given number of iterations
- Sequence - Class in ch.awae.utils.sequence
-
Sequence allows for sequential construction of a sequence of code blocks.
- Sequence(InterruptibleRunnable) - Constructor for class ch.awae.utils.sequence.Sequence
-
- SerializationProxy - Interface in ch.awae.utils.serial
-
Marks a class as being a serialization proxy.
- SerializedThroughProxy - Interface in ch.awae.utils.serial
-
Marks a class as serializable through the use of a proxy object.
- setAllowTerminalStates(boolean) - Method in class ch.awae.utils.statemachine.MachineCoreBuilder
-
define if terminal states are allowed.
- setAttribute(String, String) - Method in interface ch.awae.utils.xml.XPath
-
Inserts the given attribute into all current elements.
- setCheckForTerminalStates(boolean) - Method in class ch.awae.utils.statemachine.MachineCoreBuilder
-
Defines if the core should be checked for terminal states during
creation.
- setInitialState(String) - Method in class ch.awae.utils.statemachine.MachineCoreBuilder
-
Sets the initial state of the state machine core.
- setPrioritiseInternalEvents(boolean) - Method in class ch.awae.utils.statemachine.StateMachineBuilder
-
Set if internal events should get priority over all other events.
- setPriority(E, double) - Method in class ch.awae.utils.collection.mutable.PriorityQueue
-
Sets the priority of an element in the queue
- setText(String) - Method in interface ch.awae.utils.xml.XPath
-
Replaces the text content of all current elements by a given String
- setTimeout(long) - Method in class ch.awae.utils.pathfinding.AStarPathfinder
-
- setTimeout(long) - Method in class ch.awae.utils.pathfinding.DijkstraPathfinder
-
- setTimeout(long) - Method in interface ch.awae.utils.pathfinding.Pathfinder
-
set a timeout for the pathfinding.
- setTimeout(long) - Method in class ch.awae.utils.pathfinding.VertexPathfinder
-
- Shutdown - Class in ch.awae.utils
-
This class serves as a wrapper for the Java-side Shutdown handlers with the
added option to define the shutdown order.
- Shutdown() - Constructor for class ch.awae.utils.Shutdown
-
Creates a new Shutdown instance.
- size() - Method in class ch.awae.utils.collection.immutable.List
-
the size of the list
- size() - Method in class ch.awae.utils.collection.mutable.LinkedQueue
-
- size() - Method in class ch.awae.utils.collection.mutable.PriorityQueue
-
- size() - Method in class ch.awae.utils.logic.LogicGroup
-
- sleep(long) - Method in interface ch.awae.utils.sequence.ISequenceBuilder
-
adds a step that sleeps for a given number of milliseconds.
- SneakyThrow - Class in ch.awae.utils
-
- SneakyThrow() - Constructor for class ch.awae.utils.SneakyThrow
-
- Source - Class in ch.awae.utils.source
-
Source Data interaction Helper
Designed to enable interaction with different data sources as simple
one-liners
- Source() - Constructor for class ch.awae.utils.source.Source
-
- start() - Method in class ch.awae.utils.sequence.Sequence
-
Starts the sequence.
- start() - Method in class ch.awae.utils.statemachine.CommandProcessor
-
starts the processor
- start() - Method in class ch.awae.utils.statemachine.EventGenerator
-
starts the event generator
- start() - Method in interface ch.awae.utils.statemachine.StateMachine
-
Starts processing of the state machine event queue.
- StateMachine - Interface in ch.awae.utils.statemachine
-
Base representation of a state machine or a cluster of state machines.
- StateMachine.SavedState - Interface in ch.awae.utils.statemachine
-
root interface for saved state of state machines.
- StateMachineBuilder - Class in ch.awae.utils.statemachine
-
Builder for constructing state machines.
- StateMachineBuilder() - Constructor for class ch.awae.utils.statemachine.StateMachineBuilder
-
creates a new empty builder
- StateMachineBuilder(StateMachineBuilder) - Constructor for class ch.awae.utils.statemachine.StateMachineBuilder
-
copy constructor
- step() - Method in class ch.awae.utils.concurrent.IterativeRunner
-
This method is invoked once each iteration step.
- step(InterruptibleRunnable) - Method in interface ch.awae.utils.sequence.ISequenceBuilder
-
adds a step to the sequence
- stop() - Method in class ch.awae.utils.sequence.Sequence
-
Stops the sequence.
- stop() - Method in class ch.awae.utils.statemachine.CommandProcessor
-
stops the processor.
- stop() - Method in class ch.awae.utils.statemachine.EventGenerator
-
stops the event generator.
- stop() - Method in interface ch.awae.utils.statemachine.StateMachine
-
Stops processing of the state machine event queue.
- strict(LogicGroup) - Method in class ch.awae.utils.logic.LogicGroup
-
Strict group evaluation on a restricted domain.
- success(T) - Static method in interface ch.awae.utils.functional.Try
-
- success(long, long, List<V>) - Static method in class ch.awae.utils.pathfinding.PathfindingResult
-