Index

A B C D E F G H I J L M N O P R S T U V 
All Classes and Interfaces|All Packages|Serialized Form

A

AbstractCopyInstruction - Class in dev.zemco.codegame.execution.instructions
Abstract base for instruction copying values from one memory cell to some other.
AbstractCopyInstruction() - Constructor for class dev.zemco.codegame.execution.instructions.AbstractCopyInstruction
 
AbstractNamedParametrizedInstructionParser - Class in dev.zemco.codegame.compilation.parsing
Abstract base for instruction parsers parsing a single named instruction encoded with parameters separated by whitespace.
AbstractNamedParametrizedInstructionParser(String) - Constructor for class dev.zemco.codegame.compilation.parsing.AbstractNamedParametrizedInstructionParser
Initializes a subclass instance of AbstractNamedParametrizedInstructionParser that parses a parametrized instruction with the given name.
accept(int) - Method in interface dev.zemco.codegame.execution.io.IOutputSink
Attempts to write value to output.
accept(int) - Method in class dev.zemco.codegame.execution.io.VerifyingInputSourceToOutputSinkAdapter
Attempts to match output value to next value from the adapted input source.
addInstruction(IInstruction, int) - Method in interface dev.zemco.codegame.programs.IProgramBuilder
Appends instruction to all instructions of the program.
addInstruction(IInstruction, int) - Method in class dev.zemco.codegame.programs.ProgramBuilder
 
AdditionInstruction - Class in dev.zemco.codegame.execution.instructions
Instruction that adds constant to value held in working memory cell.
AdditionInstruction(int) - Constructor for class dev.zemco.codegame.execution.instructions.AdditionInstruction
Creates an instance of AdditionInstruction with the specified addition constant.
addJumpLabelMapping(String, int) - Method in interface dev.zemco.codegame.programs.IProgramBuilder
Adds unique jump label mapping to the program.
addJumpLabelMapping(String, int) - Method in class dev.zemco.codegame.programs.ProgramBuilder
 

B

BindingUtils - Class in dev.zemco.codegame.util
Collection of utility functions for simplifying manipulation of JavaFX bindings.
bootstrap(Class<?>, Stage) - Static method in class dev.zemco.codegame.Bootstrap
Bootstraps all needed application components with the provided resource class and primary stage.
Bootstrap - Class in dev.zemco.codegame
Bootstraps all needed application components.
build() - Method in interface dev.zemco.codegame.programs.IProgramBuilder
Builds the program based on the data specified during the lifetime of the builder.
build() - Method in class dev.zemco.codegame.programs.ProgramBuilder
 

C

canCompileProperty() - Method in interface dev.zemco.codegame.presentation.solution.ISolutionModel
Property indicating if compilation of player's solution is available.
canCompileProperty() - Method in class dev.zemco.codegame.presentation.solution.SolutionModel
 
canEvaluateProperty() - Method in interface dev.zemco.codegame.presentation.solution.ISolutionModel
Property indicating if test evaluation of player's solution is available.
canEvaluateProperty() - Method in class dev.zemco.codegame.presentation.solution.SolutionModel
 
canStepProperty() - Method in interface dev.zemco.codegame.presentation.solution.ISolutionModel
Property indicating if test evaluation of player's solution can be stepped.
canStepProperty() - Method in class dev.zemco.codegame.presentation.solution.SolutionModel
 
canSubmitProperty() - Method in interface dev.zemco.codegame.presentation.solution.ISolutionModel
Property indicating if of player's solution can be submitted.
canSubmitProperty() - Method in class dev.zemco.codegame.presentation.solution.SolutionModel
 
checkArgumentNotEmpty(String, String) - Static method in class dev.zemco.codegame.util.Preconditions
Throws formatted IllegalArgumentException if String argument is null or has no characters.
checkArgumentNotEmpty(T, String) - Static method in class dev.zemco.codegame.util.Preconditions
Throws formatted IllegalArgumentException if Collection argument is null or contains no elements.
checkArgumentNotNull(T, String) - Static method in class dev.zemco.codegame.util.Preconditions
Throws formatted IllegalArgumentException if argument is null.
checkArgumentPositiveInteger(int, String) - Static method in class dev.zemco.codegame.util.Preconditions
Throws formatted IllegalArgumentException if argument is less than 0.
checkParameterFixedCount(String[], int) - Method in class dev.zemco.codegame.compilation.parsing.AbstractNamedParametrizedInstructionParser
Checks if the given parameters have a required fixed count.
CodeGameApplication - Class in dev.zemco.codegame
Main class of the CodeGame application handling the application launch.
CodeGameApplication() - Constructor for class dev.zemco.codegame.CodeGameApplication
 
CodeHighlightStyleComputer - Class in dev.zemco.codegame.presentation.highlighting
Implementation of a compiler, which computes CSS highlight styles for individual parts of a source code using the CodeGame syntax.
CodeHighlightStyleComputer(Set<String>) - Constructor for class dev.zemco.codegame.presentation.highlighting.CodeHighlightStyleComputer
Creates an instance of CodeHighlightStyleComputer with specific instruction names to highlight.
CodeProgramCompiler - Class in dev.zemco.codegame.compilation
Implementation of a compiler, which compiles source code into an executable program using the CodeGame syntax.
CodeProgramCompiler(IInstructionParser, IProgramBuilderFactory) - Constructor for class dev.zemco.codegame.compilation.CodeProgramCompiler
Creates an instance of CodeProgramCompiler.
compileProgram(String) - Method in class dev.zemco.codegame.compilation.CodeProgramCompiler
 
compileProgram(String) - Method in interface dev.zemco.codegame.compilation.IProgramCompiler
Compiles given source code into an executable program.
compileSolution(String) - Method in interface dev.zemco.codegame.presentation.solution.ISolutionModel
Attempts to compile the player's solution.
compileSolution(String) - Method in class dev.zemco.codegame.presentation.solution.SolutionModel
 
computeHighlightStyles(String) - Method in class dev.zemco.codegame.presentation.highlighting.CodeHighlightStyleComputer
 
