A C F G H I L N O P R S T U V W 

A

AbstractFileSolver - Class in org.hildan.hashcode.utils.solver
 
AbstractFileSolver() - Constructor for class org.hildan.hashcode.utils.solver.AbstractFileSolver
 
accept(String) - Method in class org.hildan.hashcode.utils.solver.AbstractFileSolver
 
accept(Context) - Method in class org.hildan.hashcode.utils.parser.readers.variable.VariableReader
Reads as much input as necessary to set the given variables.
AddFunction<E,C> - Interface in org.hildan.hashcode.utils.parser.readers.container
A function that adds elements to a container.
apply(C, int, E) - Method in interface org.hildan.hashcode.utils.parser.readers.container.AddFunction
Adds an element to the given container.
apply(Context) - Method in interface org.hildan.hashcode.utils.parser.readers.ObjectReader
 

C

ChildReader<T,P> - Interface in org.hildan.hashcode.utils.parser.readers
Reads an object from the current Context, consuming as much input as necessary.
close() - Method in class org.hildan.hashcode.utils.parser.context.LineNumberScanner
 
closeReader() - Method in class org.hildan.hashcode.utils.parser.context.Context
Releases potential resources used by the reader.
computeOutputFilename(String) - Method in class org.hildan.hashcode.utils.solver.AbstractFileSolver
 
Config - Class in org.hildan.hashcode.utils.parser.config
Encapsulates the configuration that defines the readers' behaviour.
Config() - Constructor for class org.hildan.hashcode.utils.parser.config.Config
Creates a new config with the default separator .
Config(String) - Constructor for class org.hildan.hashcode.utils.parser.config.Config
Creates a new config with the given separator.
ContainerReader<E,C,P> - Class in org.hildan.hashcode.utils.parser.readers.container
An ChildReader that creates a container, and reads multiple child objects from the input, adding them to the container.
ContainerReader(BiFunction<? super P, Context, Integer>, ChildReader<? extends E, ? super P>, IntFunction<? extends C>, AddFunction<? super E, ? super C>) - Constructor for class org.hildan.hashcode.utils.parser.readers.container.ContainerReader
Creates a new ContainerReader that may read the expected number of items from the parent object or a context variable using the provided size getter function.
Context - Class in org.hildan.hashcode.utils.parser.context
Represents the current parsing context.
Context(Reader, Config) - Constructor for class org.hildan.hashcode.utils.parser.context.Context
Creates a new parsing context using the given Reader to access the input.
create(int[]) - Method in interface org.hildan.hashcode.utils.parser.readers.constructors.IntArrayConstructor
Creates a new instance.
create(int, int) - Method in interface org.hildan.hashcode.utils.parser.readers.constructors.Int2Constructor
Creates a new instance.
create(int, int, int) - Method in interface org.hildan.hashcode.utils.parser.readers.constructors.Int3Constructor
Creates a new instance.
create(int, int, int, int) - Method in interface org.hildan.hashcode.utils.parser.readers.constructors.Int4Constructor
Creates a new instance.
create(int, int, int, int, int) - Method in interface org.hildan.hashcode.utils.parser.readers.constructors.Int5Constructor
Creates a new instance.
create(int, int, int, int, int, int) - Method in interface org.hildan.hashcode.utils.parser.readers.constructors.Int6Constructor
Creates a new instance.
create(int, int, int, int, int, int, int) - Method in interface org.hildan.hashcode.utils.parser.readers.constructors.Int7Constructor
Creates a new instance.
create(Supplier<? extends T>) - Static method in class org.hildan.hashcode.utils.parser.readers.HCReader
Creates a new ObjectReader that creates objects using the given constructor.
createFrom2Ints(Int2Constructor<T>) - Static method in class org.hildan.hashcode.utils.parser.readers.HCReader
Creates a new ObjectReader that creates objects using the given constructor.
createFrom2Vars(Int2Constructor<T>, String, String) - Method in class org.hildan.hashcode.utils.parser.readers.HCReader.WithVars
Creates a new ObjectReader that creates objects with the given constructor.
createFrom3Ints(Int3Constructor<T>) - Static method in class org.hildan.hashcode.utils.parser.readers.HCReader
Creates a new ObjectReader that creates objects using the given constructor.
createFrom3Vars(Int3Constructor<T>, String, String, String) - Method in class org.hildan.hashcode.utils.parser.readers.HCReader.WithVars
Creates a new ObjectReader that creates objects with the given constructor.
createFrom4Ints(Int4Constructor<T>) - Static method in class org.hildan.hashcode.utils.parser.readers.HCReader
Creates a new ObjectReader that creates objects using the given constructor.
createFrom4Vars(Int4Constructor<T>, String, String, String, String) - Method in class org.hildan.hashcode.utils.parser.readers.HCReader.WithVars
Creates a new ObjectReader that creates objects with the given constructor.
createFrom5Ints(Int5Constructor<T>) - Static method in class org.hildan.hashcode.utils.parser.readers.HCReader
Creates a new ObjectReader that creates objects using the given constructor.
createFrom5Vars(Int5Constructor<T>, String, String, String, String, String) - Method in class org.hildan.hashcode.utils.parser.readers.HCReader.WithVars
Creates a new ObjectReader that creates objects with the given constructor.
createFrom6Ints(Int6Constructor<T>) - Static method in class org.hildan.hashcode.utils.parser.readers.HCReader
Creates a new ObjectReader that creates objects using the given constructor.
createFrom6Vars(Int6Constructor<T>, String, String, String, String, String, String) - Method in class org.hildan.hashcode.utils.parser.readers.HCReader.WithVars
Creates a new ObjectReader that creates objects with the given constructor.
createFrom7Ints(Int7Constructor<T>) - Static method in class org.hildan.hashcode.utils.parser.readers.HCReader
Creates a new ObjectReader that creates objects using the given constructor.
createFrom7Vars(Int7Constructor<T>, String, String, String, String, String, String, String) - Method in class org.hildan.hashcode.utils.parser.readers.HCReader.WithVars
Creates a new ObjectReader that creates objects with the given constructor.
createFromInt(Function<Integer, ? extends T>) - Static method in class org.hildan.hashcode.utils.parser.readers.HCReader
Creates a new ObjectReader that creates objects using the given constructor.
createFromInts(IntArrayConstructor<T>, int) - Static method in class org.hildan.hashcode.utils.parser.readers.HCReader
Creates a new ObjectReader that creates objects using the given constructor.
createFromVar(Function<Integer, T>, String) - Method in class org.hildan.hashcode.utils.parser.readers.HCReader.WithVars
Creates a new ObjectReader that creates objects with the given constructor.
createFromVars(IntArrayConstructor<T>, String...) - Method in class org.hildan.hashcode.utils.parser.readers.HCReader.WithVars
Creates a new ObjectReader that creates objects with the given constructor.

