Index

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

A

add(int, E) - Method in interface com.saicone.gama.util.LabeledList
 
add(int, L, E) - Method in class com.saicone.gama.util.ArrayLabeledList
 
add(int, L, E) - Method in interface com.saicone.gama.util.LabeledList
Inserts the specified element at the specified position in this list and associates it with the given label.
add(int, L, E) - Method in class com.saicone.gama.util.LinkedLabeledList
 
add(E) - Method in interface com.saicone.gama.util.LabeledList
 
add(E) - Method in class com.saicone.gama.util.LabeledListIterator
 
add(L, E) - Method in class com.saicone.gama.util.LabeledListIterator
Inserts the specified element into the list at the current position and associates it with the given label.
addAfter(L, L, E) - Method in class com.saicone.gama.util.ArrayLabeledList
 
addAfter(L, L, E) - Method in interface com.saicone.gama.util.LabeledList
Adds the specified element with the given label after an existing label.
addAfter(L, L, E) - Method in class com.saicone.gama.util.LinkedLabeledList
 
addAll(int, Collection<? extends E>) - Method in interface com.saicone.gama.util.LabeledList
 
addAll(Collection<? extends E>) - Method in interface com.saicone.gama.util.LabeledList
 
addBefore(L, L, E) - Method in class com.saicone.gama.util.ArrayLabeledList
 
addBefore(L, L, E) - Method in interface com.saicone.gama.util.LabeledList
Adds the specified element with the given label before an existing label.
addBefore(L, L, E) - Method in class com.saicone.gama.util.LinkedLabeledList
 
addFirst(E) - Method in interface com.saicone.gama.util.LabeledList
 
addFirst(E) - Method in class com.saicone.gama.util.LinkedLabeledList
 
addFirst(L, E) - Method in class com.saicone.gama.util.ArrayLabeledList
 
addFirst(L, E) - Method in interface com.saicone.gama.util.LabeledList
Adds the specified element at the beginning of the collection with the given label.
addFirst(L, E) - Method in class com.saicone.gama.util.LinkedLabeledList
 
addLast(E) - Method in interface com.saicone.gama.util.LabeledList
 
addLast(E) - Method in class com.saicone.gama.util.LinkedLabeledList
 
addLast(L, E) - Method in class com.saicone.gama.util.ArrayLabeledList
 
addLast(L, E) - Method in interface com.saicone.gama.util.LabeledList
Adds the specified element at the end of the collection with the given label.
addLast(L, E) - Method in class com.saicone.gama.util.LinkedLabeledList
 
annotated(Class<? extends Annotation>) - Method in class com.saicone.gama.util.jar.JarRuntime
Get an iterable of classes that are annotated with the specified annotation type.
ArrayLabeledList<L,E> - Class in com.saicone.gama.util
Labeled list implementation backed by an ArrayList.
As specified in the LabeledList interface, most of the methods that modify the list without specifying a label will fail with an UnsupportedOperationException.
ArrayLabeledList() - Constructor for class com.saicone.gama.util.ArrayLabeledList
Constructs an empty list with an initial capacity of ten.
ArrayLabeledList(int) - Constructor for class com.saicone.gama.util.ArrayLabeledList
Constructs an empty list with the specified initial capacity.
ArrayLabeledList(ArrayList<Map.Entry<L, E>>) - Constructor for class com.saicone.gama.util.ArrayLabeledList
Constructs a list backed by the specified list.
ArrayLabeledList(Collection<? extends Map.Entry<? extends L, ? extends E>>) - Constructor for class com.saicone.gama.util.ArrayLabeledList
Constructs a list containing the elements of the specified collection, in the order they are returned by the collection's iterator.

C

cancel(T) - Method in interface com.saicone.gama.util.concurrent.TaskExecutor
Cancel a task type that was created by this executor.
characteristics() - Method in class com.saicone.gama.util.LabeledSpliterator
 
clear() - Method in class com.saicone.gama.util.ArrayLabeledList
 
clear() - Method in class com.saicone.gama.util.LinkedLabeledList
 
clone() - Method in class com.saicone.gama.util.ArrayLabeledList
 
clone() - Method in class com.saicone.gama.util.Dual
 