computeHighlightStyles(String) - Method in interface dev.zemco.codegame.presentation.highlighting.IHighlightStyleComputer
Computes CSS highlight styles for a given part of the source code.
ConstantSizeMemory - Class in dev.zemco.codegame.execution.memory
Memory holding constant number of memory cells specified during its creation.
ConstantSizeMemory(int, IMemoryCellFactory) - Constructor for class dev.zemco.codegame.execution.memory.ConstantSizeMemory
Creates an instance of ConstantSizeMemory that holds a specified number of memory cells created using the provided memoryCellFactory.
CopyFromInstruction - Class in dev.zemco.codegame.execution.instructions
Instruction that copies value from target memory cell to working memory cell.
CopyFromInstruction(int) - Constructor for class dev.zemco.codegame.execution.instructions.CopyFromInstruction
Creates an instance of CopyFromInstruction that copies values from memory cell at a given address.
CopyToInstruction - Class in dev.zemco.codegame.execution.instructions
Instruction that copies value from working memory cell to target memory cell.
CopyToInstruction(int) - Constructor for class dev.zemco.codegame.execution.instructions.CopyToInstruction
Creates an instance of CopyToInstruction that copies values into memory cell at a given address.
createAlert(Alert.AlertType) - Method in interface dev.zemco.codegame.presentation.dialog.IAlertFactory
Creates a JavaFX alert of a provided type.
createController(Class<?>) - Method in interface dev.zemco.codegame.presentation.IControllerFactory
Creates a controller for a JavaFX view based on the provided controller class.
createFxmlLoader() - Method in interface dev.zemco.codegame.presentation.IFxmlLoaderFactory
Creates a JavaFX FXML loader ready for use.
createInputSourceFromIterable(Iterable<Integer>) - Method in interface dev.zemco.codegame.execution.io.IInputSourceFactory
Creates an input source that provides its values from an iterable.
createInstruction(int) - Method in interface dev.zemco.codegame.compilation.parsing.FactorySingleIntegerParameterInstructionParser.IIntegerInstructionFactory
Creates an instruction ready for use.
createInstruction(String) - Method in interface dev.zemco.codegame.compilation.parsing.FactorySingleParameterInstructionParser.IStringInstructionFactory
Creates an instruction ready for use.
createMemoryCell() - Method in interface dev.zemco.codegame.execution.memory.IMemoryCellFactory
Creates a memory cell ready for a use.
createMemoryWithSize(int) - Method in interface dev.zemco.codegame.execution.memory.IMemoryFactory
Creates a memory with the minimum specified size.
createProgramBuilder() - Method in interface dev.zemco.codegame.programs.IProgramBuilderFactory
Creates a program builder ready for use.
createSolutionErrorModel(InvalidSyntaxException) - Method in interface dev.zemco.codegame.presentation.solution.errors.ISolutionErrorModelFactory
Creates a solution error model for an exception caused by usage of an invalid syntax in the solution.
createSolutionErrorModel(InvalidSyntaxException) - Method in class dev.zemco.codegame.presentation.solution.errors.SimpleSolutionErrorModelFactory
 
createSolutionErrorModel(StepEvaluationException) - Method in interface dev.zemco.codegame.presentation.solution.errors.ISolutionErrorModelFactory
Creates a solution error model for an exception caused by error during evaluation of the solution.
createSolutionErrorModel(StepEvaluationException) - Method in class dev.zemco.codegame.presentation.solution.errors.SimpleSolutionErrorModelFactory
 
createVerifyingOutputSinkFromIterable(Iterable<Integer>) - Method in interface dev.zemco.codegame.execution.io.IOutputSinkFactory
Creates an output sink that verifies output values by matching them to values from an iterable.

D

DelegatingInstructionParser - Class in dev.zemco.codegame.compilation.parsing
Implementation of an instruction parser that delegates parsing to other provided parsers.
DelegatingInstructionParser(List<IInstructionParser>) - Constructor for class dev.zemco.codegame.compilation.parsing.DelegatingInstructionParser
Creates an instance of DelegatingInstructionParser that delegates instruction parsing to given parsers.
dev.zemco.codegame - package dev.zemco.codegame
Main package containing components related to app launch.
dev.zemco.codegame.compilation - package dev.zemco.codegame.compilation
Components related to compilation of source code into executable programs.
dev.zemco.codegame.compilation.parsing - package dev.zemco.codegame.compilation.parsing
Components related to parsing of raw instructions.
dev.zemco.codegame.evaluation - package dev.zemco.codegame.evaluation
Provides evaluation capabilities of executions to the application.
dev.zemco.codegame.execution - package dev.zemco.codegame.execution
Provides execution capabilities to the application.
dev.zemco.codegame.execution.engine - package dev.zemco.codegame.execution.engine
Provides instruction execution capabilities to execution.
dev.zemco.codegame.execution.instructions - package dev.zemco.codegame.execution.instructions
Provides instructions for executions.
dev.zemco.codegame.execution.io - package dev.zemco.codegame.execution.io
Provides input and output capabilities to execution.
dev.zemco.codegame.execution.memory - package dev.zemco.codegame.execution.memory
Provides memory capabilities to execution.
dev.zemco.codegame.presentation - package dev.zemco.codegame.presentation
Presents the application state to the user.
dev.zemco.codegame.presentation.dialog - package dev.zemco.codegame.presentation.dialog
Presents modal dialogs to the user.
dev.zemco.codegame.presentation.execution - package dev.zemco.codegame.presentation.execution
Presents state of the execution to the user.
dev.zemco.codegame.presentation.highlighting - package dev.zemco.codegame.presentation.highlighting
Provides syntax highlighting for source code.
dev.zemco.codegame.presentation.problems - package dev.zemco.codegame.presentation.problems
MVC components for presenting the problem selection to the user.
dev.zemco.codegame.presentation.solution - package dev.zemco.codegame.presentation.solution
MVC components for presenting the solution to the user.
dev.zemco.codegame.presentation.solution.errors - package dev.zemco.codegame.presentation.solution.errors
Presents formatted errors containing information about user's solution failures.
dev.zemco.codegame.problems - package dev.zemco.codegame.problems
Components related to problems solvable by the player.
dev.zemco.codegame.programs - package dev.zemco.codegame.programs
Components related to programs executable by the application.
dev.zemco.codegame.resources - package dev.zemco.codegame.resources
Classes to support loading of required resources by the application.
dev.zemco.codegame.util - package dev.zemco.codegame.util
Collection of utilities for improving readability across project source code.

E

evaluateSolutionForProblemCase(IExecutionContext, ProblemCase) - Method in interface dev.zemco.codegame.evaluation.IEvaluationStrategy
Evaluates if the execution context is in a state that is considered a valid solution of a given problem case.
evaluateSolutionForProblemCase(IExecutionContext, ProblemCase) - Method in class dev.zemco.codegame.evaluation.OutputSinkSatisfiedEvaluationStrategy
Evaluates the solution by checking if the output sink of the execution is satisfied.
evaluateSolutionOnAllProblemCases(Program, Problem) - Method in class dev.zemco.codegame.evaluation.EvaluationService
 
evaluateSolutionOnAllProblemCases(Program, Problem) - Method in interface dev.zemco.codegame.evaluation.IEvaluationService
Evaluates player's solution program against all of the problem cases of the given problem.
evaluationRunningProperty() - Method in interface dev.zemco.codegame.presentation.solution.ISolutionModel
Property indicating if test evaluation of player's solution is running.
evaluationRunningProperty() - Method in class dev.zemco.codegame.presentation.solution.SolutionModel
 
EvaluationService - Class in dev.zemco.codegame.evaluation
Implementation of business logic related to evaluation of solutions of problems.
EvaluationService(IExecutionService, IEvaluationStrategy) - Constructor for class dev.zemco.codegame.evaluation.EvaluationService
Creates an instance of EvaluationService.
execute(IExecutionContext) - Method in class dev.zemco.codegame.execution.instructions.AbstractCopyInstruction
Copies the value from the source memory cell to the destination memory cell.
execute(IExecutionContext) - Method in class dev.zemco.codegame.execution.instructions.AdditionInstruction
Adds constant to value held in working memory cell.
execute(IExecutionContext) - Method in interface dev.zemco.codegame.execution.instructions.IInstruction
Executes instruction on a given context.
execute(IExecutionContext) - Method in class dev.zemco.codegame.execution.instructions.InputInstruction
Takes next value from input source and copies it to the working memory cell.
execute(IExecutionContext) - Method in class dev.zemco.codegame.execution.instructions.JumpInstruction
Requests the engine to perform a jump to the target jump label.
execute(IExecutionContext) - Method in class dev.zemco.codegame.execution.instructions.OutputInstruction
Emits current value in working memory cell to output sink.
executionErrorProperty() - Method in interface dev.zemco.codegame.presentation.solution.ISolutionModel
Property holding the last solution error model indicating error during execution of the test evaluation of player's solution.
executionErrorProperty() - Method in class dev.zemco.codegame.presentation.solution.SolutionModel
 