F

FieldAndVarReader<P> - Class in org.hildan.hashcode.utils.parser.readers.section
A SectionReader that reads a value and injects it in a field of the parent object, and/or a context variable.
FieldAndVarReader(String, String) - Constructor for class org.hildan.hashcode.utils.parser.readers.section.FieldAndVarReader
Creates a new FieldAndVarReader with the given field/variable names.
FieldsAndVarsReader<P> - Class in org.hildan.hashcode.utils.parser.readers.section
A SectionReader that reads the values as fields of the parent object, and/or context variables.
FieldsAndVarsReader(String...) - Constructor for class org.hildan.hashcode.utils.parser.readers.section.FieldsAndVarsReader
Creates a new FieldsAndVarsReader with the given field/variable names.

G

getCurrentLine() - Method in class org.hildan.hashcode.utils.parser.context.LineNumberScanner
Gets the full line containing the last token read.
getLineNumber() - Method in class org.hildan.hashcode.utils.parser.context.LineNumberScanner
Gets the line number of the last token read.
getSeparator() - Method in class org.hildan.hashcode.utils.parser.config.Config
Gets the separator between values within a single line of the input.
getTargetType() - Method in exception org.hildan.hashcode.utils.parser.reflect.StringConversionException
Gets the attempted target type for the conversion.
getValue() - Method in exception org.hildan.hashcode.utils.parser.reflect.StringConversionException
Gets the value that failed to be converted.
getVariable(String) - Method in class org.hildan.hashcode.utils.parser.context.Context
Gets the value of the given context variable.
getVariableAsInt(String) - Method in class org.hildan.hashcode.utils.parser.context.Context
Gets the value of the given context variable, converted into an int.

H

