A C D E F G H I L M N O P Q R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- accept(T) - Method in interface art.cutils.function.Accepter
-
Performs this operation on the given argument.
- accept(X, Y, Z) - Method in interface art.cutils.function.TriConsumer
-
Performs this operation on the given argument.
- Accepter<T> - Interface in art.cutils.function
-
This is similar to Java
Consumer
but the disparity of exceptions throws. - add(Callable<T>) - Method in class art.cutils.value.Syndicate
-
Use to add a task of Callable type
- AES<T> - Class in art.cutils.security
-
This is an implementation of Advanced Encryption Standard, to can encrypt and decrypt Objects of any type.
- AES.Algorithm - Enum in art.cutils.security
-
This holds valid
MessageDigest
algorithm types. - andAccept(Accepter<? super T>) - Method in class art.cutils.value.Que
-
This method will accept na
Accepter
type variable. - andCall(Callable<? extends T>) - Method in class art.cutils.value.Que
-
This method will execute
Callable
type variable. - andConsume(Consumer<? super T>) - Method in class art.cutils.value.Que
-
This method will consume a
Consumer
type variable. - andDeal(Dealer<? extends T>) - Method in class art.cutils.value.Que
-
This method will deal data
Que.value
variable. - andExecute(Executable) - Method in class art.cutils.value.Que
-
Use when Operation will throw an exception.
- andRun(Runnable) - Method in class art.cutils.value.Que
-
This method will execute a
Runnable
type variable. - andSupply(Supplier<? extends T>) - Method in class art.cutils.value.Que
-
This method will supply data
Que.value
variable. - andThen(Accepter<? super T>) - Method in interface art.cutils.function.Accepter
-
Returns a composed
Accepter
that performs, in sequence, this operation followed by theafter
operation. - andThen(TriConsumer<? super X, ? super Y, ? super Z>) - Method in interface art.cutils.function.TriConsumer
-
Returns a composed
TriConsumer
that performs, in sequence, this operation followed by theafter
operation. - apply() - Method in class art.cutils.value.Syndicate
-
Created the
Syndicate.Conductor
to initiate the processing of task in the Syndicate - apply(long, TimeUnit) - Method in class art.cutils.value.Syndicate
-
Created the
Syndicate.Conductor
to initiate the processing of task in the Syndicate - apply(T) - Method in class art.cutils.function.LazyFunction
-
Applies this function to the given argument.
- apply(T) - Method in class art.cutils.function.LazyUnaryOperator
-
Applies this function to the given argument.
- apply(T) - Method in interface art.cutils.function.ThrowingFunction
-
Applies this function to the given argument.
- art.cutils - package art.cutils
- art.cutils.collection - package art.cutils.collection
- art.cutils.function - package art.cutils.function
- art.cutils.security - package art.cutils.security
- art.cutils.string - package art.cutils.string
- art.cutils.value - package art.cutils.value
- as(Dealer<? extends T>) - Static method in class art.cutils.value.Que
C
- clear() - Method in class art.cutils.value.Pair
-
Remove both values to null from the
Pair
. - close() - Method in class art.cutils.value.Syndicate
-
Shuts down
ExecutorService
, relinquishing any underlying resources. - close() - Method in class art.cutils.value.Syndicate.Close
-
Use to shutdown Thread Manually.
- Close(Syndicate.Conductor<T>) - Constructor for class art.cutils.value.Syndicate.Close
-
Constructor to create a new instance of Close.
- completableFuture() - Method in class art.cutils.value.Que
-
Used to get current value of
CompletableFuture
type. - Condition - Interface in art.cutils.function
-
Represents an operation that returns a condition/boolean.
D
- days() - Method in class art.cutils.value.Pause
-
Set
Pause.Run
time unit toTimeUnit.DAYS
- deal() - Method in interface art.cutils.function.Dealer
-
Gets a result.
- deal() - Method in class art.cutils.function.Idler
-
Gets a result for dealer operation.
- deal(Dealer<? extends T>) - Static method in class art.cutils.function.Idler
-
Supply take an instance of
Dealer
as parameter.. - Dealer<T> - Interface in art.cutils.function
-
Represents a dealer of results.
- decrypt(String) - Method in class art.cutils.security.AES
-
This method will decrypt the
itemToDecrypt
. - deleteFirst() - Method in class art.cutils.value.Pair
-
Reset the first value to null.
- deleteSecond() - Method in class art.cutils.value.Pair
-
Reset the second value to null.
- DIGITS - Static variable in class art.cutils.string.StringIncubator
-
Digits variable.
E
- empty() - Static method in class art.cutils.value.Pair
-
Create and empty pair.
- empty() - Method in class art.cutils.value.Pause.Run
-
This is empty, if you don't intend to chain any expression
- encrypt(T) - Method in class art.cutils.security.AES
-
This encrypt item of T type.
- equals(Object) - Method in class art.cutils.collection.ListPartition
- equals(Object) - Method in class art.cutils.function.Idler
- equals(Object) - Method in class art.cutils.function.LazyFunction
- equals(Object) - Method in class art.cutils.function.LazyUnaryOperator
- equals(Object) - Method in class art.cutils.security.AES
- equals(Object) - Method in class art.cutils.value.Pair
- equals(Object) - Method in class art.cutils.value.Pause
- equals(Object) - Method in class art.cutils.value.Pause.Run.Delay
- equals(Object) - Method in class art.cutils.value.Pause.Run
- equals(Object) - Method in class art.cutils.value.Que
- equals(Object) - Method in class art.cutils.value.Syndicate.Close
- equals(Object) - Method in class art.cutils.value.Syndicate.Conductor
- equals(Object) - Method in class art.cutils.value.Syndicate
- Executable - Interface in art.cutils.function
-
Represent operations that need the
Runnable
like behavior. - execute() - Method in interface art.cutils.function.Executable
-
Execute the operation that may likely throw and Exception.
- execute() - Method in class art.cutils.value.Syndicate.Conductor
-
Executes the given tasks, passes a list of Futures holding their status and results.
- execute(Accepter<? super T>) - Method in class art.cutils.value.Que
-
This method will Accept and execute
Accepter
type variable. - execute(Executable) - Static method in class art.cutils.value.Que
-
This method will run a
Executable
instance Use when Operation will throw an exception.
F
- filter(Predicate<? super T>) - Method in class art.cutils.value.Try
-
If a result is present, and the result matches the given predicate, returns a
Try
describing the result, otherwise returns an emptyTry
- first(F) - Method in class art.cutils.value.Pair
-
Use to set the first value.
G
- generate() - Method in interface art.cutils.function.Generator
-
Generates values.
- Generator<T> - Interface in art.cutils.function
-
Represent operations that will return unique/generated values every time
Generator.generate()
is called. - get() - Method in class art.cutils.function.Idler
-
Gets a result for supplier operation.
- get() - Method in class art.cutils.value.Pause.Run.Delay
-
This gets the
Try
operation result. - get() - Method in class art.cutils.value.Que
-
Used to get the current set value.
- get() - Method in class art.cutils.value.Syndicate.Conductor
-
Get the list of Futures hold the results.
- get() - Method in class art.cutils.value.Try
-
Use this method to retrieve the try operation result.
- get(int) - Method in class art.cutils.collection.ListPartition
- getCause() - Method in class art.cutils.value.Try
-
Retrieve the Cause of try operation failure.
- getFirst() - Method in class art.cutils.value.Pair
-
Returns the first value.
- getLower() - Static method in class art.cutils.string.StringIncubator
-
Lower-case Alphabets.
- getOptional() - Method in class art.cutils.value.Try
-
Use this method to retrieve the try operation
Optional
result. - getSecond() - Method in class art.cutils.value.Pair
-
Returns the second value.
- getUpper() - Static method in class art.cutils.string.StringIncubator
-
Upper-case Alphabets.
H
- hasFirst() - Method in class art.cutils.value.Pair
-
Check Pair has the first value.
- hashCode() - Method in class art.cutils.collection.ListPartition
- hashCode() - Method in class art.cutils.function.Idler
- hashCode() - Method in class art.cutils.function.LazyFunction
- hashCode() - Method in class art.cutils.function.LazyUnaryOperator
- hashCode() - Method in class art.cutils.security.AES
- hashCode() - Method in class art.cutils.value.Pair
- hashCode() - Method in class art.cutils.value.Pause
- hashCode() - Method in class art.cutils.value.Pause.Run.Delay
- hashCode() - Method in class art.cutils.value.Pause.Run
- hashCode() - Method in class art.cutils.value.Que
- hashCode() - Method in class art.cutils.value.Syndicate.Close
- hashCode() - Method in class art.cutils.value.Syndicate.Conductor
- hashCode() - Method in class art.cutils.value.Syndicate
- hasSecond() - Method in class art.cutils.value.Pair
-
Check Pair has the second value.
- hatch() - Method in class art.cutils.string.StringIncubator
-
Generate and returns random string.
- hours() - Method in class art.cutils.value.Pause
-
Set
Pause.Run
time unit toTimeUnit.HOURS
I
- identity() - Static method in interface art.cutils.function.ThrowingUnaryOperation
-
Returns a unary operator that always returns its input argument.
- Idler<T> - Class in art.cutils.function
-
The
Idler
r is intended to be memorized and idempotent. - init() - Static method in class art.cutils.security.AES
-
This initiates encryption with default
MessageDigest
type
and encryption key. - init() - Static method in class art.cutils.value.Syndicate
-
Creates a new instance of
Syndicate
with defaultExecutors.newCachedThreadPool()
- init(AES.Algorithm) - Static method in class art.cutils.security.AES
-
This initiates encryption with the specified
MessageDigest
type
type and default Key. - init(AES.Algorithm, String) - Static method in class art.cutils.security.AES
-
This initiates encryption with the specified
MessageDigest
type
and encryption key. - init(String) - Static method in class art.cutils.security.AES
- init(ExecutorService) - Static method in class art.cutils.value.Syndicate
-
Creates a new instance of
Syndicate
with your preferred instance ofExecutorService
to power the Syndicate ops. - into(int) - Method in class art.cutils.collection.ListPartition
-
Method used to get partition size.
- isEmpty() - Method in class art.cutils.value.Pair
-
Returns true if both values are null.
- isFailure() - Method in class art.cutils.value.Try
-
Use to check the state of the try operation.
- isMet() - Method in interface art.cutils.function.Condition
-
Check the condition.
- isNotEmpty() - Method in class art.cutils.value.Pair
-
Returns true if both values are not null.
- isNotMet() - Method in interface art.cutils.function.Condition
-
Negates the condition.
- isResult() - Method in class art.cutils.value.Try
-
Use to check the state of a successful try operation if or not it has a result.
- isSuccess() - Method in class art.cutils.value.Try
-
Use to check the stage of the try operation.
L
- LazyFunction<T,R> - Class in art.cutils.function
-
The
LazyFunction
is intended to be memorized and idempotent for every parameter. - LazyUnaryOperator<T> - Class in art.cutils.function
-
Like the
LazyFunction
theLazyUnaryOperator
can be used when the function Argument and Return Type are same. - ListPartition<T> - Class in art.cutils.collection
-
This class provide a means to partition List into List of sublist.
M
- map(ThrowingFunction<? super T, ? extends M>) - Method in class art.cutils.value.Try
-
If a try operation return a result, apply the provided mapping function to it, and return and instance of
Try
with the applied result. - MD2 - art.cutils.security.AES.Algorithm
-
MD2 algorithm type.
- MD5 - art.cutils.security.AES.Algorithm
-
MD5 algorithm type.
- microSeconds() - Method in class art.cutils.value.Pause
-
Set
Pause.Run
time unit toTimeUnit.MICROSECONDS
- milliSeconds() - Method in class art.cutils.value.Pause
-
Set
Pause.Run
time unit toTimeUnit.MILLISECONDS
- minute() - Method in class art.cutils.value.Pause
-
Set
Pause.Run
time unit toTimeUnit.MINUTES
N
- nanoSeconds() - Method in class art.cutils.value.Pause
-
Set
Pause.Run
time unit toTimeUnit.NANOSECONDS
- notHasFirst() - Method in class art.cutils.value.Pair
-
Check Pair not have the first value.
- notHasSecond() - Method in class art.cutils.value.Pair
-
Check Pair not have the second value.
O
- of(Supplier<? extends T>) - Static method in class art.cutils.value.Que
- of(Dealer<? extends T>) - Static method in class art.cutils.value.Try
-
Accepts a
Dealer
type function which is expected to return a result if operation was successful. - of(Dealer<? extends T>, Supplier<T>) - Static method in class art.cutils.function.Idler
- of(Executable) - Static method in class art.cutils.value.Try
-
Accepts a
Executable
type function with no result expected if operation is successful. - of(F, S) - Static method in class art.cutils.value.Pair
-
Creates a pair of values.
- of(Function<? super T, ? extends R>) - Static method in class art.cutils.function.LazyFunction
-
Take the function operation of
Function
type. - of(Supplier<? extends T>, Dealer<? extends T>) - Static method in class art.cutils.function.Idler
- of(UnaryOperator<T>) - Static method in class art.cutils.function.LazyUnaryOperator
-
Take the operator argument of of
UnaryOperator
type. - of(List<? extends T>) - Static method in class art.cutils.collection.ListPartition
-
Method to receive the list to be partitioned.
- of(T) - Static method in class art.cutils.value.Que
-
This method will set
value
and returns instance ofQue
for other sequential Operations. - onComplete(Consumer<Try<List<Future<T>>>>) - Method in class art.cutils.value.Syndicate.Conductor
-
Executes the given tasks, passes a list of Futures holding their status and results when all complete to
Accepter
. - onComplete(Consumer<Try<T>>) - Method in class art.cutils.value.Pause.Run.Delay
-
Takes a consumer that consumes the
Try
operation results. - onFailure(Runnable) - Method in class art.cutils.value.Try
-
If try operations fails, invoke the specified
Runnable
. - onFailure(Consumer<? super Throwable>) - Method in class art.cutils.value.Try
-
If try operations fails, invoke the specified consumer with the exception thrown during the execution, otherwise do nothing.
- onSuccess(Runnable) - Method in class art.cutils.value.Try
-
If try is successful, invoke the specified
Runnable
. - onSuccess(Consumer<? super T>) - Method in class art.cutils.value.Try
-
If try is successful, invoke the specified consumer with the operation result, otherwise do nothing.
- optional() - Method in class art.cutils.value.Que
-
Used to get current value of
Optional
type. - orElseGet(Supplier<? extends T>) - Method in class art.cutils.value.Try
-
Return the result if available after the try operation, otherwise invoke supply
other
result - orElseGet(T) - Method in class art.cutils.value.Try
-
Return the result if try operation is successful and has a result, otherwise return
other
value. - orElseThrow(Throwable) - Method in class art.cutils.value.Try
-
Return try result if operation was successful, otherwise throw the exception supplied.
- orElseThrow(Supplier<? extends X>) - Method in class art.cutils.value.Try
-
Return try result if operation was successful, otherwise throw the exception supplied.
P
- Pair<F,S> - Class in art.cutils.value
-
A pair of values.
- Pause<T> - Class in art.cutils.value
-
Pause helps you write a safe an idiomatic expression to pause an execution on the current execution thread.
- Pause.Run<T> - Class in art.cutils.value
-
This class is responsible for executing the operations base on the set time interpreted to the requested unit.
- Pause.Run.Delay<T> - Class in art.cutils.value
-
This class execute the delay and cause the pause before the set operations executed.
- peek(Accepter<? super T>) - Method in class art.cutils.value.Try
-
Safely, performing an action on the current try result if present.
Q
- Que<T> - Class in art.cutils.value
-
This is
Que
gotten from the word Cue.
R
- run(Runnable) - Static method in class art.cutils.value.Que
-
This method will run a
Runnable
instance. - run(Consumer<? super T>) - Method in class art.cutils.value.Que
-
This method will consume execute
Consumer
type variable.
S
- second(S) - Method in class art.cutils.value.Pair
-
Use to set the second value.
- seconds() - Method in class art.cutils.value.Pause
-
Set
Pause.Run
time unit toTimeUnit.SECONDS
- Serialization - Class in art.cutils
-
Assists with the serialization process and performs additional functionality based on serialization.
- Serialization() - Constructor for class art.cutils.Serialization
- serialize(Object) - Static method in class art.cutils.Serialization
-
Serializes an
Object
to a byte array. - setFirstAndSecond(F, S) - Method in class art.cutils.value.Pair
-
Use to set the first and second values.
- setLower(String) - Static method in class art.cutils.string.StringIncubator
-
Use this method to set Lower-case characters.
- setUpper(String) - Static method in class art.cutils.string.StringIncubator
-
Use this set the Upper case characters.
- SHA1 - art.cutils.security.AES.Algorithm
-
SHA-1 algorithm type.
- SHA224 - art.cutils.security.AES.Algorithm
-
SHA-224 algorithm type.
- SHA256 - art.cutils.security.AES.Algorithm
-
SHA-256 algorithm type.
- SHA384 - art.cutils.security.AES.Algorithm
-
SHA-384 algorithm type.
- SHA512 - art.cutils.security.AES.Algorithm
-
SHA-512 algorithm type.
- size() - Method in class art.cutils.collection.ListPartition
- sneakyThrow(Exception) - Static method in interface art.cutils.function.Accepter
- sneakyThrow(Exception) - Static method in interface art.cutils.function.ThrowingFunction
-
Sneak exception on function execution.
- sneakyThrow(Exception) - Static method in interface art.cutils.function.ThrowingUnaryOperation
-
Sneak exception on function execution.
- StringIncubator - Class in art.cutils.string
-
You can use this class if you need to Generate Random String/Alpha-numeric string for Tickets, Session, ID etc.
- StringIncubator() - Constructor for class art.cutils.string.StringIncubator
-
Create session identifiers, default length of 64.
- StringIncubator(int) - Constructor for class art.cutils.string.StringIncubator
-
Create an alphanumeric string from a secure generator.
- StringIncubator(int, String) - Constructor for class art.cutils.string.StringIncubator
-
Create an alphanumeric string from a secure generator.
- StringIncubator(int, ThreadLocalRandom) - Constructor for class art.cutils.string.StringIncubator
-
Constructor to hatch an alphanumeric string generator.
- StringIncubator(int, Random) - Constructor for class art.cutils.string.StringIncubator
-
Constructor to hatch an alphanumeric string generator.
- StringIncubator(int, Random, String) - Constructor for class art.cutils.string.StringIncubator
- supply(Supplier<? extends T>) - Static method in class art.cutils.function.Idler
-
Supply take an instance of
Supplier
as parameter.. - swap() - Method in class art.cutils.value.Pair
-
Swap the first and second values.
- Syndicate<T> - Class in art.cutils.value
-
Syndicate simplifies and represent a specific operation of the Executor Service, InvokeAll.
- Syndicate.Close<T> - Class in art.cutils.value
-
Represent the operation used to shutdown the current
ExecutorService
running the Syndicate. - Syndicate.Conductor<T> - Class in art.cutils.value
-
Represents the actor to process task within the syndicates
T
- thenRun(Dealer<T>) - Method in class art.cutils.value.Pause.Run
-
This method chains a
Dealer
expression that execute after the pause. - thenRun(Executable) - Method in class art.cutils.value.Pause.Run
-
This method chains a
Executable
expression that execute after the pause. - ThrowingFunction<T,R> - Interface in art.cutils.function
-
When you find yourself in a situation where you need to use a method ( that throws an exception) withing Lambda, this class is what you need to achieve your goal without Java complaining.
- ThrowingUnaryOperation<T> - Interface in art.cutils.function
-
Represents an operation on a single operand that produces a result of the same type as its operand.
- toString() - Method in class art.cutils.value.Pair
- toString() - Method in class art.cutils.value.Syndicate.Close
- toString() - Method in class art.cutils.value.Syndicate.Conductor
- toString() - Method in class art.cutils.value.Syndicate
- TriConsumer<X,Y,Z> - Interface in art.cutils.function
-
Represents an operation that accepts three input arguments and returns no result.
- Try<T> - Class in art.cutils.value
-
The
Try
class offers the ability write safe code without focusing on try-catch blocks in the presence of exceptions.
U
- unchecked(ThrowingFunction<T, R>) - Static method in interface art.cutils.function.ThrowingFunction
-
Uncheck method which will take operation that will throw Exception.
- unchecked(ThrowingUnaryOperation<T>) - Static method in interface art.cutils.function.ThrowingUnaryOperation
-
Uncheck method which will take operation that will throw Exception.
- until(int) - Static method in class art.cutils.value.Pause
-
Until is used to set the timeout number, which will be interpreted into it's subsequent time equivalent
V
- valueOf(String) - Static method in enum art.cutils.security.AES.Algorithm
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum art.cutils.security.AES.Algorithm
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes All Packages