F

FactorySingleAddressParameterInstructionParser - Class in dev.zemco.codegame.compilation.parsing
Parses a named instruction with a single address parameter by requesting it from a backing factory.
FactorySingleAddressParameterInstructionParser(String, FactorySingleIntegerParameterInstructionParser.IIntegerInstructionFactory) - Constructor for class dev.zemco.codegame.compilation.parsing.FactorySingleAddressParameterInstructionParser
Creates an instance of FactorySingleAddressParameterInstructionParser that parses instructions with the given name by requesting them from the given backing factory.
FactorySingleIntegerParameterInstructionParser - Class in dev.zemco.codegame.compilation.parsing
Parses a named instruction with a single integer parameter by requesting it from a backing factory.
FactorySingleIntegerParameterInstructionParser(String, FactorySingleIntegerParameterInstructionParser.IIntegerInstructionFactory) - Constructor for class dev.zemco.codegame.compilation.parsing.FactorySingleIntegerParameterInstructionParser
Creates an instance of FactorySingleIntegerParameterInstructionParser that parses instructions with the given name by requesting them from the given backing factory.
FactorySingleIntegerParameterInstructionParser.IIntegerInstructionFactory - Interface in dev.zemco.codegame.compilation.parsing
Produces instructions from a single integer parameter.
FactorySingleParameterInstructionParser - Class in dev.zemco.codegame.compilation.parsing
Parses a named instruction with a single parameter by requesting it from a backing factory.
FactorySingleParameterInstructionParser(String, FactorySingleParameterInstructionParser.IStringInstructionFactory) - Constructor for class dev.zemco.codegame.compilation.parsing.FactorySingleParameterInstructionParser
Creates an instance of FactorySingleParameterInstructionParser that parses instructions with the given name by requesting them from the given backing factory.
FactorySingleParameterInstructionParser.IStringInstructionFactory - Interface in dev.zemco.codegame.compilation.parsing
Produces instructions from a single string parameter.
FxmlViewProvider - Class in dev.zemco.codegame.presentation
Provides JavaFX views by loading raw FXML views from the IFxmlViewSourceProvider.
FxmlViewProvider(IFxmlViewSourceProvider, IControllerFactory, IViewStylesheetProvider, IFxmlLoaderFactory) - Constructor for class dev.zemco.codegame.presentation.FxmlViewProvider
Creates an instance of FxmlViewProvider ready for use.

G

getAddress() - Method in interface dev.zemco.codegame.presentation.execution.IMemoryCellObserver
Returns the address of the target memory cell within the execution memory.
getAddress() - Method in class dev.zemco.codegame.presentation.execution.UpdatableMemoryCellObserverAdapter
 
getAllProblems() - Method in interface dev.zemco.codegame.problems.IProblemRepository
Returns all known problems.
getAllProblems() - Method in interface dev.zemco.codegame.problems.IProblemService
Returns all problems available to the application.
getAllProblems() - Method in class dev.zemco.codegame.problems.ProblemService
 
getAllProblems() - Method in class dev.zemco.codegame.problems.UrlObjectMapperProblemRepository
Retrieves and deserializes all problems from the URL datasource.
getCases() - Method in class dev.zemco.codegame.problems.Problem
Returns problem cases used for validation of this problem's solution.
getCellByAddress(int) - Method in class dev.zemco.codegame.execution.memory.ConstantSizeMemory
 
getCellByAddress(int) - Method in interface dev.zemco.codegame.execution.memory.IMemory
Retrieves a cell at the specified address.
getConfiguredMemory(ProblemCaseMemorySettings) - Method in interface dev.zemco.codegame.execution.memory.IMemoryService
Provides a memory configured using the provided memory settings.
getConfiguredMemory(ProblemCaseMemorySettings) - Method in class dev.zemco.codegame.execution.memory.MemoryService
 
getDescription() - Method in class dev.zemco.codegame.presentation.solution.errors.ImmutableSolutionErrorModel
 
getDescription() - Method in interface dev.zemco.codegame.presentation.solution.errors.ISolutionErrorModel
Returns the description of the error.
getDescription() - Method in class dev.zemco.codegame.problems.Problem
Returns description of this problem.
getDestinationMemoryCell(IMemory) - Method in class dev.zemco.codegame.execution.instructions.AbstractCopyInstruction
Retrieves the destination memory cell for copying.
getDestinationMemoryCell(IMemory) - Method in class dev.zemco.codegame.execution.instructions.CopyFromInstruction
 
getDestinationMemoryCell(IMemory) - Method in class dev.zemco.codegame.execution.instructions.CopyToInstruction
 
getDifficulty() - Method in class dev.zemco.codegame.problems.Problem
Returns positive difficulty of this problem.
getEvaluatorForProblemCaseSolution(Program, ProblemCase) - Method in class dev.zemco.codegame.evaluation.EvaluationService
 
getEvaluatorForProblemCaseSolution(Program, ProblemCase) - Method in interface dev.zemco.codegame.evaluation.IEvaluationService
Provides an evalutor for the solution program against the given specific problem case.
getExecutionContext() - Method in interface dev.zemco.codegame.evaluation.ISolutionEvaluator
Returns the execution context that is being evaluated by the evaluator.
getExecutionContext() - Method in class dev.zemco.codegame.evaluation.SolutionEvaluator
 
getExecutionContext() - Method in class dev.zemco.codegame.evaluation.TimeoutSolutionEvaluatorDecorator
 
getExecutionContext() - Method in class dev.zemco.codegame.execution.engine.ProgramExecutionEngine
Returns the execution context managed by this engine.
getExecutionContextForProblemCaseSolution(Program, ProblemCase) - Method in interface dev.zemco.codegame.execution.IExecutionService
Provides an execution context configured to execute the solution program for a given problem case.
getExecutionContextForProblemCaseSolution(Program, ProblemCase) - Method in class dev.zemco.codegame.execution.ProgramExecutionService
 
getExecutionEngine() - Method in interface dev.zemco.codegame.execution.IExecutionContext
Returns the execution engine of the execution.
getExecutionEngine() - Method in class dev.zemco.codegame.execution.ImmutableExecutionContext
 