clone() - Method in class com.saicone.gama.util.LinkedLabeledList
 
close() - Method in interface com.saicone.gama.util.concurrent.TaskExecutor
 
com.saicone.gama.annotation - package com.saicone.gama.annotation
This package contains annotations and utility classes for the project.
com.saicone.gama.util - package com.saicone.gama.util
This package contains utility classes and methods for various functionalities used across the project.
com.saicone.gama.util.concurrent - package com.saicone.gama.util.concurrent
This package contains utility classes related to concurrency, such as thread-safe collections and synchronization aids.
com.saicone.gama.util.function - package com.saicone.gama.util.function
This package contains functional interfaces and utility classes related to functions.
com.saicone.gama.util.jar - package com.saicone.gama.util.jar
This package contains utility classes for working with JAR files and related functionalities.
contains(Object) - Method in class com.saicone.gama.util.ArrayLabeledList
 
contains(Object) - Method in class com.saicone.gama.util.LinkedLabeledList
 
contains(L, Object) - Method in class com.saicone.gama.util.ArrayLabeledList
 
contains(L, Object) - Method in interface com.saicone.gama.util.LabeledList
Returns true if this list contains the specified element with the given label.
contains(L, Object) - Method in class com.saicone.gama.util.LinkedLabeledList
 
CyclicSupplier<T> - Class in com.saicone.gama.util.function
An object that its only purpose is to serve an element from a List at defined duration.
This class doesn't execute any task, every CyclicSupplier.get() call make a calculation using current time in milliseconds.
CyclicSupplier(List<T>, long) - Constructor for class com.saicone.gama.util.function.CyclicSupplier
Constructs a cyclic supplier with the given parameters.

D

descendingIterator() - Method in class com.saicone.gama.util.LinkedLabeledList
 
Dual<A,B> - Class in com.saicone.gama.util
An object with the same functionality of a Pair object with mutable contents.
This class provides utility methods to interact with its content.
Dual() - Constructor for class com.saicone.gama.util.Dual
Constructs an empty dual object.
Dual(A, B) - Constructor for class com.saicone.gama.util.Dual
Constructs a dual object with the given parameters.

E

element() - Method in class com.saicone.gama.util.LinkedLabeledList
 
ensureCapacity(int) - Method in class com.saicone.gama.util.ArrayLabeledList
equals(Object) - Method in class com.saicone.gama.util.ArrayLabeledList
 
equals(Object) - Method in class com.saicone.gama.util.Dual
 
estimateSize() - Method in class com.saicone.gama.util.LabeledSpliterator
 
execute(Runnable) - Method in interface com.saicone.gama.util.concurrent.TaskExecutor
Executes the given command at some time in the future.
Unlike Executor.execute(Runnable), this method return the task itself, that can be cancelled at some time in the future.
For example, a recursive call that locks the thread can be cancelled if it's executed using this method.
execute(Runnable, long, long, TimeUnit) - Method in interface com.saicone.gama.util.concurrent.TaskExecutor
Executes the given command after the initial delay has passed, and then periodically executed with the specified period.
execute(Runnable, long, TimeUnit) - Method in interface com.saicone.gama.util.concurrent.TaskExecutor
Executes the given command after the time delay has passed.
executor() - Method in interface com.saicone.gama.util.concurrent.TaskExecutor
Return the current executor as Java Executor.

F

forEach(Consumer<? super E>) - Method in class com.saicone.gama.util.ArrayLabeledList
 
forEachRemaining(Consumer<? super E>) - Method in class com.saicone.gama.util.LabeledSpliterator
 

G

get() - Method in class com.saicone.gama.util.function.CyclicSupplier
Get the current object based on the current time and the update time.
get(int) - Method in class com.saicone.gama.util.ArrayLabeledList
 
get(int) - Method in class com.saicone.gama.util.LinkedLabeledList
 
getComparator() - Method in class com.saicone.gama.util.LabeledSpliterator
 
getDuration() - Method in class com.saicone.gama.util.function.CyclicSupplier
Get the update time as a Duration object.
getExactSizeIfKnown() - Method in class com.saicone.gama.util.LabeledSpliterator
 