HCParser<T> - Class in org.hildan.hashcode.utils.parser
HCParser parses textual input using a root ChildReader.
HCParser(ObjectReader<T>) - Constructor for class org.hildan.hashcode.utils.parser.HCParser
Creates a new HCParser with the default configuration.
HCParser(ObjectReader<T>, String) - Constructor for class org.hildan.hashcode.utils.parser.HCParser
Creates a new HCParser using the given separator.
HCParser(ObjectReader<T>, Config) - Constructor for class org.hildan.hashcode.utils.parser.HCParser
Creates a new HCParser with the given configuration.
HCReader - Class in org.hildan.hashcode.utils.parser.readers
 
HCReader() - Constructor for class org.hildan.hashcode.utils.parser.readers.HCReader
 
HCReader.WithVars - Class in org.hildan.hashcode.utils.parser.readers
An ObjectReader factory that creates reader that start by reading variables.
HCRunner<I> - Class in org.hildan.hashcode.utils.runner
HCRunner provides a simple way to execute a given solver on multiple inputs in separate parallel tasks.
HCRunner(Consumer<I>, UncaughtExceptionsPolicy) - Constructor for class org.hildan.hashcode.utils.runner.HCRunner
Creates a new HCRunner.
HCSolver<P> - Class in org.hildan.hashcode.utils.solver
 
HCSolver(HCParser<P>, Function<P, ? extends Iterable<? extends CharSequence>>) - Constructor for class org.hildan.hashcode.utils.solver.HCSolver
 
HIDE - org.hildan.hashcode.utils.runner.UncaughtExceptionsPolicy
Does nothing with the stack traces.

I

IncompleteInputReadException - Exception in org.hildan.hashcode.utils.parser.context
Thrown if the parsing ends while there is still input to read.
IncompleteInputReadException(int) - Constructor for exception org.hildan.hashcode.utils.parser.context.IncompleteInputReadException
 
IncompleteLineReadException - Exception in org.hildan.hashcode.utils.parser.context
Thrown if the next line is accessed while the current line has not been fully consumed.
IncompleteLineReadException(int, String) - Constructor for exception org.hildan.hashcode.utils.parser.context.IncompleteLineReadException
 
InputParsingException - Exception in org.hildan.hashcode.utils.parser
 
InputParsingException(int, String, String) - Constructor for exception org.hildan.hashcode.utils.parser.InputParsingException
 
InputParsingException(int, String, String, Throwable) - Constructor for exception org.hildan.hashcode.utils.parser.InputParsingException
 
InputParsingException(int, String, Throwable) - Constructor for exception org.hildan.hashcode.utils.parser.InputParsingException
 
InputParsingException(String) - Constructor for exception org.hildan.hashcode.utils.parser.InputParsingException
 
InputParsingException(String, Throwable) - Constructor for exception org.hildan.hashcode.utils.parser.InputParsingException
 
Int2Constructor<T> - Interface in org.hildan.hashcode.utils.parser.readers.constructors
The type of a constructor with 2 int arguments.
Int3Constructor<T> - Interface in org.hildan.hashcode.utils.parser.readers.constructors
The type of a constructor with 3 int arguments.
Int4Constructor<T> - Interface in org.hildan.hashcode.utils.parser.readers.constructors
The type of a constructor with 4 int arguments.
Int5Constructor<T> - Interface in org.hildan.hashcode.utils.parser.readers.constructors
The type of a constructor with 5 int arguments.
Int6Constructor<T> - Interface in org.hildan.hashcode.utils.parser.readers.constructors
The type of a constructor with 6 int arguments.
Int7Constructor<T> - Interface in org.hildan.hashcode.utils.parser.readers.constructors
The type of a constructor with 7 int arguments.
IntArrayConstructor<T> - Interface in org.hildan.hashcode.utils.parser.readers.constructors
The type of a constructor with an int array as single argument.

L

LineNumberScanner - Class in org.hildan.hashcode.utils.parser.context
A scanner that is aware of the line numbers and throws exceptions that contain this useful piece of information.
LineNumberScanner(Reader, String) - Constructor for class org.hildan.hashcode.utils.parser.context.LineNumberScanner
Creates a new LineNumberScanner using the given reader as underlying source.
LineReader<T,P> - Class in org.hildan.hashcode.utils.parser.readers.line
An ObjectReader that reads a full line of input to create an object.
LineReader(BiFunction<? super String[], P, T>) - Constructor for class org.hildan.hashcode.utils.parser.readers.line.LineReader
Creates a new LineReader.
LOG_ON_SLF4J - org.hildan.hashcode.utils.runner.UncaughtExceptionsPolicy
Log exceptions via SLF4J logging API.