getExpectedOutputs() - Method in class dev.zemco.codegame.problems.ProblemCase
Returns outputs that are expected from player's solution during validation.
getFxmlViewSourceStreamById(String) - Method in interface dev.zemco.codegame.presentation.IFxmlViewSourceProvider
Provides an input stream with the raw FXML source of the requested view.
getFxmlViewSourceStreamById(String) - Method in class dev.zemco.codegame.presentation.ResourceFxmlViewSourceProvider
Provides an input stream with the raw FXML source of the requested view.
getId() - Method in class dev.zemco.codegame.problems.Problem
Returns unique identifier associated with this problem.
getInitialValues() - Method in class dev.zemco.codegame.problems.ProblemCaseMemorySettings
Returns initial values of the memory used during the evaluation of player's solution.
getInputs() - Method in class dev.zemco.codegame.problems.ProblemCase
Returns inputs that are available to player's solution during validation.
getInputSource() - Method in interface dev.zemco.codegame.execution.IExecutionContext
Returns the input source of the execution.
getInputSource() - Method in class dev.zemco.codegame.execution.ImmutableExecutionContext
 
getInstruction() - Method in class dev.zemco.codegame.programs.InstructionDescriptor
Returns the instruction this descriptor provides the additional context for.
getInstructionDescriptors() - Method in class dev.zemco.codegame.programs.Program
Returns instruction descriptors of this program, ordered in a way they should be executed.
getJumpLabelToLinePositionMap() - Method in class dev.zemco.codegame.programs.Program
Returns jump label to line position mappings used for jumping to a specific position during execution.
getLinePosition() - Method in exception dev.zemco.codegame.compilation.InvalidSyntaxException
Returns the zero-based line position where the syntax error is located.
getLinePosition() - Method in exception dev.zemco.codegame.execution.engine.StepExecutionException
Returns the zero-based line position related to the executed instruction.
getLinePosition() - Method in class dev.zemco.codegame.presentation.solution.errors.ImmutableSolutionErrorModel
 
getLinePosition() - Method in interface dev.zemco.codegame.presentation.solution.errors.ISolutionErrorModel
Returns the zero-based line position within the solution code associated with the error.
getLinePosition() - Method in class dev.zemco.codegame.programs.InstructionDescriptor
Returns the zero-based line position associated with the instruction.
getMemory() - Method in interface dev.zemco.codegame.execution.IExecutionContext
Returns the memory of the execution.
getMemory() - Method in class dev.zemco.codegame.execution.ImmutableExecutionContext
 
getMemoryCellAtAddress(IMemory, int) - Method in class dev.zemco.codegame.execution.instructions.AbstractCopyInstruction
Retrieves a memory cell at a given address.
getMemorySettings() - Method in class dev.zemco.codegame.problems.ProblemCase
Returns memory settings which are used to configure memory during validation.
getName() - Method in class dev.zemco.codegame.problems.Problem
Returns name of this problem.
getNextInstructionDescriptor() - Method in interface dev.zemco.codegame.execution.engine.IExecutionEngine
Returns a descriptor of the instruction that will be executed next by the engine.
getNextInstructionDescriptor() - Method in class dev.zemco.codegame.execution.engine.ProgramExecutionEngine
Returns a descriptor of the instruction that will be executed next by the engine.
getNextValue() - Method in interface dev.zemco.codegame.execution.io.IInputSource
Returns next value of the input source.
getNextValue() - Method in class dev.zemco.codegame.execution.io.IterableInputSource
Returns next value from the underlying iterator.
getOutputSink() - Method in interface dev.zemco.codegame.execution.IExecutionContext
Returns the output sink of the execution.
getOutputSink() - Method in class dev.zemco.codegame.execution.ImmutableExecutionContext
 
getPrimaryStage() - Method in class dev.zemco.codegame.presentation.ImmutableStageProvider
 
getPrimaryStage() - Method in interface dev.zemco.codegame.presentation.IStageProvider
Provides the primary stage of the application.
getSize() - Method in class dev.zemco.codegame.problems.ProblemCaseMemorySettings
Returns size of the memory used during the evaluation of player's solution.
getSourceMemoryCell(IMemory) - Method in class dev.zemco.codegame.execution.instructions.AbstractCopyInstruction
Retrieves the source memory cell for copying.
getSourceMemoryCell(IMemory) - Method in class dev.zemco.codegame.execution.instructions.CopyFromInstruction
 
getSourceMemoryCell(IMemory) - Method in class dev.zemco.codegame.execution.instructions.CopyToInstruction
 
getStylesheetsByViewId(String) - Method in class dev.zemco.codegame.presentation.ImmutableViewStylesheetProvider
 
getStylesheetsByViewId(String) - Method in interface dev.zemco.codegame.presentation.IViewStylesheetProvider
Provides the string URLs linking to the stylesheets assigned to the requested view.
getValue() - Method in interface dev.zemco.codegame.execution.memory.IMemoryCell
Returns currently held integer value of this cell.
getValue() - Method in class dev.zemco.codegame.execution.memory.SimpleMemoryCell
 
getViewById(String) - Method in class dev.zemco.codegame.presentation.FxmlViewProvider
Provides the root node of the requested view ready to be presented.
getViewById(String) - Method in interface dev.zemco.codegame.presentation.IViewProvider
Provides the root node of the requested view ready to be presented.
getWorkingCell() - Method in class dev.zemco.codegame.execution.memory.ConstantSizeMemory
 
getWorkingCell() - Method in interface dev.zemco.codegame.execution.memory.IMemory
Retrieves the working cell.

H

hasFinished() - Method in interface dev.zemco.codegame.evaluation.ISolutionEvaluator
Checks if the evaluator has finished its evaluation.
hasFinished() - Method in class dev.zemco.codegame.evaluation.SolutionEvaluator
 
hasFinished() - Method in class dev.zemco.codegame.evaluation.TimeoutSolutionEvaluatorDecorator
 
hasJumpLabelMapping(String) - Method in interface dev.zemco.codegame.programs.IProgramBuilder
Check if jump label has been added to the program.
hasJumpLabelMapping(String) - Method in class dev.zemco.codegame.programs.ProgramBuilder
 
hasNextValue() - Method in interface dev.zemco.codegame.execution.io.IInputSource
Returns true if input source has more values.
hasNextValue() - Method in class dev.zemco.codegame.execution.io.IterableInputSource
Returns if the underlying iterator has next value.
hasValue() - Method in interface dev.zemco.codegame.execution.memory.IMemoryCell
Returns if cell currently holds an integer value.
hasValue() - Method in class dev.zemco.codegame.execution.memory.SimpleMemoryCell
 

I

