Index
All Classes and Interfaces|All Packages
A
- addIntermediateConsumer(BiConsumer<I, O>) - Method in class net.orbyfied.coldlib.util.Assembly.Builder
- addIntermediateTransformer(Assembly.Transformer<I, O>) - Method in class net.orbyfied.coldlib.util.Assembly.Builder
- addResultConsumer(BiConsumer<T, O>) - Method in class net.orbyfied.coldlib.util.Assembly.Builder
- addResultTransformer(Assembly.Transformer<T, O>) - Method in class net.orbyfied.coldlib.util.Assembly.Builder
- all() - Static method in interface net.orbyfied.coldlib.util.logic.BitFlag
-
Create a new bit flag which will produce a full bit mask to cover all bits.
- asForking(BiFunction<Container<V>, V, Container<V>>) - Method in interface net.orbyfied.coldlib.util.Container
- asProtected(Predicate<StackTraceElement>, boolean) - Method in interface net.orbyfied.coldlib.util.Container
- asProtected(Container<V>, Predicate<StackTraceElement>, boolean) - Static method in interface net.orbyfied.coldlib.util.Container
-
Wraps the given container in an access layer protecting it against denied callers according to the provided stack frame predicate.
- Assembly<I,
T, O> - Class in net.orbyfied.coldlib.util -
Pipeline for creating and initializing an instance of type
Rwith options of typeO. - Assembly.Builder<I,
T, O> - Class in net.orbyfied.coldlib.util -
Builder for an assembly.
- Assembly.InstanceFactory<T,
O> - Interface in net.orbyfied.coldlib.util -
Responsible for creating an instance, taking in account the provided options.
- Assembly.Line<T,
O> - Class in net.orbyfied.coldlib.util -
A pipeline or assembly line which will transform the instance of type
Tby passing it through a line ofAssembly.Transformers. - Assembly.Transformer<T,
O> - Interface in net.orbyfied.coldlib.util -
One transformer/handler in a line.
- at(int) - Static method in interface net.orbyfied.coldlib.util.logic.BitFlag
-
Create a new basic bit flag with a specific bit offset set.
- await() - Method in interface net.orbyfied.coldlib.util.Container
- await(boolean) - Method in interface net.orbyfied.coldlib.util.Container
-
Awaits a value in this container if supported.
- awaitable(Container<V>) - Static method in interface net.orbyfied.coldlib.util.Container
-
Create a new container wrapping the provided, already existent container, to introduce awaiting functionality.
B
- BitFlag - Interface in net.orbyfied.coldlib.util.logic
-
Represents a flag object, which can be stored in a bit set (integer as well).
- build() - Method in class net.orbyfied.coldlib.util.Assembly
-
Assembles (creates, initializes, prepares) a new instance of type
Twith the default options. - build() - Method in class net.orbyfied.coldlib.util.Assembly.Builder
-
Builds a new assembly instance with the specified properties.
- build(O) - Method in class net.orbyfied.coldlib.util.Assembly
-
Assembles (creates, initializes, prepares) a new instance of type
Twith the provided options (nullable). - builder(Class<I>, Class<T>, Class<O>) - Static method in class net.orbyfied.coldlib.util.Assembly
-
Create a new builder instance.
C
- canAwait() - Method in interface net.orbyfied.coldlib.util.Container
-
Get if you can await/listen a value.
- cloneMutable() - Method in interface net.orbyfied.coldlib.util.Container
-
Clones this container (copies the value reference) into a new mutable container instance.
- ColdLib - Class in net.orbyfied.coldlib
-
The library instance.
- ColdLib(ColdLibProvider) - Constructor for class net.orbyfied.coldlib.ColdLib
- ColdLibProvider - Class in net.orbyfied.coldlib
-
Responsible for loading, bootstrapping and providing ColdLib to the VM.
- ColdLibProvider() - Constructor for class net.orbyfied.coldlib.ColdLibProvider
- ColdLibService - Class in net.orbyfied.coldlib
- ColdLibService(ColdLib, String) - Constructor for class net.orbyfied.coldlib.ColdLibService
- Container<V> - Interface in net.orbyfied.coldlib.util
-
A class responsible for holding a value and providing access to that value under certain conditions.
- Container.Mutability - Enum Class in net.orbyfied.coldlib.util
-
Specifies the way
- create(O) - Method in interface net.orbyfied.coldlib.util.Assembly.InstanceFactory
-
Creates an instance of type
Twith the given options. - createService(Class<S>, String) - Method in class net.orbyfied.coldlib.ColdLib
-
Creates and registers a new service instance of type
sClasswith the provided (optional) instance name.
D
- defaultOptionProvider - Variable in class net.orbyfied.coldlib.util.Assembly
-
The function which provides the default options object.
E
- enable() - Method in class net.orbyfied.coldlib.ColdLibProvider
-
Enables the library provider.
F
- finalImmutable(V) - Static method in interface net.orbyfied.coldlib.util.Container
-
Create a new immutable container with the value already set.
- finalizer - Variable in class net.orbyfied.coldlib.util.Assembly
-
The finalizer function.
- FORK - Enum constant in enum class net.orbyfied.coldlib.util.Container.Mutability
-
Trying to modify the container will fork it into a new instance with the modifications applied.
- forking(Container<V>, BiFunction<Container<V>, V, Container<V>>) - Static method in interface net.orbyfied.coldlib.util.Container
-
Create a new container wrapping the given container instance, which will, when modified, fork the instance, apply modification to the fork, and return the forked instance from the method.
- futureImmutable() - Static method in interface net.orbyfied.coldlib.util.Container
-
Create a new container whose value can only be set once.
G
- get() - Static method in class net.orbyfied.coldlib.ColdLib
-
Get the ColdLib instance from the provider.
- get() - Static method in class net.orbyfied.coldlib.ColdLibProvider
-
Get the library provider instance.
- get() - Method in interface net.orbyfied.coldlib.util.Container
-
Get the value currently stored.
- getAs(Class<T>) - Method in interface net.orbyfied.coldlib.util.Container
-
Get the value currently stored casted to type
T. - getBitMask() - Method in interface net.orbyfied.coldlib.util.logic.BitFlag
-
Get the bit mask by shifting one
BitFlag.getBitOffset()times to the right. - getBitOffset() - Method in interface net.orbyfied.coldlib.util.logic.BitFlag
-
Get the offset of the bit this flag uses in a bit set.
- getDefaultOptions() - Method in class net.orbyfied.coldlib.util.Assembly
-
Get the default options if defined.
- getDefaultOptionsProvider() - Method in class net.orbyfied.coldlib.util.Assembly.Builder
- getFinalizer() - Method in class net.orbyfied.coldlib.util.Assembly.Builder
- getInstanceFactory() - Method in class net.orbyfied.coldlib.util.Assembly.Builder
- getInstanceName() - Method in class net.orbyfied.coldlib.ColdLibService
- getIntermediateTransformers() - Method in class net.orbyfied.coldlib.util.Assembly.Builder
- getIntermediateType() - Method in class net.orbyfied.coldlib.util.Assembly
- getLibrary() - Static method in class net.orbyfied.coldlib.ColdLibProvider
-
Get the library instance.
- getLog() - Method in class net.orbyfied.coldlib.ColdLibProvider
-
Get the main event log.
- getLogGroup() - Method in class net.orbyfied.coldlib.ColdLibProvider
-
Get the main event log group.
- getOptionsType() - Method in class net.orbyfied.coldlib.util.Assembly
- getResultTransformers() - Method in class net.orbyfied.coldlib.util.Assembly.Builder
- getResultType() - Method in class net.orbyfied.coldlib.util.Assembly
- getService(Class<S>) - Method in class net.orbyfied.coldlib.ColdLib
-
Get a registered service by only class.
- getService(Class<S>, String) - Method in class net.orbyfied.coldlib.ColdLib
-
Get a registered service.
- getServices() - Method in class net.orbyfied.coldlib.ColdLib
-
Get the list of registered services.
I
- init() - Method in class net.orbyfied.coldlib.ColdLibProvider
- instance() - Method in class net.orbyfied.coldlib.ColdLibProvider
-
Get the library instance.
- instanceFactory - Variable in class net.orbyfied.coldlib.util.Assembly
-
The instance factory responsible for creating the first instance.
- instanceName - Variable in class net.orbyfied.coldlib.ColdLibService
-
The service instance name.
- intermediateLine - Variable in class net.orbyfied.coldlib.util.Assembly
-
The pipeline to transform the intermediate instance.
- isSet() - Method in interface net.orbyfied.coldlib.util.Container
-
Get if a value is currently set.
L
- lib - Variable in class net.orbyfied.coldlib.ColdLibProvider
-
The library instance.
- lib - Variable in class net.orbyfied.coldlib.ColdLibService
-
The library instance.
- Line(List<Assembly.Transformer<T, O>>) - Constructor for class net.orbyfied.coldlib.util.Assembly.Line
-
Create a new assembly line.
- load() - Method in class net.orbyfied.coldlib.ColdLibProvider
-
Loads the library provider.
- log - Variable in class net.orbyfied.coldlib.ColdLibProvider
-
The main library log.
- logGroup - Variable in class net.orbyfied.coldlib.ColdLibProvider
-
The library event log group.
M
- modifiesInstance() - Method in enum class net.orbyfied.coldlib.util.Container.Mutability
-
If a container with this mutability will modify the instance it was called on or fork/silently fail.
- MODIFY - Enum constant in enum class net.orbyfied.coldlib.util.Container.Mutability
-
Modifications will not throw an error and go through to affect the original instance it was called on.
- mutability() - Method in interface net.orbyfied.coldlib.util.Container
-
Get this containers mutability.
- mutable() - Static method in interface net.orbyfied.coldlib.util.Container
-
Create a new mutable container instance without a value pre-set.
- mutable(V) - Static method in interface net.orbyfied.coldlib.util.Container
-
Create a new mutable container instance with a value optionally pre-set.
N
- net.orbyfied.coldlib - package net.orbyfied.coldlib
- net.orbyfied.coldlib.util - package net.orbyfied.coldlib.util
-
General purpose static utilities.
- net.orbyfied.coldlib.util.logic - package net.orbyfied.coldlib.util.logic
P
- provider() - Method in class net.orbyfied.coldlib.ColdLib
-
Get the library provider that instantiated this library.
- push(T, O) - Method in class net.orbyfied.coldlib.util.Assembly.Line
-
Pushes the given instance through the line transforming it and giving an output instance.
R
- referenceService(Class<S>) - Method in class net.orbyfied.coldlib.ColdLib
-
Get or create a future reference to the specified service instance.
- referenceService(Class<S>, String) - Method in class net.orbyfied.coldlib.ColdLib
-
Get or create a future reference to the specified service instance.
- resultLine - Variable in class net.orbyfied.coldlib.util.Assembly
-
The pipeline to transform the result instance.
S
- self() - Method in interface net.orbyfied.coldlib.util.Self
-
Get
thiscasted to typeT. - Self<T> - Interface in net.orbyfied.coldlib.util
-
Interface for stream lining self returning with inherited classes, without complex generics.
- set(int, boolean) - Method in interface net.orbyfied.coldlib.util.logic.BitFlag
-
Set the flag bit to the given value in the provided integer.
- set(long, boolean) - Method in interface net.orbyfied.coldlib.util.logic.BitFlag
-
Set the flag bit to the given value in the provided integer.
- set(BitSet, boolean) - Method in interface net.orbyfied.coldlib.util.logic.BitFlag
-
Set the flag bit to the given value in the provided bit set.
- set(V) - Method in interface net.orbyfied.coldlib.util.Container
-
Set the value stored to
val. - setDefaultOptions(O) - Method in class net.orbyfied.coldlib.util.Assembly.Builder
- setDefaultOptionsProvider(Supplier<O>) - Method in class net.orbyfied.coldlib.util.Assembly.Builder
- setFinalizer(Function<I, T>) - Method in class net.orbyfied.coldlib.util.Assembly.Builder
- setInstance(P) - Static method in class net.orbyfied.coldlib.ColdLibProvider
-
Set the provider instance.
- setInstanceFactory(Assembly.InstanceFactory<I, O>) - Method in class net.orbyfied.coldlib.util.Assembly.Builder
- setIntermediateTransformers(List<Assembly.Transformer<I, O>>) - Method in class net.orbyfied.coldlib.util.Assembly.Builder
- setResultTransformers(List<Assembly.Transformer<T, O>>) - Method in class net.orbyfied.coldlib.util.Assembly.Builder
- sneakyThrow(Throwable) - Static method in class net.orbyfied.coldlib.util.Throwables
-
Allows sneakily throwing an exception: This means any exception can be thrown without having to declare it in the method declaration.
T
- Throwables - Class in net.orbyfied.coldlib.util
-
Utilities for dealing with throwables.
- throwsError() - Method in enum class net.orbyfied.coldlib.util.Container.Mutability
-
Will the call throw an error on a container with this mutability.
- toBuilder() - Method in class net.orbyfied.coldlib.util.Assembly
-
Creates a new builder with the properties of this instance set.
- transform(T, O) - Method in interface net.orbyfied.coldlib.util.Assembly.Transformer
-
Transforms the given instance, may either return the instance back or an entirely new instance.
- transformers - Variable in class net.orbyfied.coldlib.util.Assembly.Line
-
The transformers in the assembly line.
U
- unload() - Method in class net.orbyfied.coldlib.ColdLibProvider
-
Unloads the library provider.
- UNSUPPORTED - Enum constant in enum class net.orbyfied.coldlib.util.Container.Mutability
-
Trying to mutate the container will throw an error.
V
- valueOf(String) - Static method in enum class net.orbyfied.coldlib.util.Container.Mutability
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class net.orbyfied.coldlib.util.Container.Mutability
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- withService(S) - Method in class net.orbyfied.coldlib.ColdLib
-
Registers the provided service to this ColdLib instance.
All Classes and Interfaces|All Packages