N

nextDouble() - Method in class org.hildan.hashcode.utils.parser.context.LineNumberScanner
Scans the next token of the input as a double.
nextInt() - Method in class org.hildan.hashcode.utils.parser.context.LineNumberScanner
Scans the next token of the input as an int.
nextLine() - Method in class org.hildan.hashcode.utils.parser.context.LineNumberScanner
Reads and returns the next line of input.
nextLineTokens() - Method in class org.hildan.hashcode.utils.parser.context.LineNumberScanner
Reads and returns the next line of input as an array of string tokens.
nextString() - Method in class org.hildan.hashcode.utils.parser.context.LineNumberScanner
Scans the next token of the input as a string.
NoMoreLinesToReadException - Exception in org.hildan.hashcode.utils.parser.context
Thrown if the input is accessed for more lines when there is no more to read.
NoMoreLinesToReadException() - Constructor for exception org.hildan.hashcode.utils.parser.context.NoMoreLinesToReadException
 

O

ObjectReader<T> - Interface in org.hildan.hashcode.utils.parser.readers
Reads an object from the current Context, consuming as much input as necessary.
of(BiFunction<? super P, Context, Integer>, ChildReader<? extends E, ? super P>, IntFunction<? extends C>, AddFunction<? super E, ? super C>) - Static method in class org.hildan.hashcode.utils.parser.readers.container.ContainerReader
Creates a new ContainerReader that may read the expected number of items from the parent object or a context variable.
of(Function<Context, T>) - Method in class org.hildan.hashcode.utils.parser.readers.HCReader.WithVars
Creates a new ObjectReader that first read some variables before calling the given function.
of(HCParser<P>) - Static method in class org.hildan.hashcode.utils.solver.HCSolver
 
of(HCParser<P>, Function<P, ? extends Iterable<? extends CharSequence>>) - Static method in class org.hildan.hashcode.utils.solver.HCSolver
 
of(ObjectReader<P>) - Static method in class org.hildan.hashcode.utils.solver.HCSolver
 
of(ObjectReader<P>, Function<P, ? extends Iterable<? extends CharSequence>>) - Static method in class org.hildan.hashcode.utils.solver.HCSolver
 
ofArray(BiFunction<? super P, Context, Integer>, ChildReader<? extends E, ? super P>, IntFunction<E[]>) - Static method in class org.hildan.hashcode.utils.parser.readers.container.ContainerReader
Creates a ContainerReader that reads an array of items.
ofArray(IntFunction<E[]>, Function<? super String, ? extends E>) - Static method in class org.hildan.hashcode.utils.parser.readers.line.LineReader
Creates a new ObjectReader that reads a full line as an array of objects.
ofChild(BiFunction<? super String[], P, T>) - Static method in class org.hildan.hashcode.utils.parser.readers.line.LineReader
Creates a new ChildReader that reads a full line and converts the result using the given converter.
ofCollection(BiFunction<? super P, Context, Integer>, ChildReader<? extends E, ? super P>, IntFunction<C>) - Static method in class org.hildan.hashcode.utils.parser.readers.container.ContainerReader
Creates a ContainerReader that reads a collection of items.
ofCollection(Function<? super String, ? extends E>, Collector<E, ?, R>) - Static method in class org.hildan.hashcode.utils.parser.readers.line.LineReader
Creates a new ObjectReader that reads a full line of tokens and reduces these tokens using the provided collector.
ofDoubleArray() - Static method in class org.hildan.hashcode.utils.parser.readers.line.LineReader
Creates a new ObjectReader that reads a full line as an array of doubles.
ofIntArray() - Static method in class org.hildan.hashcode.utils.parser.readers.line.LineReader
Creates a new ObjectReader that reads a full line as an array of integers.
ofList(BiFunction<? super P, Context, Integer>, ChildReader<? extends E, ? super P>) - Static method in class org.hildan.hashcode.utils.parser.readers.container.ContainerReader
Creates a ContainerReader that reads a list of items.
ofList(Function<? super String, ? extends E>) - Static method in class org.hildan.hashcode.utils.parser.readers.line.LineReader
Creates a new ObjectReader that reads a full line as a list of objects.
ofLongArray() - Static method in class org.hildan.hashcode.utils.parser.readers.line.LineReader
Creates a new ObjectReader that reads a full line as an array of long.
ofObject(Function<? super String[], T>) - Static method in class org.hildan.hashcode.utils.parser.readers.line.LineReader
Creates a new ObjectReader that reads a full line and converts the result using the given converter.
ofStringArray() - Static method in class org.hildan.hashcode.utils.parser.readers.line.LineReader
Creates a new ObjectReader that reads a full line as an array of strings.
org.hildan.hashcode.utils.parser - package org.hildan.hashcode.utils.parser
 