IAlertFactory - Interface in dev.zemco.codegame.presentation.dialog
Produces JavaFX alerts.
IControllerFactory - Interface in dev.zemco.codegame.presentation
Produces controllers for the JavaFX views.
IDialogService - Interface in dev.zemco.codegame.presentation.dialog
Service for presenting popup dialogs to the user.
IEvaluationService - Interface in dev.zemco.codegame.evaluation
Service that manages business logic related to evaluation of solutions of problems created by the player.
IEvaluationStrategy - Interface in dev.zemco.codegame.evaluation
Algorithm that evaluates if the execution context has reached a state, where it satisfies rules as a valid solution of a problem case.
IExecutionContext - Interface in dev.zemco.codegame.execution
Context of a single execution, which provides access to all components related to the execution.
IExecutionEngine - Interface in dev.zemco.codegame.execution.engine
Engine responsible for an instruction execution within its execution context.
IExecutionService - Interface in dev.zemco.codegame.execution
Service that manages business logic related to execution.
IFxmlLoaderFactory - Interface in dev.zemco.codegame.presentation
Produces JavaFX fxml loaders ready for loading of views.
IFxmlViewSourceProvider - Interface in dev.zemco.codegame.presentation
Manages the JavaFX FXML sources for views.
IHighlightStyleComputer - Interface in dev.zemco.codegame.presentation.highlighting
Computes CSS highlight styles for individual parts of a source code for the library RichTextFX.
IInputSource - Interface in dev.zemco.codegame.execution.io
Source of input values during execution.
IInputSourceFactory - Interface in dev.zemco.codegame.execution.io
Produces input sources.
IInstruction - Interface in dev.zemco.codegame.execution.instructions
Instruction is an elementary operation that modifies state of the execution context.
IInstructionParser - Interface in dev.zemco.codegame.compilation.parsing
Parses instructions encoded in strings.
IListenerSubscription - Interface in dev.zemco.codegame.presentation
Provides a simple way to manage an existing subscription to a JavaFX observable.
IMemory - Interface in dev.zemco.codegame.execution.memory
Collection of memory cells which can hold an integer value.
IMemoryCell - Interface in dev.zemco.codegame.execution.memory
Cell in a memory that can hold a single integer value.
IMemoryCellFactory - Interface in dev.zemco.codegame.execution.memory
Produces memory cells.
IMemoryCellObserver - Interface in dev.zemco.codegame.presentation.execution
Observes value changes of a memory cell and notifies listeners about new values.
IMemoryFactory - Interface in dev.zemco.codegame.execution.memory
Produces memory.
IMemoryService - Interface in dev.zemco.codegame.execution.memory
Service that manages business logic related to memory.
ImmutableExecutionContext - Class in dev.zemco.codegame.execution
Implementation of the execution context, where individual components cannot be changed during the execution.
ImmutableExecutionContext(IExecutionEngine, IMemory, IInputSource, IOutputSink) - Constructor for class dev.zemco.codegame.execution.ImmutableExecutionContext
Creates an instance of ImmutableExecutionContext, which holds the provided components.
ImmutableSolutionErrorModel - Class in dev.zemco.codegame.presentation.solution.errors
Immutable implementation holding details about an error in user's solution to a problem.
ImmutableSolutionErrorModel(String, Integer) - Constructor for class dev.zemco.codegame.presentation.solution.errors.ImmutableSolutionErrorModel
Creates an instance of ImmutableSolutionErrorModel holding the given description and linePosition.
ImmutableStageProvider - Class in dev.zemco.codegame.presentation
Immutable provider for JavaFX stages used by the application for presentation.
ImmutableStageProvider(Stage) - Constructor for class dev.zemco.codegame.presentation.ImmutableStageProvider
Creates an instance of ImmutableStageProvider that holds the given primary stage.
ImmutableViewStylesheetProvider - Class in dev.zemco.codegame.presentation
Immutable provider for stylesheets for JavaFX views.
ImmutableViewStylesheetProvider(Map<String, List<String>>) - Constructor for class dev.zemco.codegame.presentation.ImmutableViewStylesheetProvider
Creates an instance of ImmutableStageProvider with the given view to stylesheet mappings.
INavigator - Interface in dev.zemco.codegame.presentation
Handles navigation between routes of the application.
InputInstruction - Class in dev.zemco.codegame.execution.instructions
Instruction that takes next value from input source and copies it to the working memory cell.
InputInstruction() - Constructor for class dev.zemco.codegame.execution.instructions.InputInstruction
 
InstructionDescriptor - Class in dev.zemco.codegame.programs
Instruction descriptors provide additional context to individual instructions during the program execution.
InstructionDescriptor(IInstruction, int) - Constructor for class dev.zemco.codegame.programs.InstructionDescriptor
Creates an instance of InstructionDescriptor for a specific instruction.
InstructionExecutionException - Exception in dev.zemco.codegame.execution.instructions
Thrown when an illegal state during instruction execution is reached.
InstructionExecutionException(String) - Constructor for exception dev.zemco.codegame.execution.instructions.InstructionExecutionException
Creates an instance of InstructionExecutionException.
InstructionExecutionException(String, Throwable) - Constructor for exception dev.zemco.codegame.execution.instructions.InstructionExecutionException
Creates an instance of InstructionExecutionException.
InstructionParseException - Exception in dev.zemco.codegame.compilation.parsing
Thrown when parsing of an instruction fails.
InstructionParseException(String) - Constructor for exception dev.zemco.codegame.compilation.parsing.InstructionParseException
Creates an instance of InstructionParseException.
InstructionParseException(String, Throwable) - Constructor for exception dev.zemco.codegame.compilation.parsing.InstructionParseException
Creates an instance of InstructionParseException.
InvalidSyntaxException - Exception in dev.zemco.codegame.compilation
Thrown when a source code contains an invalid syntax.
InvalidSyntaxException(String, int) - Constructor for exception dev.zemco.codegame.compilation.InvalidSyntaxException
Creates an instance of InvalidSyntaxException.
InvalidSyntaxException(String, Throwable, int) - Constructor for exception dev.zemco.codegame.compilation.InvalidSyntaxException
Creates an instance of InvalidSyntaxException.
IOutputSink - Interface in dev.zemco.codegame.execution.io
Destination of output values during execution that expects values until it becomes satisfied.
IOutputSinkFactory - Interface in dev.zemco.codegame.execution.io
Produces output sinks.
IProblemListModel - Interface in dev.zemco.codegame.presentation.problems
Manages logic and state related to the selection of problem to be solved by the user.
IProblemRepository - Interface in dev.zemco.codegame.problems
Handles storage of problems used by the application.
IProblemService - Interface in dev.zemco.codegame.problems
Service that manages business logic related to management of problems available to the application.
IProgramBuilder - Interface in dev.zemco.codegame.programs
Interface for simplifying program creation process.
IProgramBuilderFactory - Interface in dev.zemco.codegame.programs
IProgramCompiler - Interface in dev.zemco.codegame.compilation
Compiler takes a source code and compiles it into an executable program.
ISolutionErrorModel - Interface in dev.zemco.codegame.presentation.solution.errors
Holds details about an error in user's solution to a problem.
ISolutionErrorModelFactory - Interface in dev.zemco.codegame.presentation.solution.errors
Produces solution error models for exceptions relevant to user's solutions.
ISolutionEvaluator - Interface in dev.zemco.codegame.evaluation
Evaluates an underlying execution context on set rules.
ISolutionModel - Interface in dev.zemco.codegame.presentation.solution
Manages logic and state related to user's solution to a given problem.
isSatisfied() - Method in interface dev.zemco.codegame.execution.io.IOutputSink
Returns if sink expects another value.
isSatisfied() - Method in class dev.zemco.codegame.execution.io.VerifyingInputSourceToOutputSinkAdapter
Returns if the adapted input source has no next value available.
isSuccessful() - Method in interface dev.zemco.codegame.evaluation.ISolutionEvaluator
Checks if the evaluation of the execution context is successful.
isSuccessful() - Method in class dev.zemco.codegame.evaluation.SolutionEvaluator
 
isSuccessful() - Method in class dev.zemco.codegame.evaluation.TimeoutSolutionEvaluatorDecorator
 