getFirst() - Method in interface com.saicone.gama.util.LabeledList
 
getFirst() - Method in class com.saicone.gama.util.LinkedLabeledList
 
getLabel(int) - Method in class com.saicone.gama.util.ArrayLabeledList
 
getLabel(int) - Method in interface com.saicone.gama.util.LabeledList
Returns the label associated with the element at the specified position in this list.
getLabel(int) - Method in class com.saicone.gama.util.LinkedLabeledList
 
getLast() - Method in interface com.saicone.gama.util.LabeledList
 
getLast() - Method in class com.saicone.gama.util.LinkedLabeledList
 
getLeft() - Method in class com.saicone.gama.util.Dual
Get the object at left position.
getLeftOrRight() - Method in class com.saicone.gama.util.Dual
Get the object at left position, or the object at right position if left is null.
getLoader() - Method in class com.saicone.gama.util.jar.JarRuntime
Get the class loader used to load classes.
getOptional() - Method in class com.saicone.gama.util.function.CyclicSupplier
Get the current object as an Optional.
getRight() - Method in class com.saicone.gama.util.Dual
Get the object at right position.
getRightOrLeft() - Method in class com.saicone.gama.util.Dual
Get the object at right position, or the object at left position if right is null.
getTime(TimeUnit) - Method in class com.saicone.gama.util.function.CyclicSupplier
Get the update time in the specified time unit.
getValue(L) - Method in class com.saicone.gama.util.ArrayLabeledList
 
getValue(L) - Method in interface com.saicone.gama.util.LabeledList
Returns the element associated with the specified label.
getValue(L) - Method in class com.saicone.gama.util.LinkedLabeledList
 

H

hasCharacteristics(int) - Method in class com.saicone.gama.util.LabeledSpliterator
 
hashCode() - Method in class com.saicone.gama.util.ArrayLabeledList
 
hashCode() - Method in class com.saicone.gama.util.Dual
 
hasNext() - Method in class com.saicone.gama.util.LabeledListIterator
 
hasPrevious() - Method in class com.saicone.gama.util.LabeledListIterator
 

I

indexOf(Object) - Method in class com.saicone.gama.util.ArrayLabeledList
 
indexOf(Object) - Method in class com.saicone.gama.util.LinkedLabeledList
 
indexOf(L, Object) - Method in class com.saicone.gama.util.ArrayLabeledList
 
indexOf(L, Object) - Method in interface com.saicone.gama.util.LabeledList
Returns the index of the first occurrence of the specified element associated with the given label in this list, or -1 if this list does not contain such element.
indexOf(L, Object) - Method in class com.saicone.gama.util.LinkedLabeledList
 
isEmpty() - Method in class com.saicone.gama.util.ArrayLabeledList
 
isEmpty() - Method in class com.saicone.gama.util.Dual
Check if the current object is empty.
iterableOf(Predicate<Class<?>>) - Method in class com.saicone.gama.util.jar.JarRuntime
Get an iterable of classes that match the specified predicate.
iterableOf(Predicate<Class<?>>, Function<Class<?>, T>) - Method in class com.saicone.gama.util.jar.JarRuntime
Get an iterable of mapped classes that match the specified predicate.
iterator() - Method in class com.saicone.gama.util.ArrayLabeledList
 

J

JarRuntime - Class in com.saicone.gama.util.jar
An object that save classes from a code source.
This class offers utility methods to iterate hover cached classes.
JarRuntime() - Constructor for class com.saicone.gama.util.jar.JarRuntime
Create a new JarRuntime with the default class loader.
JarRuntime(ClassLoader) - Constructor for class com.saicone.gama.util.jar.JarRuntime
Create a new JarRuntime with the specified parameters.
JAVA - Static variable in interface com.saicone.gama.util.concurrent.TaskExecutor
Task executor object that use Java methods to execute tasks.
Is NOT suggested to use this object due is not scalable and doesn't use any thread pool, make a better implementation instead.
join(String) - Method in class com.saicone.gama.util.Dual
Join the left and right objects as strings with the given delimiter.

L