org.hildan.hashcode.utils.parser.config - package org.hildan.hashcode.utils.parser.config
 
org.hildan.hashcode.utils.parser.context - package org.hildan.hashcode.utils.parser.context
 
org.hildan.hashcode.utils.parser.readers - package org.hildan.hashcode.utils.parser.readers
 
org.hildan.hashcode.utils.parser.readers.constructors - package org.hildan.hashcode.utils.parser.readers.constructors
 
org.hildan.hashcode.utils.parser.readers.container - package org.hildan.hashcode.utils.parser.readers.container
 
org.hildan.hashcode.utils.parser.readers.line - package org.hildan.hashcode.utils.parser.readers.line
 
org.hildan.hashcode.utils.parser.readers.section - package org.hildan.hashcode.utils.parser.readers.section
 
org.hildan.hashcode.utils.parser.readers.variable - package org.hildan.hashcode.utils.parser.readers.variable
 
org.hildan.hashcode.utils.parser.reflect - package org.hildan.hashcode.utils.parser.reflect
 
org.hildan.hashcode.utils.runner - package org.hildan.hashcode.utils.runner
 
org.hildan.hashcode.utils.solver - package org.hildan.hashcode.utils.solver
 

P

parse(Reader) - Method in class org.hildan.hashcode.utils.parser.HCParser
Creates an instance of T by reading the input from the given Reader.
parse(String) - Method in class org.hildan.hashcode.utils.parser.HCParser
Parses the given input to create an instance of T.
parse(Context) - Method in class org.hildan.hashcode.utils.parser.HCParser
Creates an instance of T by reading the input from the given Context.
parseFile(String) - Method in class org.hildan.hashcode.utils.parser.HCParser
Parses the given file to create an instance of T.
PRINT_AND_LOG - org.hildan.hashcode.utils.runner.UncaughtExceptionsPolicy
PRINT_ON_STDERR - org.hildan.hashcode.utils.runner.UncaughtExceptionsPolicy
Print uncaught exceptions' stack traces to the standard error stream.

R

read(Context) - Method in interface org.hildan.hashcode.utils.parser.readers.constructors.Int2Constructor
 
read(Context) - Method in interface org.hildan.hashcode.utils.parser.readers.constructors.Int3Constructor
 
read(Context) - Method in interface org.hildan.hashcode.utils.parser.readers.constructors.Int4Constructor
 
read(Context) - Method in interface org.hildan.hashcode.utils.parser.readers.constructors.Int5Constructor
 
read(Context) - Method in interface org.hildan.hashcode.utils.parser.readers.constructors.Int6Constructor
 
read(Context) - Method in interface org.hildan.hashcode.utils.parser.readers.constructors.Int7Constructor
 
read(Context) - Method in interface org.hildan.hashcode.utils.parser.readers.ObjectReader
Reads an object from the given Context, consuming as much input as necessary.
read(Context, Object) - Method in interface org.hildan.hashcode.utils.parser.readers.ObjectReader
 
read(Context, P) - Method in interface org.hildan.hashcode.utils.parser.readers.ChildReader
Reads an object from the given Context, consuming as much input as necessary.
read(Context, P) - Method in class org.hildan.hashcode.utils.parser.readers.container.ContainerReader
 
read(Context, P) - Method in class org.hildan.hashcode.utils.parser.readers.line.LineReader
 
readAndSet(Context, P) - Method in class org.hildan.hashcode.utils.parser.readers.section.FieldAndVarReader
 
readAndSet(Context, P) - Method in class org.hildan.hashcode.utils.parser.readers.section.FieldsAndVarsReader
 