IStageProvider - Interface in dev.zemco.codegame.presentation
Manages the JavaFX stages used by the application for presentation.
IterableInputSource - Class in dev.zemco.codegame.execution.io
Input source that uses an iterable as source of inputs.
IterableInputSource(Iterable<Integer>) - Constructor for class dev.zemco.codegame.execution.io.IterableInputSource
Creates an instance of IterableInputSource by wrapping an iterable.
IViewProvider - Interface in dev.zemco.codegame.presentation
Manages the JavaFX views used by application for presentation.
IViewStylesheetProvider - Interface in dev.zemco.codegame.presentation
Manages the stylesheets for JavaFX views.

J

JavaFxDialogService - Class in dev.zemco.codegame.presentation.dialog
Implementation of a service for presenting popup dialogs to the user using JavaFX.
JavaFxDialogService(IAlertFactory) - Constructor for class dev.zemco.codegame.presentation.dialog.JavaFxDialogService
Creates an instance of JavaFxDialogService that presents popup dialogs to user using JavaFX.
JumpIfZeroInstruction - Class in dev.zemco.codegame.execution.instructions
Instruction that performs a jump of the engine to the specified label if the value of the working memory cell is equal to zero.
JumpIfZeroInstruction(String) - Constructor for class dev.zemco.codegame.execution.instructions.JumpIfZeroInstruction
Creates an instance of JumpIfZeroInstruction with the target jump label.
JumpInstruction - Class in dev.zemco.codegame.execution.instructions
Instruction that performs a jump of the engine to the specified label.
JumpInstruction(String) - Constructor for class dev.zemco.codegame.execution.instructions.JumpInstruction
Creates an instance of JumpInstruction with the target jump label.
jumpToLabel(String) - Method in interface dev.zemco.codegame.execution.engine.IExecutionEngine
Performs a jump to an instruction that is followed by the specified label.
jumpToLabel(String) - Method in class dev.zemco.codegame.execution.engine.ProgramExecutionEngine
Performs a jump to an instruction that is followed by the specified label.

L

Launcher - Class in dev.zemco.codegame
Entrypoint for fat jar deployed version of CodeGame.

M

main(String[]) - Static method in class dev.zemco.codegame.CodeGameApplication
Entrypoint for CodeGame that launches the application.
main(String[]) - Static method in class dev.zemco.codegame.Launcher
Entrypoint for CodeGame when launched from fat jar.
map(ObservableValue<F>, Function<F, String>) - Static method in class dev.zemco.codegame.util.BindingUtils
Creates binding that maps property to String using a mapper.
mapOrDefault(ObservableValue<F>, Function<F, String>, String) - Static method in class dev.zemco.codegame.util.BindingUtils
Creates binding that maps property to String using a mapper, falling back to defaultValue if property value is null.
mapOrNull(ObservableValue<F>, Function<F, String>) - Static method in class dev.zemco.codegame.util.BindingUtils
Creates binding that maps property to String using a mapper, falling back to null if property value is null.
memoryCellsProperty() - Method in interface dev.zemco.codegame.presentation.solution.ISolutionModel
Property holding memory cell observers for observing memory state during the test evaluation.
memoryCellsProperty() - Method in class dev.zemco.codegame.presentation.solution.SolutionModel
 
MemoryService - Class in dev.zemco.codegame.execution.memory
Implementation of business logic related to memory.
MemoryService(IMemoryFactory) - Constructor for class dev.zemco.codegame.execution.memory.MemoryService
Creates an instance of MemoryService.
MemoryView - Class in dev.zemco.codegame.presentation.execution
JavaFX control presenting the state of a memory during execution.
MemoryView() - Constructor for class dev.zemco.codegame.presentation.execution.MemoryView
Creates an instance of MemoryView.

N

navigateTo(String) - Method in interface dev.zemco.codegame.presentation.INavigator
Performs a navigation to the specified route.
navigateTo(String) - Method in class dev.zemco.codegame.presentation.SimpleViewIdNavigator
Switches the view of the primary stage to the view id specified by the route parameter.
nextInstructionLinePositionProperty() - Method in interface dev.zemco.codegame.presentation.solution.ISolutionModel
Property indicating next instruction line position to execute during test evaluation of player's solution.
nextInstructionLinePositionProperty() - Method in class dev.zemco.codegame.presentation.solution.SolutionModel
 
NoNextInstructionException - Exception in dev.zemco.codegame.execution.engine
Thrown when a step is attempted, but engine has no next instruction.
NoNextInstructionException(String) - Constructor for exception dev.zemco.codegame.execution.engine.NoNextInstructionException
Creates an instance of NoNextInstructionException.
NotAcceptedException - Exception in dev.zemco.codegame.execution.io
Thrown by output sink after it rejects an output value.
NotAcceptedException(String) - Constructor for exception dev.zemco.codegame.execution.io.NotAcceptedException
Creates an instance of NotAcceptedException.

O

OutputInstruction - Class in dev.zemco.codegame.execution.instructions
Instruction that emits current value in working memory cell to output sink.
OutputInstruction() - Constructor for class dev.zemco.codegame.execution.instructions.OutputInstruction
 
OutputSinkSatisfiedEvaluationStrategy - Class in dev.zemco.codegame.evaluation
Implementation of the evaluation strategy that checks if the output sink in the execution context is satisfied.
OutputSinkSatisfiedEvaluationStrategy() - Constructor for class dev.zemco.codegame.evaluation.OutputSinkSatisfiedEvaluationStrategy
 

P

parseInstruction(String) - Method in class dev.zemco.codegame.compilation.parsing.AbstractNamedParametrizedInstructionParser
 
parseInstruction(String) - Method in class dev.zemco.codegame.compilation.parsing.DelegatingInstructionParser
Delegates parsing of a single instruction encoded in a given string to given parsers.
parseInstruction(String) - Method in interface dev.zemco.codegame.compilation.parsing.IInstructionParser
Parses a single instruction encoded in a given string.
parseInstructionFromParameters(String[]) - Method in class dev.zemco.codegame.compilation.parsing.AbstractNamedParametrizedInstructionParser
Parses the named instruction from its given parameters.
parseInstructionFromParameters(String[]) - Method in class dev.zemco.codegame.compilation.parsing.FactorySingleParameterInstructionParser
Parses the named instruction by requesting it from the backing factory.
parseInstructionFromParameters(String[]) - Method in class dev.zemco.codegame.compilation.parsing.SupplierInstructionParser
Parses the named instruction by retrieving it from the supplier.
Preconditions - Class in dev.zemco.codegame.util
Collection of utility functions for checking validity of arguments.
Problem - Class in dev.zemco.codegame.problems
Problem is a challenge solvable by player.
Problem(UUID, String, String, int, List<ProblemCase>) - Constructor for class dev.zemco.codegame.problems.Problem
Creates an instance of Problem.
ProblemCase - Class in dev.zemco.codegame.problems
Problem case describes a test case of a problem, which is used to validate player solution.
ProblemCase(List<Integer>, List<Integer>, ProblemCaseMemorySettings) - Constructor for class dev.zemco.codegame.problems.ProblemCase
Creates an instance of ProblemCase.
ProblemCaseMemorySettings - Class in dev.zemco.codegame.problems
Problem cases memory settings contains memory settings, which are used to configure execution memory during validation of player's solution.
ProblemCaseMemorySettings(int, Map<Integer, Integer>) - Constructor for class dev.zemco.codegame.problems.ProblemCaseMemorySettings
Creates an instance of ProblemCaseMemorySettings.
ProblemListController - Class in dev.zemco.codegame.presentation.problems
Controller for the problem list view that manipulates provided problem list model.
ProblemListController(IProblemListModel, INavigator) - Constructor for class dev.zemco.codegame.presentation.problems.ProblemListController
Creates an instance of ProblemListController.
ProblemListModel - Class in dev.zemco.codegame.presentation.problems
Implementation of problem list model using problems managed by problem service.
ProblemListModel(IProblemService) - Constructor for class dev.zemco.codegame.presentation.problems.ProblemListModel
Creates an instance of ProblemListModel using problems from the given problem service.
problemProperty() - Method in interface dev.zemco.codegame.presentation.solution.ISolutionModel
Property holding the target problem that is being solved.
problemProperty() - Method in class dev.zemco.codegame.presentation.solution.SolutionModel
 