LabeledDeque<L,E> - Interface in com.saicone.gama.util
An extension of the Deque interface that associates a label for each element.
Unlike Deque, this interface will fail with an UnsupportedOperationException when using most of the methods that modify the deque without specifying a label.
LabeledList<L,E> - Interface in com.saicone.gama.util
An extension of the List interface that associates a label for each element.
Unlike List, this interface will fail with an UnsupportedOperationException when using most of the methods that modify the list without specifying a label.
LabeledListIterator<L,E> - Class in com.saicone.gama.util
An implementation of the ListIterator interface compatible with labeled lists.
Unlike a standard ListIterator, this iterator requires a label to be specified when using the LabeledListIterator.set(Object) and LabeledListIterator.add(Object) methods.
LabeledListIterator(ListIterator<Map.Entry<L, E>>) - Constructor for class com.saicone.gama.util.LabeledListIterator
Constructs a new labeled list iterator that wraps the specified list iterator.
LabeledSpliterator<L,E> - Class in com.saicone.gama.util
An implementation of the Spliterator interface compatible with labeled collections.
LabeledSpliterator(Spliterator<Map.Entry<L, E>>) - Constructor for class com.saicone.gama.util.LabeledSpliterator
Constructs a new labeled spliterator that wraps the specified spliterator.
labels() - Method in class com.saicone.gama.util.ArrayLabeledList
 
labels() - Method in interface com.saicone.gama.util.LabeledList
Returns an unmodifiable view of the labels contained in this list, in proper sequence.
labels() - Method in class com.saicone.gama.util.LinkedLabeledList
 
lastIndexOf(Object) - Method in class com.saicone.gama.util.ArrayLabeledList
 
lastIndexOf(Object) - Method in class com.saicone.gama.util.LinkedLabeledList
 
lastIndexOf(L, Object) - Method in class com.saicone.gama.util.ArrayLabeledList
 
lastIndexOf(L, Object) - Method in interface com.saicone.gama.util.LabeledList
Returns the index of the last occurrence of the specified element associated with the given label in this list, or -1 if this list does not contain such element.
lastIndexOf(L, Object) - Method in class com.saicone.gama.util.LinkedLabeledList
 
LinkedLabeledList<L,E> - Class in com.saicone.gama.util
Labeled list implementation backed by a LinkedList.
As specified in the LabeledList interface, most of the methods that modify the list without specifying a label will fail with an UnsupportedOperationException.
LinkedLabeledList() - Constructor for class com.saicone.gama.util.LinkedLabeledList
Constructs an empty list.
LinkedLabeledList(LinkedList<Map.Entry<L, E>>) - Constructor for class com.saicone.gama.util.LinkedLabeledList
Constructs a list backed by the specified linked list.
LinkedLabeledList(Collection<? extends Map.Entry<? extends L, ? extends E>>) - Constructor for class com.saicone.gama.util.LinkedLabeledList
Constructs a list containing the elements of the specified collection, in the order they are returned by the collection's iterator.
listIterator(int) - Method in class com.saicone.gama.util.ArrayLabeledList
 
listIterator(int) - Method in class com.saicone.gama.util.LinkedLabeledList
 

M

map(BiFunction<A, B, R>) - Method in class com.saicone.gama.util.Dual
Squash the current dual object into a single object using the given function.
map(Function<A, L>, Function<B, R>) - Method in class com.saicone.gama.util.Dual
Map the left and right objects to new objects using the given functions.
mapLeft(Function<A, L>) - Method in class com.saicone.gama.util.Dual
Map only the left object to a new object using the given function.
mapRight(Function<B, R>) - Method in class com.saicone.gama.util.Dual
Map only the right object to a new object using the given function.

N

next() - Method in class com.saicone.gama.util.LabeledListIterator
 
nextIndex() - Method in class com.saicone.gama.util.LabeledListIterator
 

O

offer(E) - Method in interface com.saicone.gama.util.LabeledDeque
 
offer(L, E) - Method in interface com.saicone.gama.util.LabeledDeque
Inserts the specified element into this deque with the given label.
offer(L, E) - Method in class com.saicone.gama.util.LinkedLabeledList
 
offerFirst(E) - Method in interface com.saicone.gama.util.LabeledDeque
 