readAndSet(Context, T) - Method in interface org.hildan.hashcode.utils.parser.readers.section.SectionReader
Reads as much input as necessary to update the given object.
readDouble() - Method in class org.hildan.hashcode.utils.parser.context.Context
Scans the next token of the input as a double.
readInt() - Method in class org.hildan.hashcode.utils.parser.context.Context
Scans the next token of the input as an int.
readIntoVariable(String) - Method in class org.hildan.hashcode.utils.parser.context.Context
Scans the next token of the input as a string and stores the value into the given variable.
readLine() - Method in class org.hildan.hashcode.utils.parser.context.Context
Reads and returns the next line of input as an array of string tokens.
readString() - Method in class org.hildan.hashcode.utils.parser.context.Context
Scans the next token of the input as a string.
ReflectUtils - Class in org.hildan.hashcode.utils.parser.reflect
 
ReflectUtils() - Constructor for class org.hildan.hashcode.utils.parser.reflect.ReflectUtils
 
run(int, I...) - Method in class org.hildan.hashcode.utils.runner.HCRunner
Executes the solver given in the constructor on the given inputs, each in its own task.
run(I...) - Method in class org.hildan.hashcode.utils.runner.HCRunner
Executes the solver given in the constructor on the given inputs, each in its own thread.

S

SectionReader<T> - Interface in org.hildan.hashcode.utils.parser.readers.section
A reader that consumes as much input as necessary (a possibly multi-line "section") to update a previously created object.
setField(Object, String, Object) - Static method in class org.hildan.hashcode.utils.parser.reflect.ReflectUtils
 
settingArray(BiConsumer<? super P, ? super E[]>, IntFunction<E[]>, BiFunction<? super P, Context, Integer>, ChildReader<? extends E, ? super P>) - Static method in interface org.hildan.hashcode.utils.parser.readers.section.SectionReader
 
settingChild(BiConsumer<? super T, ? super V>, ChildReader<? extends V, ? super T>) - Static method in interface org.hildan.hashcode.utils.parser.readers.section.SectionReader
Returns a SectionReader that reads a child object and sets it on the target object, consuming as much input as necessary.
settingCollection(BiConsumer<? super P, ? super C>, IntFunction<C>, BiFunction<? super P, Context, Integer>, ChildReader<? extends E, ? super P>) - Static method in interface org.hildan.hashcode.utils.parser.readers.section.SectionReader
 
settingDouble(ObjDoubleConsumer<T>) - Static method in interface org.hildan.hashcode.utils.parser.readers.section.SectionReader
Returns a SectionReader that reads a double and sets it on the target object, consuming as much input as necessary.
settingInt(ObjIntConsumer<T>) - Static method in interface org.hildan.hashcode.utils.parser.readers.section.SectionReader
Returns a SectionReader that reads an int and sets it on the target object, consuming as much input as necessary.
settingList(BiConsumer<? super P, ? super List<E>>, BiFunction<? super P, Context, Integer>, ChildReader<? extends E, ? super P>) - Static method in interface org.hildan.hashcode.utils.parser.readers.section.SectionReader
 
settingObject(BiConsumer<T, ? super V>, Function<? super String, V>) - Static method in interface org.hildan.hashcode.utils.parser.readers.section.SectionReader
Returns a SectionReader that reads a value and sets it on the target object, consuming as much input as necessary.
settingString(BiConsumer<T, ? super String>) - Static method in interface org.hildan.hashcode.utils.parser.readers.section.SectionReader
Returns a SectionReader that reads a string and sets it on the target object, consuming as much input as necessary.
setVariable(String, String) - Method in class org.hildan.hashcode.utils.parser.context.Context
Sets the given variable to the given value.
shouldLogViaSlf4J() - Method in enum org.hildan.hashcode.utils.runner.UncaughtExceptionsPolicy
 
shouldPrintOnStdErr() - Method in enum org.hildan.hashcode.utils.runner.UncaughtExceptionsPolicy
 
skip(int) - Method in class org.hildan.hashcode.utils.parser.context.Context
Skips the next n tokens of input.
Solvable - Interface in org.hildan.hashcode.utils.solver
 
solve() - Method in interface org.hildan.hashcode.utils.solver.Solvable
 
solve(String) - Method in class org.hildan.hashcode.utils.solver.AbstractFileSolver
 
solve(String) - Method in class org.hildan.hashcode.utils.solver.HCSolver
 
SolverException - Exception in org.hildan.hashcode.utils.solver
 
SolverException(String, Throwable) - Constructor for exception org.hildan.hashcode.utils.solver.SolverException
 
StringConversionException - Exception in org.hildan.hashcode.utils.parser.reflect
An exception thrown when the StringConverter cannot convert the given value to the desired type.