ProblemService - Class in dev.zemco.codegame.problems
Implementation of business logic related to management of problems available to the application that uses provided problem repository as source of problems.
ProblemService(IProblemRepository) - Constructor for class dev.zemco.codegame.problems.ProblemService
Creates an instance of ProblemService.
problemsProperty() - Method in interface dev.zemco.codegame.presentation.problems.IProblemListModel
Property holding all problems solvable by the user.
problemsProperty() - Method in class dev.zemco.codegame.presentation.problems.ProblemListModel
 
Program - Class in dev.zemco.codegame.programs
Program is a set of instructions to be followed during execution.
Program(List<InstructionDescriptor>, Map<String, Integer>) - Constructor for class dev.zemco.codegame.programs.Program
Creates an instance of Program.
ProgramBuilder - Class in dev.zemco.codegame.programs
Simple implementation for building programs based on the required rules.
ProgramBuilder() - Constructor for class dev.zemco.codegame.programs.ProgramBuilder
Creates an instance of ProgramBuilder ready for use.
ProgramExecutionEngine - Class in dev.zemco.codegame.execution.engine
Implementation of the execution engine that executes a program.
ProgramExecutionEngine(Program, IMemory, IInputSource, IOutputSink) - Constructor for class dev.zemco.codegame.execution.engine.ProgramExecutionEngine
Creates an instance of ProgramExecutionEngine that executes a given program.
ProgramExecutionService - Class in dev.zemco.codegame.execution
Implementation of business logic related to execution.
ProgramExecutionService(IMemoryService, IInputSourceFactory, IOutputSinkFactory) - Constructor for class dev.zemco.codegame.execution.ProgramExecutionService
Creates an instance of ProgramExecutionEngine.

R

resetAttempt() - Method in interface dev.zemco.codegame.presentation.solution.ISolutionModel
Triggers a new solution attempt.
resetAttempt() - Method in class dev.zemco.codegame.presentation.solution.SolutionModel
 
ResourceFxmlViewSourceProvider - Class in dev.zemco.codegame.presentation
Provides the JavaFX FXML sources from resources of the specified class for specified views.
ResourceFxmlViewSourceProvider(Class<?>, Map<String, String>) - Constructor for class dev.zemco.codegame.presentation.ResourceFxmlViewSourceProvider
Creates an instance of ResourceFxmlViewSourceProvider.
ResourceLoadException - Exception in dev.zemco.codegame.resources
Thrown when an error occurs during application resource loading.
ResourceLoadException(String) - Constructor for exception dev.zemco.codegame.resources.ResourceLoadException
Creates an instance of ResourceLoadException.
ResourceLoadException(String, Throwable) - Constructor for exception dev.zemco.codegame.resources.ResourceLoadException
Creates an instance of ResourceLoadException.

S

selectedProblemProperty() - Method in interface dev.zemco.codegame.presentation.problems.IProblemListModel
Property holding the currently selected problem for solving.
selectedProblemProperty() - Method in class dev.zemco.codegame.presentation.problems.ProblemListModel
 
selectProblem(Problem) - Method in interface dev.zemco.codegame.presentation.problems.IProblemListModel
Selects a problem for solving.
selectProblem(Problem) - Method in class dev.zemco.codegame.presentation.problems.ProblemListModel
 
setValue(int) - Method in interface dev.zemco.codegame.execution.memory.IMemoryCell
Sets value held by the cell.
setValue(int) - Method in class dev.zemco.codegame.execution.memory.SimpleMemoryCell
 
shouldPerformJump(IExecutionContext) - Method in class dev.zemco.codegame.execution.instructions.JumpIfZeroInstruction
Checks if the value of the working memory cell is equal to zero.
shouldPerformJump(IExecutionContext) - Method in class dev.zemco.codegame.execution.instructions.JumpInstruction
Checks if the instruction should request the engine to perform a jump.
showErrorDialog(String, String) - Method in interface dev.zemco.codegame.presentation.dialog.IDialogService
Displays an error alert dialog to the user.
showErrorDialog(String, String) - Method in class dev.zemco.codegame.presentation.dialog.JavaFxDialogService
 
showInformationDialog(String, String) - Method in interface dev.zemco.codegame.presentation.dialog.IDialogService
Displays an information alert dialog to the user.
showInformationDialog(String, String) - Method in class dev.zemco.codegame.presentation.dialog.JavaFxDialogService
 
SimpleMemoryCell - Class in dev.zemco.codegame.execution.memory
Simple memory cell that does not hold any value from the start.
SimpleMemoryCell() - Constructor for class dev.zemco.codegame.execution.memory.SimpleMemoryCell
Creates an instance of SimpleMemoryCell that holds no value.
SimpleSolutionErrorModelFactory - Class in dev.zemco.codegame.presentation.solution.errors
Simple implementation that formats error model descriptions by joining the messages of the exception chain.
SimpleSolutionErrorModelFactory() - Constructor for class dev.zemco.codegame.presentation.solution.errors.SimpleSolutionErrorModelFactory
 
SimpleViewIdNavigator - Class in dev.zemco.codegame.presentation
Simple implementation of navigation which treats requested navigation routes as view ids.
SimpleViewIdNavigator(IStageProvider, IViewProvider) - Constructor for class dev.zemco.codegame.presentation.SimpleViewIdNavigator
Creates an instance of SimpleViewIdNavigator ready for navigation.
SolutionController - Class in dev.zemco.codegame.presentation.solution
Controller for the solution view that manipulates provided solution model.
SolutionController(ISolutionModel, INavigator, IDialogService, IHighlightStyleComputer) - Constructor for class dev.zemco.codegame.presentation.solution.SolutionController
Creates an instance of SolutionController.
SolutionEvaluator - Class in dev.zemco.codegame.evaluation
Implementation of a solution evaluator that evaluates an underlying execution context against a specific problem case using an evaluation strategy.
SolutionEvaluator(IExecutionContext, IEvaluationStrategy, ProblemCase) - Constructor for class dev.zemco.codegame.evaluation.SolutionEvaluator
Creates an instance of SolutionEvaluator.
SolutionModel - Class in dev.zemco.codegame.presentation.solution
Implementation of solution model evaluating solution created by player.
SolutionModel(IProblemListModel, IProgramCompiler, IEvaluationService, ISolutionErrorModelFactory) - Constructor for class dev.zemco.codegame.presentation.solution.SolutionModel
Creates an instance of SolutionModel.
start(Stage) - Method in class dev.zemco.codegame.CodeGameApplication
Initializes the application and presents the initial view to the user.
startTestEvaluation() - Method in interface dev.zemco.codegame.presentation.solution.ISolutionModel
Starts test evaluation of the player's solution on test problem case.
startTestEvaluation() - Method in class dev.zemco.codegame.presentation.solution.SolutionModel
 