offerFirst(L, E) - Method in interface com.saicone.gama.util.LabeledDeque
Inserts the specified element at the front of this deque with the given label.
offerFirst(L, E) - Method in class com.saicone.gama.util.LinkedLabeledList
 
offerLast(E) - Method in interface com.saicone.gama.util.LabeledDeque
 
offerLast(L, E) - Method in interface com.saicone.gama.util.LabeledDeque
Inserts the specified element at the end of this deque with the given label.
offerLast(L, E) - Method in class com.saicone.gama.util.LinkedLabeledList
 

P

peek() - Method in class com.saicone.gama.util.LinkedLabeledList
 
peekFirst() - Method in class com.saicone.gama.util.LinkedLabeledList
 
peekLast() - Method in class com.saicone.gama.util.LinkedLabeledList
 
poll() - Method in class com.saicone.gama.util.LinkedLabeledList
 
pollFirst() - Method in class com.saicone.gama.util.LinkedLabeledList
 
pollLast() - Method in class com.saicone.gama.util.LinkedLabeledList
 
pop() - Method in class com.saicone.gama.util.LinkedLabeledList
 
previous() - Method in class com.saicone.gama.util.LabeledListIterator
 
previousIndex() - Method in class com.saicone.gama.util.LabeledListIterator
 
push(E) - Method in interface com.saicone.gama.util.LabeledDeque
 
push(L, E) - Method in interface com.saicone.gama.util.LabeledDeque
Pushes an element onto the stack represented by this deque with the given label.
push(L, E) - Method in class com.saicone.gama.util.LinkedLabeledList
 
put(String) - Method in class com.saicone.gama.util.jar.JarRuntime
Put a class in the runtime cache.

R

reload() - Method in class com.saicone.gama.util.jar.JarRuntime
Reload all classes that failed to load previously.
remove() - Method in class com.saicone.gama.util.LabeledListIterator
 
remove() - Method in class com.saicone.gama.util.LinkedLabeledList
 
remove(int) - Method in class com.saicone.gama.util.ArrayLabeledList
 
remove(int) - Method in class com.saicone.gama.util.LinkedLabeledList
 
remove(Object) - Method in class com.saicone.gama.util.ArrayLabeledList
 
remove(Object) - Method in class com.saicone.gama.util.LinkedLabeledList
 
removeAll(Collection<?>) - Method in class com.saicone.gama.util.ArrayLabeledList
 
removeFirst() - Method in interface com.saicone.gama.util.LabeledList
 
removeFirst() - Method in class com.saicone.gama.util.LinkedLabeledList
 
removeFirstOccurrence(Object) - Method in class com.saicone.gama.util.LinkedLabeledList
 
removeIf(Predicate<? super E>) - Method in class com.saicone.gama.util.ArrayLabeledList
 
removeLabel(L) - Method in class com.saicone.gama.util.ArrayLabeledList
 
removeLabel(L) - Method in interface com.saicone.gama.util.LabeledList
Removes the element associated with the specified label from this list, optional operation.
removeLabel(L) - Method in class com.saicone.gama.util.LinkedLabeledList
 
removeLast() - Method in interface com.saicone.gama.util.LabeledList
 
removeLast() - Method in class com.saicone.gama.util.LinkedLabeledList
 
removeLastOccurrence(Object) - Method in class com.saicone.gama.util.LinkedLabeledList
 
replaceAll(UnaryOperator<E>) - Method in class com.saicone.gama.util.ArrayLabeledList
 
retainAll(Collection<?>) - Method in class com.saicone.gama.util.ArrayLabeledList
 
reversed() - Method in class com.saicone.gama.util.LinkedLabeledList
 

S

set(int, E) - Method in interface com.saicone.gama.util.LabeledList
 
set(int, L, E) - Method in class com.saicone.gama.util.ArrayLabeledList
 
set(int, L, E) - Method in interface com.saicone.gama.util.LabeledList
Replaces the element at the specified position in this list with the specified element and associates it with the given label.
set(int, L, E) - Method in class com.saicone.gama.util.LinkedLabeledList
 
set(E) - Method in class com.saicone.gama.util.LabeledListIterator
 