T

then(Consumer<Context>) - Method in interface org.hildan.hashcode.utils.parser.readers.ObjectReader
Returns a new ObjectReader that creates the same object as this reader, and then executes the given function on the context.
then(SectionReader<? super T>) - Method in interface org.hildan.hashcode.utils.parser.readers.ObjectReader
Returns a new ObjectReader that creates the same object as this reader, and then executes the given SectionReader to update it.
thenArray(BiConsumer<? super T, ? super E[]>, IntFunction<E[]>, String, ChildReader<? extends E, ? super T>) - Method in interface org.hildan.hashcode.utils.parser.readers.ObjectReader
Returns a new ObjectReader that creates the same object as this reader, and then creates an array of objects from the next N lines, and sets it on the created object using the provided setter.
thenArray(BiConsumer<? super T, ? super E[]>, IntFunction<E[]>, BiFunction<? super T, Context, Integer>, ChildReader<? extends E, ? super T>) - Method in interface org.hildan.hashcode.utils.parser.readers.ObjectReader
Returns a new ObjectReader that creates the same object as this reader, and then creates an array of objects from the next N lines, and set it on the created object using the provided setter.
thenArray(BiConsumer<? super T, ? super E[]>, IntFunction<E[]>, Function<? super T, Integer>, ChildReader<? extends E, ? super T>) - Method in interface org.hildan.hashcode.utils.parser.readers.ObjectReader
Returns a new ObjectReader that creates the same object as this reader, and then creates an array of objects from the next N lines, and sets it on the created object using the provided setter.
thenArrayLine(BiConsumer<? super T, ? super E[]>, IntFunction<E[]>, Function<? super String, ? extends E>) - Method in interface org.hildan.hashcode.utils.parser.readers.ObjectReader
Returns a new ObjectReader that creates the same object as this reader, and then creates an array of objects from the next line, and sets it on the created object using the provided setter.
thenChild(BiConsumer<? super T, ? super C>, ChildReader<C, ? super T>) - Method in interface org.hildan.hashcode.utils.parser.readers.ObjectReader
Returns a new ObjectReader that creates the same object as this reader, and then creates a child object from the next few lines using the given reader, and sets it on the created parent object using the given setter.
thenDouble(ObjDoubleConsumer<? super T>) - Method in interface org.hildan.hashcode.utils.parser.readers.ObjectReader
Returns a new ObjectReader that creates the same object as this reader, and then reads one double from the input to set a property of the created object.
thenDoubleArrayLine(BiConsumer<? super T, double[]>) - Method in interface org.hildan.hashcode.utils.parser.readers.ObjectReader
Returns a new ObjectReader that creates the same object as this reader, and then creates an array of doubles from the next line, and sets it on the created object using the provided setter.
thenField(String) - Method in interface org.hildan.hashcode.utils.parser.readers.ObjectReader
Returns a new ObjectReader that creates the same object as this reader, and then reads one token from the input to set the given field on the created object.
thenFieldAndVar(String, String) - Method in interface org.hildan.hashcode.utils.parser.readers.ObjectReader
Returns a new ObjectReader that creates the same object as this reader, and then reads one token from the input to set the given field on the created object, and stores it in a variable as well.
thenFields(String...) - Method in interface org.hildan.hashcode.utils.parser.readers.ObjectReader
Returns a new ObjectReader that creates the same object as this reader, and then reads tokens from the input to set the given fields on the created object.
thenFieldsAndVars(String...) - Method in interface org.hildan.hashcode.utils.parser.readers.ObjectReader
Returns a new ObjectReader that creates the same object as this reader, and then maps each element of the next line to a field of the created object or to a context variable, or both.
thenInt(ObjIntConsumer<? super T>) - Method in interface org.hildan.hashcode.utils.parser.readers.ObjectReader
Returns a new ObjectReader that creates the same object as this reader, and then reads one int from the input to set a property of the created object.
thenIntArrayLine(BiConsumer<? super T, int[]>) - Method in interface org.hildan.hashcode.utils.parser.readers.ObjectReader
Returns a new ObjectReader that creates the same object as this reader, and then creates an array of ints from the next line, and sets it on the created object using the provided setter.
thenList(BiConsumer<? super T, ? super List<E>>, String, ChildReader<? extends E, ? super T>) - Method in interface org.hildan.hashcode.utils.parser.readers.ObjectReader
Returns a new ObjectReader that creates the same object as this reader, and then creates a list of objects from the next N lines, and sets it on the created object using the provided setter.
thenList(BiConsumer<? super T, ? super List<E>>, BiFunction<? super T, Context, Integer>, ChildReader<? extends E, ? super T>) - Method in interface org.hildan.hashcode.utils.parser.readers.ObjectReader
Returns a new ObjectReader that creates the same object as this reader, and then creates a list of objects from the next N lines, and sets it on the created object using the provided setter.
thenList(BiConsumer<? super T, ? super List<E>>, Function<? super T, Integer>, ChildReader<? extends E, ? super T>) - Method in interface org.hildan.hashcode.utils.parser.readers.ObjectReader
Returns a new ObjectReader that creates the same object as this reader, and then creates a list of objects from the next N lines, and sets it on the created object using the provided setter.
thenListLine(BiConsumer<? super T, ? super List<E>>, Function<String, ? extends E>) - Method in interface org.hildan.hashcode.utils.parser.readers.ObjectReader
Returns a new ObjectReader that creates the same object as this reader, and then creates a list of objects from the next line, and sets it on the created object using the provided setter.
thenLongArrayLine(BiConsumer<? super T, long[]>) - Method in interface org.hildan.hashcode.utils.parser.readers.ObjectReader
Returns a new ObjectReader that creates the same object as this reader, and then creates an array of longs from the next line, and sets it on the created object using the provided setter.
thenObject(BiConsumer<? super T, ? super V>, Function<? super String, V>) - Method in interface org.hildan.hashcode.utils.parser.readers.ObjectReader
Returns a new ObjectReader that creates the same object as this reader, and then reads one token from the input to set a property of the created object.
thenSkip(int) - Method in interface org.hildan.hashcode.utils.parser.readers.ObjectReader
Returns a new ObjectReader that creates the same object as this reader, and then consumes n tokens of the input without setting anything.
thenString(BiConsumer<? super T, ? super String>) - Method in interface org.hildan.hashcode.utils.parser.readers.ObjectReader
Returns a new ObjectReader that creates the same object as this reader, and then reads one string from the input to set a property of the created object.
thenStringArrayLine(BiConsumer<? super T, String[]>) - Method in interface org.hildan.hashcode.utils.parser.readers.ObjectReader
Returns a new ObjectReader that creates the same object as this reader, and then creates an array of strings from the next line, and sets it on the created object using the provided setter.
thenVar(String) - Method in interface org.hildan.hashcode.utils.parser.readers.ObjectReader
Returns a new ObjectReader that creates the same object as this reader, and then reads one token from the input and stores it into the given variable.
thenVars(String...) - Method in interface org.hildan.hashcode.utils.parser.readers.ObjectReader
Returns a new ObjectReader that creates the same object as this reader, and then reads tokens from the input to store them into the given variables.