step() - Method in interface dev.zemco.codegame.evaluation.ISolutionEvaluator
Steps the underlying execution and checks if the new state satisfies the rules being evaluated.
step() - Method in class dev.zemco.codegame.evaluation.SolutionEvaluator
 
step() - Method in class dev.zemco.codegame.evaluation.TimeoutSolutionEvaluatorDecorator
Steps the decorated evaluator if the maximum allowed number of steps was not reached.
step() - Method in interface dev.zemco.codegame.execution.engine.IExecutionEngine
Executes a single instruction on the engine's execution context and moves to the next.
step() - Method in class dev.zemco.codegame.execution.engine.ProgramExecutionEngine
 
StepEvaluationException - Exception in dev.zemco.codegame.evaluation
Thrown during the evaluation step if the evaluation reaches an undesired state.
StepEvaluationException(String) - Constructor for exception dev.zemco.codegame.evaluation.StepEvaluationException
Creates an instance of StepEvaluationException.
StepEvaluationException(String, Throwable) - Constructor for exception dev.zemco.codegame.evaluation.StepEvaluationException
Creates an instance of StepEvaluationException.
StepExecutionException - Exception in dev.zemco.codegame.execution.engine
Thrown when an exception is thrown during instruction execution while engine is doing a step.
StepExecutionException(String, Throwable, int) - Constructor for exception dev.zemco.codegame.execution.engine.StepExecutionException
Creates an instance of StepExecutionException.
stepTestEvaluation() - Method in interface dev.zemco.codegame.presentation.solution.ISolutionModel
Steps test evaluation of the player's solution.
stepTestEvaluation() - Method in class dev.zemco.codegame.presentation.solution.SolutionModel
 
stopTestEvaluation() - Method in interface dev.zemco.codegame.presentation.solution.ISolutionModel
Stops test evaluation of the player's solution.
stopTestEvaluation() - Method in class dev.zemco.codegame.presentation.solution.SolutionModel
 
submitSolution() - Method in interface dev.zemco.codegame.presentation.solution.ISolutionModel
Attempts to submit the player's solution.
submitSolution() - Method in class dev.zemco.codegame.presentation.solution.SolutionModel
 
SupplierInstructionParser - Class in dev.zemco.codegame.compilation.parsing
Parses a named instruction without parameters by requesting it from supplier.
SupplierInstructionParser(String, Supplier<IInstruction>) - Constructor for class dev.zemco.codegame.compilation.parsing.SupplierInstructionParser
Creates an instance of SupplierInstructionParser that parses instructions with the given name by requesting them from the given supplier.
syntaxErrorProperty() - Method in interface dev.zemco.codegame.presentation.solution.ISolutionModel
Property holding the last solution error model indicating syntax error in the player's solution source code.
syntaxErrorProperty() - Method in class dev.zemco.codegame.presentation.solution.SolutionModel
 

T

TimeoutException - Exception in dev.zemco.codegame.evaluation
Thrown during the evaluation step if maximum allowed number of steps was reached.
TimeoutException(String) - Constructor for exception dev.zemco.codegame.evaluation.TimeoutException
Creates an instance of TimeoutException.
TimeoutSolutionEvaluatorDecorator - Class in dev.zemco.codegame.evaluation
Enforces maximum step count for a given evaluation.
TimeoutSolutionEvaluatorDecorator(ISolutionEvaluator, int) - Constructor for class dev.zemco.codegame.evaluation.TimeoutSolutionEvaluatorDecorator
Creates an instance of TimeoutSolutionEvaluatorDecorator which wraps an existing evaluator.
toString() - Method in class dev.zemco.codegame.problems.Problem
Returns formatted string identifying this problem.

U

UnknownJumpLabelException - Exception in dev.zemco.codegame.execution.engine
Thrown when a jump is attempted, but the jump label is unknown to the engine.
UnknownJumpLabelException(String) - Constructor for exception dev.zemco.codegame.execution.engine.UnknownJumpLabelException
Creates an instance of UnknownJumpLabelException.
UnknownRouteException - Exception in dev.zemco.codegame.presentation
Thrown when navigation is attempted, but the route is not known by the navigator.
UnknownRouteException(String, Throwable) - Constructor for exception dev.zemco.codegame.presentation.UnknownRouteException
Creates an instance of UnknownRouteException.
UnknownViewException - Exception in dev.zemco.codegame.presentation
Thrown when a component does not recognize a view.
UnknownViewException(String) - Constructor for exception dev.zemco.codegame.presentation.UnknownViewException
Creates an instance of UnknownViewException.
unsubscribe() - Method in interface dev.zemco.codegame.presentation.IListenerSubscription
Unsubscribes from the observable by removing the backing listener.
UpdatableMemoryCellObserverAdapter - Class in dev.zemco.codegame.presentation.execution
Adapts existing memory cell by observing its value when manually requested using the UpdatableMemoryCellObserverAdapter.updateValue() method.
UpdatableMemoryCellObserverAdapter(int, IMemoryCell) - Constructor for class dev.zemco.codegame.presentation.execution.UpdatableMemoryCellObserverAdapter
Creates an instance of UpdatableMemoryCellObserverAdapter adapting and observing an existing memory cell.
updateValue() - Method in class dev.zemco.codegame.presentation.execution.UpdatableMemoryCellObserverAdapter
Observes the current value of the adapted memory cell and notifies its listeners via the UpdatableMemoryCellObserverAdapter.valueProperty() if the value has changed.
UrlObjectMapperProblemRepository - Class in dev.zemco.codegame.problems
Problem repository which uses URL as a constant data source and ObjectMapper for deserialization.
UrlObjectMapperProblemRepository(URL, ObjectMapper) - Constructor for class dev.zemco.codegame.problems.UrlObjectMapperProblemRepository
Creates an instance of UrlObjectMapperProblemRepository.

V

valueProperty() - Method in interface dev.zemco.codegame.presentation.execution.IMemoryCellObserver
Property indicating last value of the observed memory cell.
valueProperty() - Method in class dev.zemco.codegame.presentation.execution.UpdatableMemoryCellObserverAdapter
 
VerifyingInputSourceToOutputSinkAdapter - Class in dev.zemco.codegame.execution.io
Output sink that matches execution outputs to values from input source.
VerifyingInputSourceToOutputSinkAdapter(IInputSource) - Constructor for class dev.zemco.codegame.execution.io.VerifyingInputSourceToOutputSinkAdapter
Creates an instance of VerifyingInputSourceToOutputSinkAdapter by adapting existing input source.
A B C D E F G H I J L M N O P R S T U V 
All Classes and Interfaces|All Packages|Serialized Form