set(L, E) - Method in class com.saicone.gama.util.LabeledListIterator
Replaces the last element returned by LabeledListIterator.next() or LabeledListIterator.previous() with the specified element and label.
setLeft(A) - Method in class com.saicone.gama.util.Dual
Set the object at left position.
setRight(B) - Method in class com.saicone.gama.util.Dual
Set the object at right position.
size() - Method in class com.saicone.gama.util.ArrayLabeledList
 
size() - Method in class com.saicone.gama.util.LinkedLabeledList
 
SoftOverride - Annotation Interface in com.saicone.gama.annotation
Indicates that a method declaration is intended to override another method declaration that may exist or not in a supertype.
Similar as Override but not intended to be verified on compilation.
sort(Comparator<? super E>) - Method in class com.saicone.gama.util.ArrayLabeledList
 
spliterator() - Method in class com.saicone.gama.util.ArrayLabeledList
 
spliterator() - Method in class com.saicone.gama.util.LinkedLabeledList
 
subClasses(Class<T>) - Method in class com.saicone.gama.util.jar.JarRuntime
Get an iterable of classes that are subclasses of the specified type.
subList(int, int) - Method in class com.saicone.gama.util.ArrayLabeledList
 

T

TaskExecutor<T> - Interface in com.saicone.gama.util.concurrent
An object that executes submitted Runnable tasks and return itself as cancellable objects.
Unlike Executor, this kind of object allows to execute delayed and repeatable tasks.
toArray() - Method in class com.saicone.gama.util.ArrayLabeledList
 
toArray() - Method in class com.saicone.gama.util.LinkedLabeledList
 
toArray(T[]) - Method in class com.saicone.gama.util.ArrayLabeledList
 
toArray(T[]) - Method in class com.saicone.gama.util.LinkedLabeledList
 
toString() - Method in class com.saicone.gama.util.Dual
 
trimToSize() - Method in class com.saicone.gama.util.ArrayLabeledList
As specified on ArrayList.trimToSize().
tryAdvance(Consumer<? super E>) - Method in class com.saicone.gama.util.LabeledSpliterator
 
trySplit() - Method in class com.saicone.gama.util.LabeledSpliterator
 

V

valueOf(A, B) - Static method in class com.saicone.gama.util.Dual
Creates a new dual object with the given parameters.
valueOf(Class<?>) - Static method in class com.saicone.gama.util.jar.JarRuntime
Create a JarRuntime with a class to read classes from its code source.
valueOf(ClassLoader, Class<?>) - Static method in class com.saicone.gama.util.jar.JarRuntime
Create a JarRuntime with specified class loader and class to read classes from its code source.
valueOf(ClassLoader, URL) - Static method in class com.saicone.gama.util.jar.JarRuntime
Create a JarRuntime with specified class loader and url to read classes from it.
valueOf(ClassLoader, JarFile) - Static method in class com.saicone.gama.util.jar.JarRuntime
Create a JarRuntime with specified class loader and jar file to read classes from it.
valueOf(URL) - Static method in class com.saicone.gama.util.jar.JarRuntime
Create a JarRuntime with the default class loader and url to read classes from it.
valueOf(List<T>, long, TimeUnit) - Static method in class com.saicone.gama.util.function.CyclicSupplier
Create a cyclic supplier with the given list of objects and time to update.
valueOf(List<T>, Duration) - Static method in class com.saicone.gama.util.function.CyclicSupplier
Create a cyclic supplier with the given list of objects and time to update.
valueOf(JarFile) - Static method in class com.saicone.gama.util.jar.JarRuntime
Create a JarRuntime with the default class loader and jar file to read classes from it.
valueOf(Map.Entry<A, B>) - Static method in class com.saicone.gama.util.Dual
Creates a new dual object from the given map entry.
valueOf(T[]) - Static method in class com.saicone.gama.util.Dual
Creates a new dual object from the given array.
valueOf(T, Function<T, A>, Function<T, B>) - Static method in class com.saicone.gama.util.Dual
Creates a new dual object by applying the given functions to the given object.
A C D E F G H I J L M N O P R S T V 
All Classes and Interfaces|All Packages|Serialized Form