Index
All Classes and Interfaces|All Packages|Serialized Form
A
- ArrayUtils - Class in io.github.lukebemish.brainfrick.lang
-
Utility methods for using arrays from brainfrick.
- ArrayUtils() - Constructor for class io.github.lukebemish.brainfrick.lang.ArrayUtils
- asB(Object) - Static method in class io.github.lukebemish.brainfrick.lang.runtime.InvocationUtils
-
Attempts to unbox or convert a value to a byte.
- asC(Object) - Static method in class io.github.lukebemish.brainfrick.lang.runtime.InvocationUtils
-
Attempts to unbox or convert a value to a char.
- asD(Object) - Static method in class io.github.lukebemish.brainfrick.lang.runtime.InvocationUtils
-
Attempts to unbox or convert a value to a double.
- asF(Object) - Static method in class io.github.lukebemish.brainfrick.lang.runtime.InvocationUtils
-
Attempts to unbox or convert a value to a float.
- asI(Object) - Static method in class io.github.lukebemish.brainfrick.lang.runtime.InvocationUtils
-
Attempts to unbox or convert a value to an int.
- asInt(int) - Method in class io.github.lukebemish.brainfrick.lang.runtime.Cells
-
Gets an integer representation of the object at a given index, to be used during the ':' or ',' operations.
- asJ(Object) - Static method in class io.github.lukebemish.brainfrick.lang.runtime.InvocationUtils
-
Attempts to unbox or convert a value to a long.
- asS(Object) - Static method in class io.github.lukebemish.brainfrick.lang.runtime.InvocationUtils
-
Attempts to unbox or convert a value to a short.
- asZ(Object) - Static method in class io.github.lukebemish.brainfrick.lang.runtime.InvocationUtils
-
Attempts to unbox or convert a value to a boolean.
B
- BufferTooSmallException - Exception in io.github.lukebemish.brainfrick.lang.runtime
-
An exception thrown to indicate that the buffer of values available when brainfrick attempts to call a callable was too small for the callable in question.
- BufferTooSmallException(String, int, int) - Constructor for exception io.github.lukebemish.brainfrick.lang.runtime.BufferTooSmallException
-
Creates a new
BufferTooSmallException
with the given message.
C
- call(List) - Method in interface io.github.lukebemish.brainfrick.lang.runtime.Caller
-
Call the callable object, pulling the necessary parameters from the provided
List
- Caller - Interface in io.github.lukebemish.brainfrick.lang.runtime
-
Represents any sort of callable object.
- Cells - Class in io.github.lukebemish.brainfrick.lang.runtime
-
Holds the structure used to store data during a brainfrick method execution.
- Cells() - Constructor for class io.github.lukebemish.brainfrick.lang.runtime.Cells
-
Creates a new cell structure.
- checkEnough(int, int) - Static method in class io.github.lukebemish.brainfrick.lang.runtime.InvocationUtils
-
Checks whether the given buffer size is larger than the required buffer size.
D
- decr() - Method in interface io.github.lukebemish.brainfrick.lang.Decrementable
-
Called when the '-' operator is used while pointing towards this instance.
- decr(int, int) - Method in class io.github.lukebemish.brainfrick.lang.runtime.Cells
-
Decrements the object at the given cell the provided number of times.
- Decrementable - Interface in io.github.lukebemish.brainfrick.lang
-
An object implementing this interface is marked as having custom decrementation logic.
E
- existingType - Variable in exception io.github.lukebemish.brainfrick.lang.runtime.ImproperTypeException
-
The original type of the object.
F
- fromBuffer(List) - Static method in class io.github.lukebemish.brainfrick.lang.runtime.ReturnUtils
-
Gets a value to return from the top of a buffer.
- fromChars(List) - Static method in class io.github.lukebemish.brainfrick.lang.runtime.ReturnUtils
-
Creates a string from a buffer.
G
- get(boolean[], int) - Static method in class io.github.lukebemish.brainfrick.lang.ArrayUtils
-
Allows getting values from boolean arrays.
- get(byte[], int) - Static method in class io.github.lukebemish.brainfrick.lang.ArrayUtils
-
Allows getting values from byte arrays.
- get(char[], int) - Static method in class io.github.lukebemish.brainfrick.lang.ArrayUtils
-
Allows getting values from char arrays.
- get(double[], int) - Static method in class io.github.lukebemish.brainfrick.lang.ArrayUtils
-
Allows getting values from double arrays.
- get(float[], int) - Static method in class io.github.lukebemish.brainfrick.lang.ArrayUtils
-
Allows getting values from float arrays.
- get(int) - Method in class io.github.lukebemish.brainfrick.lang.runtime.Cells
-
Gets the object at a given index in the structure; used during the '.' operation.
- get(int[], int) - Static method in class io.github.lukebemish.brainfrick.lang.ArrayUtils
-
Allows getting values from int arrays.
- get(long[], int) - Static method in class io.github.lukebemish.brainfrick.lang.ArrayUtils
-
Allows getting values from long arrays.
- get(short[], int) - Static method in class io.github.lukebemish.brainfrick.lang.ArrayUtils
-
Allows getting values from short arrays.
- get(T[], int) - Static method in class io.github.lukebemish.brainfrick.lang.ArrayUtils
-
Allows getting values from object arrays.
- getByte() - Method in interface io.github.lukebemish.brainfrick.lang.Numberlike
-
Gets a byte representation of the object.
- getChar() - Method in interface io.github.lukebemish.brainfrick.lang.Numberlike
-
Gets a char representation of the object.
- getDouble() - Method in interface io.github.lukebemish.brainfrick.lang.Numberlike
-
Gets a double representation of the object.
- getFloat() - Method in interface io.github.lukebemish.brainfrick.lang.Numberlike
-
Gets a float representation of the object.
- getInt() - Method in interface io.github.lukebemish.brainfrick.lang.Numberlike
-
Gets an integer representation of the object.
- getLong() - Method in interface io.github.lukebemish.brainfrick.lang.Numberlike
-
Gets a long representation of the object.
- getShort() - Method in interface io.github.lukebemish.brainfrick.lang.Numberlike
-
Gets a short representation of the object.
I
- ImproperTypeException - Exception in io.github.lukebemish.brainfrick.lang.runtime
-
An exception thrown to indicate that a type cannot be unboxed into another type.
- ImproperTypeException(String, Class<?>, Class<?>) - Constructor for exception io.github.lukebemish.brainfrick.lang.runtime.ImproperTypeException
-
Creates a new
ImproperTypeException
with the given message and initial and target types. - incr() - Method in interface io.github.lukebemish.brainfrick.lang.Incrementable
-
Called when the '+' operator is used while pointing towards this instance.
- incr(int, int) - Method in class io.github.lukebemish.brainfrick.lang.runtime.Cells
-
Increments the object at the given cell the provided number of times.
- Incrementable - Interface in io.github.lukebemish.brainfrick.lang
-
An object implementing this interface is marked as having custom incrementation logic.
- InvocationUtils - Class in io.github.lukebemish.brainfrick.lang.runtime
-
Contains methods used while invoking
Caller
instances from a compiled brainmap, or when attempting to box or unbox values in order to create integer indices duringCells.asInt(int)
. - io.github.lukebemish.brainfrick.lang - package io.github.lukebemish.brainfrick.lang
-
General utilities and interfaces necessary or useful for brainfrick.
- io.github.lukebemish.brainfrick.lang.runtime - package io.github.lukebemish.brainfrick.lang.runtime
-
Classes used at runtime by brainfrick and referenced in compiled code.
- isZero() - Method in interface io.github.lukebemish.brainfrick.lang.Numberlike
- isZero() - Method in interface io.github.lukebemish.brainfrick.lang.Zeroable
-
Called when the '[' or ']' operators are used while pointing towards the instance, or when the instance is unboxed into a boolean value.
- isZero(int) - Method in class io.github.lukebemish.brainfrick.lang.runtime.Cells
-
Determines whether the element at a given index is zero-like.
N
- Numberlike - Interface in io.github.lukebemish.brainfrick.lang
-
An object implementing this interface is marked as being number-like for the purpose of indexing arguments, using the ',' operator, or indexing callers, using the ':' operator.
O
- ofSizeBoolean(int) - Static method in class io.github.lukebemish.brainfrick.lang.ArrayUtils
-
Creates an empty boolean array.
- ofSizeByte(int) - Static method in class io.github.lukebemish.brainfrick.lang.ArrayUtils
-
Creates an empty byte array.
- ofSizeChar(int) - Static method in class io.github.lukebemish.brainfrick.lang.ArrayUtils
-
Creates an empty char array.
- ofSizeDouble(int) - Static method in class io.github.lukebemish.brainfrick.lang.ArrayUtils
-
Creates an empty double array.
- ofSizeFloat(int) - Static method in class io.github.lukebemish.brainfrick.lang.ArrayUtils
-
Creates an empty float array.
- ofSizeInt(int) - Static method in class io.github.lukebemish.brainfrick.lang.ArrayUtils
-
Creates an empty int array.
- ofSizeLong(int) - Static method in class io.github.lukebemish.brainfrick.lang.ArrayUtils
-
Creates an empty long array.
- ofSizeObject(int, Class<T>) - Static method in class io.github.lukebemish.brainfrick.lang.ArrayUtils
-
Creates an empty object array.
- ofSizeShort(int) - Static method in class io.github.lukebemish.brainfrick.lang.ArrayUtils
-
Creates an empty short array.
P
- provided - Variable in exception io.github.lukebemish.brainfrick.lang.runtime.BufferTooSmallException
-
The number of values present on the buffer.
R
- required - Variable in exception io.github.lukebemish.brainfrick.lang.runtime.BufferTooSmallException
-
The number of values required by the
Caller
. - ReturnUtils - Class in io.github.lukebemish.brainfrick.lang.runtime
-
Contains utility methods used by brainfrick to handle casting to return types.
S
- set(boolean[], int, boolean) - Static method in class io.github.lukebemish.brainfrick.lang.ArrayUtils
-
Allows setting of values in boolean arrays.
- set(byte[], int, byte) - Static method in class io.github.lukebemish.brainfrick.lang.ArrayUtils
-
Allows setting of values in byte arrays.
- set(char[], int, char) - Static method in class io.github.lukebemish.brainfrick.lang.ArrayUtils
-
Allows setting of values in char arrays.
- set(double[], int, double) - Static method in class io.github.lukebemish.brainfrick.lang.ArrayUtils
-
Allows setting of values in double arrays.
- set(float[], int, float) - Static method in class io.github.lukebemish.brainfrick.lang.ArrayUtils
-
Allows setting of values in float arrays.
- set(int[], int, int) - Static method in class io.github.lukebemish.brainfrick.lang.ArrayUtils
-
Allows setting of values in int arrays.
- set(int, Object) - Method in class io.github.lukebemish.brainfrick.lang.runtime.Cells
-
Replaces the object at a given index in the structure.
- set(long[], int, long) - Static method in class io.github.lukebemish.brainfrick.lang.ArrayUtils
-
Allows setting of values in long arrays.
- set(short[], int, short) - Static method in class io.github.lukebemish.brainfrick.lang.ArrayUtils
-
Allows setting of values in short arrays.
- set(T[], int, T) - Static method in class io.github.lukebemish.brainfrick.lang.ArrayUtils
-
Allows setting of values in object arrays.
- size(boolean[]) - Static method in class io.github.lukebemish.brainfrick.lang.ArrayUtils
-
Allows getting the size of a boolean array.
- size(byte[]) - Static method in class io.github.lukebemish.brainfrick.lang.ArrayUtils
-
Allows getting the size of a byte array.
- size(char[]) - Static method in class io.github.lukebemish.brainfrick.lang.ArrayUtils
-
Allows getting the size of a char array.
- size(double[]) - Static method in class io.github.lukebemish.brainfrick.lang.ArrayUtils
-
Allows getting the size of a double array.
- size(float[]) - Static method in class io.github.lukebemish.brainfrick.lang.ArrayUtils
-
Allows getting the size of a float array.
- size(int[]) - Static method in class io.github.lukebemish.brainfrick.lang.ArrayUtils
-
Allows getting the size of an int array.
- size(long[]) - Static method in class io.github.lukebemish.brainfrick.lang.ArrayUtils
-
Allows getting the size of a long array.
- size(short[]) - Static method in class io.github.lukebemish.brainfrick.lang.ArrayUtils
-
Allows getting the size of a short array.
- size(T[]) - Static method in class io.github.lukebemish.brainfrick.lang.ArrayUtils
-
Allows getting the size of an object array.
T
- targetType - Variable in exception io.github.lukebemish.brainfrick.lang.runtime.ImproperTypeException
-
The type that the object could not be unboxed to or turned into.
U
- UnsupportedCellOperationException - Exception in io.github.lukebemish.brainfrick.lang.runtime
-
An exception thrown to indicate that a given brainfrick operation (such as incrementing or decrementing) cannot be applied to the given object.
- UnsupportedCellOperationException(String) - Constructor for exception io.github.lukebemish.brainfrick.lang.runtime.UnsupportedCellOperationException
-
Creates a new
UnsupportedCellOperationException
with the given message
Z
- Zeroable - Interface in io.github.lukebemish.brainfrick.lang
-
An object implementing this interface is marked as having custom logic to determine whether it is zero-like for the purpose of the '[' or ']' operators.
All Classes and Interfaces|All Packages|Serialized Form