U

UncaughtExceptionsPolicy - Enum in org.hildan.hashcode.utils.runner
An UncaughtExceptionsPolicy defines what to do with the stack traces of exceptions that are thrown during parallel tasks execution.
UndefinedVariableException - Exception in org.hildan.hashcode.utils.parser.context
Thrown when a context variable is accessed but has never been set.
UndefinedVariableException(String) - Constructor for exception org.hildan.hashcode.utils.parser.context.UndefinedVariableException
 

V

valueOf(String) - Static method in enum org.hildan.hashcode.utils.runner.UncaughtExceptionsPolicy
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.hildan.hashcode.utils.runner.UncaughtExceptionsPolicy
Returns an array containing the constants of this enum type, in the order they are declared.
VariableReader - Class in org.hildan.hashcode.utils.parser.readers.variable
A reader that consumes as much input as necessary to set the given variables.
VariableReader(String...) - Constructor for class org.hildan.hashcode.utils.parser.readers.variable.VariableReader
 

W

withVars(String...) - Static method in class org.hildan.hashcode.utils.parser.readers.HCReader
Creates an HCReader.WithVars initialized with the given variable names.
wrapException(String, Exception) - Method in class org.hildan.hashcode.utils.parser.context.Context
Wraps the given exception into an InputParsingException.
writeOutputFile(String, Iterable<? extends CharSequence>) - Method in class org.hildan.hashcode.utils.solver.AbstractFileSolver
 
A C F G H I L N O P R S T U V W 
Skip navigation links