Skip navigation links
A B C D E F G H I L M N O P R S T U V W X 

A

AbstractBinarySerializer<T> - Class in org.atlanmod.commons.io.serializer
An abstract BinarySerializer for objects of type T.
AbstractBinarySerializer() - Constructor for class org.atlanmod.commons.io.serializer.AbstractBinarySerializer
 
AbstractStringSerializer<T> - Class in org.atlanmod.commons.io.serializer
An abstract StringSerializer for objects of type T.
AbstractStringSerializer(BinarySerializer<T>) - Constructor for class org.atlanmod.commons.io.serializer.AbstractStringSerializer
Constructs a new BinarySerializer.
accept(T, T) - Method in interface org.atlanmod.commons.function.Copier
 
accept(T, U, V) - Method in interface org.atlanmod.commons.function.TriConsumer
Performs this operation on the given arguments.
add(R) - Method in class org.atlanmod.commons.collect.DelegatedListIterator
 
add(T[], int, T) - Static method in class org.atlanmod.commons.collect.MoreArrays
Adds the specified element at the specified position in the array.
add(E) - Method in class org.atlanmod.commons.collect.SizedListIterator
 
addAll(T[], int, Collection<? extends T>) - Static method in class org.atlanmod.commons.collect.MoreArrays
Adds all elements at the end of the array.
addAll(byte[], byte...) - Static method in class org.atlanmod.commons.collect.MoreArrays
Adds all array2 at the end of the array1.
all() - Static method in interface org.atlanmod.commons.collect.IntRange
Creates a range that contains every value of type C.
all() - Static method in interface org.atlanmod.commons.collect.Range
Creates a range that contains every value of type C.
and(IntRange, IntRange) - Static method in interface org.atlanmod.commons.collect.IntRange
Creates a range that contains all values enclosed by both ranges.
and(Range<C>, Range<C>) - Static method in interface org.atlanmod.commons.collect.Range
Creates a range that contains all values enclosed by both ranges.
andThen(TriConsumer<? super T, ? super U, ? super V>) - Method in interface org.atlanmod.commons.function.TriConsumer
Returns a composed TriConsumer that performs, in sequence, this operation followed by the after operation.
append(T[], T) - Static method in class org.atlanmod.commons.collect.MoreArrays
Adds the specified element at the last position in the array.
apply(T, U) - Method in interface org.atlanmod.commons.function.BiConverter
 
apply(T) - Method in interface org.atlanmod.commons.function.Converter
 
asList(byte...) - Static method in class org.atlanmod.commons.primitive.Bytes
Converts a byte array into a List of Byte.
asMap() - Method in interface org.atlanmod.commons.cache.Cache
Returns a view of the entries stored in this cache as a thread-safe map.
atLeast(int) - Static method in interface org.atlanmod.commons.collect.IntRange
Creates a range that contains all values greater than or equal to lower.
atLeast(C) - Static method in interface org.atlanmod.commons.collect.Range
Creates a range that contains all values greater than or equal to lower.
atMost(int) - Static method in interface org.atlanmod.commons.collect.IntRange
Creates a range that contains all values less than or equal to upper.
atMost(C) - Static method in interface org.atlanmod.commons.collect.Range
Creates a range that contains all values less than or equal to upper.
averageLoadPenalty() - Method in class org.atlanmod.commons.cache.CacheStats
Returns the average time spent loading new values.

B

base16(BinarySerializer<T>) - Static method in class org.atlanmod.commons.io.serializer.StringSerializerFactory
Creates a new StringSerializer using a Base16 encoding scheme.
base64(BinarySerializer<T>) - Static method in class org.atlanmod.commons.io.serializer.StringSerializerFactory
Creates a new StringSerializer using a Base64 encoding scheme.
Beta - Annotation Type in org.atlanmod.commons.annotation
Annotates a program element that exists but is still being experimented.
BiConverter<T,U,R> - Interface in org.atlanmod.commons.function
A specialized BiFunction that converts an object of type T to another of type R, by using an object of type U.
BinarySerializer<T> - Interface in org.atlanmod.commons.io.serializer
An object that is responsible of Object to byte[] encoding and decoding.
BinarySerializerFactory - Class in org.atlanmod.commons.io.serializer
A factory that creates BinarySerializer instances.
BinarySerializerFactory() - Constructor for class org.atlanmod.commons.io.serializer.BinarySerializerFactory
Constructs a new BinarySerializerFactory.
bits() - Method in interface org.atlanmod.commons.hash.HashCode
Returns the number of bits in this hash code; a positive multiple of 8.
Booleans - Class in org.atlanmod.commons.primitive
Static utility methods related to boolean and Boolean.
build() - Method in interface org.atlanmod.commons.cache.CacheBuilder
Builds a Cache which does not automatically load values when keys are requested.
build(Function<? super K1, ? extends V1>) - Method in interface org.atlanmod.commons.cache.CacheBuilder
Builds a Cache, which either returns an already-loaded value for a given key or atomically computes or retrieves it using the supplied Function.
Builder - Annotation Type in org.atlanmod.commons.annotation
Annotates a type that uses a "builder" aspect to create a new instances.
builder() - Static method in interface org.atlanmod.commons.cache.CacheBuilder
Creates a new CacheBuilder with default settings, including strong keys, strong values, and no automatic eviction of any kind.
Bytes - Class in org.atlanmod.commons.primitive
Static utility methods related to byte arrays.

C

Cache<K,V> - Interface in org.atlanmod.commons.cache
A semi-persistent mapping from keys to values.
CacheBuilder<K,V> - Interface in org.atlanmod.commons.cache
A builder of Cache instances.
CacheStats - Class in org.atlanmod.commons.cache
Statistics about the performance of a Cache.
CacheStats(long, long, long, long, long, long) - Constructor for class org.atlanmod.commons.cache.CacheStats
Constructs a new CacheStats.
Chars - Class in org.atlanmod.commons.primitive
Static utility methods related to char and Character.
checkArgument(boolean) - Static method in class org.atlanmod.commons.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String) - Static method in class org.atlanmod.commons.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, Object...) - Static method in class org.atlanmod.commons.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkElementIndex(int, int) - Static method in class org.atlanmod.commons.Preconditions
Ensures that index specifies a valid element in an array, list or string of size.
checkEqualTo(T, T) - Static method in class org.atlanmod.commons.Preconditions
Ensures that a value passed as a parameter to the calling method is equal to other.
checkEqualTo(T, T, String) - Static method in class org.atlanmod.commons.Preconditions
Ensures that a value passed as a parameter to the calling method is equal to other.
checkEqualTo(T, T, String, Object...) - Static method in class org.atlanmod.commons.Preconditions
Ensures that a value passed as a parameter to the calling method is equal to other.
checkGreaterThan(C, C) - Static method in class org.atlanmod.commons.Preconditions
Ensures that a value passed as a parameter to the calling method is strictly greater than lowerBoundExclusive.
checkGreaterThan(C, C, String) - Static method in class org.atlanmod.commons.Preconditions
Ensures that a value passed as a parameter to the calling method is strictly greater than lowerBoundExclusive.
checkGreaterThan(C, C, String, Object...) - Static method in class org.atlanmod.commons.Preconditions
Ensures that a value passed as a parameter to the calling method is strictly greater than lowerBoundExclusive.
checkGreaterThanOrEqualTo(C, C) - Static method in class org.atlanmod.commons.Preconditions
Ensures that a value passed as a parameter to the calling method is greater than or equal to lowerBoundInclusive.
checkGreaterThanOrEqualTo(C, C, String) - Static method in class org.atlanmod.commons.Preconditions
Ensures that a value passed as a parameter to the calling method is greater than or equal to lowerBoundInclusive.
checkGreaterThanOrEqualTo(C, C, String, Object...) - Static method in class org.atlanmod.commons.Preconditions
Ensures that a value passed as a parameter to the calling method is greater than or equal to lowerBoundInclusive.
checkInstanceOf(T, Class<?>) - Static method in class org.atlanmod.commons.Preconditions
Ensures that an object reference passed as a parameter to the calling method is instance of type.
checkInstanceOf(T, Class<?>, String) - Static method in class org.atlanmod.commons.Preconditions
Ensures that an object reference passed as a parameter to the calling method is instance of type.
checkInstanceOf(T, Class<?>, String, Object...) - Static method in class org.atlanmod.commons.Preconditions
Ensures that an object reference passed as a parameter to the calling method is instance of type.
checkLessThan(C, C) - Static method in class org.atlanmod.commons.Preconditions
Ensures that a value passed as a parameter to the calling method is strictly less than upperBoundExclusive.
checkLessThan(C, C, String) - Static method in class org.atlanmod.commons.Preconditions
Ensures that a value passed as a parameter to the calling method is strictly less than upperBoundExclusive.
checkLessThan(C, C, String, Object...) - Static method in class org.atlanmod.commons.Preconditions
Ensures that a value passed as a parameter to the calling method is strictly less than upperBoundExclusive.
checkLessThanOrEqualTo(C, C) - Static method in class org.atlanmod.commons.Preconditions
Ensures that a value passed as a parameter to the calling method is less than or equal to upperBoundInclusive.
checkLessThanOrEqualTo(C, C, String) - Static method in class org.atlanmod.commons.Preconditions
Ensures that a value passed as a parameter to the calling method is less than or equal to upperBoundInclusive.
checkLessThanOrEqualTo(C, C, String, Object...) - Static method in class org.atlanmod.commons.Preconditions
Ensures that a value passed as a parameter to the calling method is less than or equal to upperBoundInclusive.
checkNotContainsNull(C) - Static method in class org.atlanmod.commons.Preconditions
Ensures that a collection passed as a parameter to the calling method is not null and does not contains any null element.
checkNotContainsNull(C, String) - Static method in class org.atlanmod.commons.Preconditions
Ensures that a collection passed as a parameter to the calling method is not null and does not contains any null element.
checkNotContainsNull(C, String, Object...) - Static method in class org.atlanmod.commons.Preconditions
Ensures that a collection passed as a parameter to the calling method is not null and does not contains any null element.
checkNotNull(T) - Static method in class org.atlanmod.commons.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String) - Static method in class org.atlanmod.commons.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, Object...) - Static method in class org.atlanmod.commons.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkPositionIndex(int, int) - Static method in class org.atlanmod.commons.Preconditions
Ensures that index specifies a valid position in an array, list or string of size.
checkState(boolean) - Static method in class org.atlanmod.commons.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String) - Static method in class org.atlanmod.commons.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, Object...) - Static method in class org.atlanmod.commons.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
CITY - Static variable in class org.atlanmod.commons.hash.StandardHashers
A Hasher that uses the CityHash algorithm (64 bits).
cleanUp() - Method in interface org.atlanmod.commons.cache.Cache
Performs any pending maintenance operations needed by the cache.
close() - Method in interface org.atlanmod.commons.collect.CloseableIterator
 
CloseableIterator<E> - Interface in org.atlanmod.commons.collect
A closeable Iterator that allows implementations to clean up any resources they need to keep open to iterate over elements.
CloseableListIterator<E> - Interface in org.atlanmod.commons.collect
A closeable ListIterator that allows implementations to clean up any resources they need to keep open to iterate over elements.
closed(int, int) - Static method in interface org.atlanmod.commons.collect.IntRange
Creates a range that contains all values greater than or equal to lower and less than or equal to upper.
closed(C, C) - Static method in interface org.atlanmod.commons.collect.Range
Creates a range that contains all values greater than or equal to lower and less than or equal to upper.
closedOpen(int, int) - Static method in interface org.atlanmod.commons.collect.IntRange
Creates a range that contains all values greater than or equal to lower and strictly less than upper.
closedOpen(C, C) - Static method in interface org.atlanmod.commons.collect.Range
Creates a range that contains all values greater than or equal to lower and strictly less than upper.
compose(Converter<T, U>, Converter<U, R>) - Static method in interface org.atlanmod.commons.function.Converter
Returns a composed converter that first applies the before function to its input, and then applies the after function to the result.
contains(K) - Method in interface org.atlanmod.commons.cache.Cache
Returns true if this map contains a mapping for the specified key.
contains(int) - Method in interface org.atlanmod.commons.collect.IntRange
Returns true if value is within the bounds of this range.
contains(T[], T) - Static method in class org.atlanmod.commons.collect.MoreArrays
Checks if the value is in the given array.
contains(C) - Method in interface org.atlanmod.commons.collect.Range
Returns true if value is within the bounds of this range.
containsAll(Iterable<Integer>) - Method in interface org.atlanmod.commons.collect.IntRange
Returns true if every element in values is contained in this range.
containsAll(Iterable<? extends C>) - Method in interface org.atlanmod.commons.collect.Range
Returns true if every element in values is contained in this range.
convert(T, U) - Method in interface org.atlanmod.commons.function.BiConverter
Returns a representation of t as an instance of type R, by using an object of type U.
convert(T) - Method in interface org.atlanmod.commons.function.Converter
Returns a representation of t as an instance of type R.
convert(T) - Method in interface org.atlanmod.commons.io.serializer.Serializer
Returns a representation of t as an instance of type R.
Converter<T,R> - Interface in org.atlanmod.commons.function
A specialized Function that converts an object of type T to another of type R.
Copiable<T> - Interface in org.atlanmod.commons
An object that can be copied to another.
Copier<T> - Interface in org.atlanmod.commons.function
A specialized BiConsumer able to copy an object to another of the same type.
copy(T, T) - Method in interface org.atlanmod.commons.function.Copier
Copies all the contents from the source to the target.
copyTo(T) - Method in interface org.atlanmod.commons.Copiable
Copies all the contents from this object to the target.
createStarted() - Static method in class org.atlanmod.commons.time.Stopwatch
Creates (and starts) a new stopwatch.
createUnstarted() - Static method in class org.atlanmod.commons.time.Stopwatch
Creates (but does not start) a new stopwatch.

D

debug(Object) - Static method in class org.atlanmod.commons.log.Log
Logs an object at the DEBUG level, using the root logger.
debug(CharSequence) - Static method in class org.atlanmod.commons.log.Log
Logs a message at the DEBUG level, using the root logger.
debug(CharSequence, Object...) - Static method in class org.atlanmod.commons.log.Log
Logs a message with parameters at the DEBUG level, using the root logger.
debug(Throwable) - Static method in class org.atlanmod.commons.log.Log
Logs the stack trace of the given Throwable at the DEBUG level, using the root logger.
debug(Throwable, CharSequence) - Static method in class org.atlanmod.commons.log.Log
Logs a message at the DEBUG level including the stack trace of the given Throwable, using the root logger.
debug(Throwable, CharSequence, Object...) - Static method in class org.atlanmod.commons.log.Log
Logs a message with parameters at the DEBUG level including the stack trace of the given Throwable, using the root logger.
debug(Object) - Method in interface org.atlanmod.commons.log.Logger
Logs an object at the DEBUG level.
debug(CharSequence) - Method in interface org.atlanmod.commons.log.Logger
Logs a message at the DEBUG level.
debug(CharSequence, Object...) - Method in interface org.atlanmod.commons.log.Logger
Logs a message with parameters at the DEBUG level.
debug(Throwable) - Method in interface org.atlanmod.commons.log.Logger
Logs the stack trace of the given Throwable at the DEBUG level.
debug(Throwable, CharSequence) - Method in interface org.atlanmod.commons.log.Logger
Logs a message at the DEBUG level including the stack trace of the given Throwable.
debug(Throwable, CharSequence, Object...) - Method in interface org.atlanmod.commons.log.Logger
Logs a message with parameters at the DEBUG level including the stack trace of the given Throwable.
decode(String) - Method in class org.atlanmod.commons.io.serializer.AbstractStringSerializer
Decodes a String into its binary representation.
DelegatedIterator<T,R> - Class in org.atlanmod.commons.collect
An Iterator that iterates over another.
DelegatedIterator(Iterator<T>, Function<T, R>) - Constructor for class org.atlanmod.commons.collect.DelegatedIterator
Constructs a new DelegatedIterator.
DelegatedListIterator<T,R> - Class in org.atlanmod.commons.collect
A ListIterator that iterates over another.
DelegatedListIterator(ListIterator<T>, Converter<T, R>) - Constructor for class org.atlanmod.commons.collect.DelegatedListIterator
Constructs a new DelegatedIterator.
deserialize(byte[]) - Method in class org.atlanmod.commons.io.serializer.AbstractBinarySerializer
 
deserialize(InputStream) - Method in class org.atlanmod.commons.io.serializer.AbstractBinarySerializer
 
deserialize(String) - Method in class org.atlanmod.commons.io.serializer.AbstractStringSerializer
 
deserialize(InputStream) - Method in interface org.atlanmod.commons.io.serializer.BinarySerializer
Reads and assembles an object of type T from the given is.
deserialize(DataInput) - Method in interface org.atlanmod.commons.io.serializer.BinarySerializer
Reads and assembles an object of type T from the given in.
deserialize(U) - Method in interface org.atlanmod.commons.io.serializer.Serializer
Reads and assembles an object of type T from the given data.
Doubles - Class in org.atlanmod.commons.primitive
Static utility methods related to double and Double.

E

elapsed() - Method in class org.atlanmod.commons.time.Stopwatch
Returns the current elapsed time shown on this stopwatch.
empty() - Static method in interface org.atlanmod.commons.cache.CacheBuilder
Returns an immutable empty Cache that does nothing.
empty() - Static method in interface org.atlanmod.commons.collect.IntRange
Creates a range that does not contain any value.
empty() - Static method in interface org.atlanmod.commons.collect.Range
Creates a range that does not contain any value.
EMPTY - Static variable in class org.atlanmod.commons.primitive.Strings
The empty string "".
emptyToNull(String) - Static method in class org.atlanmod.commons.primitive.Strings
Returns the given string if it is nonempty; null otherwise.
encode(byte[]) - Method in class org.atlanmod.commons.io.serializer.AbstractStringSerializer
Encodes a byte array into its literal representation.
equals(Object) - Method in class org.atlanmod.commons.cache.CacheStats
 
error(Object) - Static method in class org.atlanmod.commons.log.Log
Logs an object at the ERROR level, using the root logger.
error(CharSequence) - Static method in class org.atlanmod.commons.log.Log
Logs a message at the ERROR level, using the root logger.
error(CharSequence, Object...) - Static method in class org.atlanmod.commons.log.Log
Logs a message with parameters at the ERROR level, using the root logger.
error(Throwable) - Static method in class org.atlanmod.commons.log.Log
Logs the stack trace of the given Throwable at the ERROR level, using the root logger.
error(Throwable, CharSequence) - Static method in class org.atlanmod.commons.log.Log
Logs a message at the ERROR level including the stack trace of the given Throwable, using the root logger.
error(Throwable, CharSequence, Object...) - Static method in class org.atlanmod.commons.log.Log
Logs a message with parameters at the ERROR level including the stack trace of the given Throwable, using the root logger.
error(Object) - Method in interface org.atlanmod.commons.log.Logger
Logs an object at the ERROR level.
error(CharSequence) - Method in interface org.atlanmod.commons.log.Logger
Logs a message at the ERROR level.
error(CharSequence, Object...) - Method in interface org.atlanmod.commons.log.Logger
Logs a message with parameters at the ERROR level.
error(Throwable) - Method in interface org.atlanmod.commons.log.Logger
Logs the stack trace of the given Throwable at the ERROR level.
error(Throwable, CharSequence) - Method in interface org.atlanmod.commons.log.Logger
Logs a message at the ERROR level including the stack trace of the given Throwable.
error(Throwable, CharSequence, Object...) - Method in interface org.atlanmod.commons.log.Logger
Logs a message with parameters at the ERROR level including the stack trace of the given Throwable.
evictionCount() - Method in class org.atlanmod.commons.cache.CacheStats
Returns the number of times an entry has been evicted.
executeAtExit(Runnable) - Static method in class org.atlanmod.commons.concurrent.MoreThreads
Adds a shutdown hook that will execute the task when the application will exit.

F

FARM_NA - Static variable in class org.atlanmod.commons.hash.StandardHashers
A Hasher that uses the FarmHash NA algorithm (64 bits).
FARM_UO - Static variable in class org.atlanmod.commons.hash.StandardHashers
A Hasher that uses the FarmHash UO algorithm (64 bits).
fileExtension(File) - Static method in class org.atlanmod.commons.io.MoreFiles
Returns the file extension for the given file, or the empty string if the file has no extension.
fileExtension(String) - Static method in class org.atlanmod.commons.io.MoreFiles
Returns the file extension for the given file name, or the empty string if the fullName has no extension.
firstElement(Iterable<E>) - Static method in class org.atlanmod.commons.collect.MoreIterables
Returns the first element contained in iterable.
firstElement(Iterator<E>) - Static method in class org.atlanmod.commons.collect.MoreIterators
Returns the first element contained in iterator.
Floats - Class in org.atlanmod.commons.primitive
Static utility methods related to float and Float.
forAny() - Method in class org.atlanmod.commons.io.serializer.BinarySerializerFactory
Gets the BinarySerializer for any Object.
forName(String) - Static method in class org.atlanmod.commons.hash.StandardHashers
Returns a Hasher with the specified name.
forName(String) - Static method in class org.atlanmod.commons.log.Log
Returns a Logger with the specified name.
from(BiFunction<? super T, ? super U, ? extends R>, BiFunction<? super R, ? super U, ? extends T>) - Static method in interface org.atlanmod.commons.function.BiConverter
Creates a bi-converter based on separate forward and backward functions.
from(Function<? super T, ? extends R>, Function<? super R, ? extends T>) - Static method in interface org.atlanmod.commons.function.Converter
Creates a converter based on separate forward and backward functions.

G

get(K) - Method in interface org.atlanmod.commons.cache.Cache
Returns the value associated with the key in this cache, or null if there is no cached value for the key.
get(K, Function<? super K, ? extends V>) - Method in interface org.atlanmod.commons.cache.Cache
Returns the value associated with the key in this cache, obtaining that value from the mappingFunction if necessary.
get() - Method in class org.atlanmod.commons.Lazy
Gets the wrapped value.
get() - Method in class org.atlanmod.commons.LazyReference
Gets the value.
get() - Method in interface org.atlanmod.commons.service.ServiceDefinition
Returns an instance of the service.
getAll(Iterable<? extends K>) - Method in interface org.atlanmod.commons.cache.Cache
Returns a map of the values associated with the keys in this cache.
getAllInterfaces(Class<?>) - Static method in class org.atlanmod.commons.reflect.MoreReflection
Retrieves all interfaces implemented by the given class and its superclasses.
getAsBoolean() - Method in class org.atlanmod.commons.LazyBoolean
Gets the wrapped value.
getAsDouble() - Method in class org.atlanmod.commons.LazyDouble
Gets the wrapped value.
getAsInt() - Method in class org.atlanmod.commons.LazyInt
Gets the wrapped value.
getAsLong() - Method in class org.atlanmod.commons.LazyLong
Gets the wrapped value.
getInstance() - Static method in class org.atlanmod.commons.io.serializer.BinarySerializerFactory
Returns the instance of this class.
getInstance() - Static method in class org.atlanmod.commons.service.ServiceProvider
Returns the instance of this class.
getServices(Class<S>) - Method in class org.atlanmod.commons.service.OSGiContext
 
getServices(Class<T>, String) - Method in class org.atlanmod.commons.service.OSGiContext
Retrieves all registered services of the specified type.
getServices(Class<T>) - Method in interface org.atlanmod.commons.service.ServiceContext
Retrieves all registered services of the specified type.
getServices(Class<S>) - Method in class org.atlanmod.commons.service.ServiceLoaderContext
 
greaterThan(int) - Static method in interface org.atlanmod.commons.collect.IntRange
Creates a range that contains all values strictly greater than lower.
greaterThan(C) - Static method in interface org.atlanmod.commons.collect.Range
Creates a range that contains all values strictly greater than lower.

H

hash(byte) - Method in interface org.atlanmod.commons.hash.Hasher
Calculates the HashCode of the given data.
hash(boolean) - Method in interface org.atlanmod.commons.hash.Hasher
Calculates the HashCode of the given data.
hash(char) - Method in interface org.atlanmod.commons.hash.Hasher
Calculates the HashCode of the given data.
hash(short) - Method in interface org.atlanmod.commons.hash.Hasher
Calculates the HashCode of the given data.
hash(int) - Method in interface org.atlanmod.commons.hash.Hasher
Calculates the HashCode of the given data.
hash(long) - Method in interface org.atlanmod.commons.hash.Hasher
Calculates the HashCode of the given data.
hash(float) - Method in interface org.atlanmod.commons.hash.Hasher
Calculates the HashCode of the given data.
hash(double) - Method in interface org.atlanmod.commons.hash.Hasher
Calculates the HashCode of the given data.
hash(String) - Method in interface org.atlanmod.commons.hash.Hasher
Calculates the HashCode of the given data.
hash(byte[]) - Method in interface org.atlanmod.commons.hash.Hasher
Calculates the HashCode of the given byte array.
hashCode() - Method in class org.atlanmod.commons.cache.CacheStats
 
HashCode - Interface in org.atlanmod.commons.hash
An immutable hash code of arbitrary bit length.
Hasher - Interface in org.atlanmod.commons.hash
A hash function producing a HashCode from byte sequences of arbitrary length.
hasNext() - Method in class org.atlanmod.commons.collect.DelegatedIterator
 
hasNext() - Method in class org.atlanmod.commons.collect.DelegatedListIterator
 
hasNext() - Method in class org.atlanmod.commons.collect.SizedIterator
 
hasNext() - Method in class org.atlanmod.commons.collect.SizedListIterator
 
hasPrevious() - Method in class org.atlanmod.commons.collect.DelegatedListIterator
 
hasPrevious() - Method in class org.atlanmod.commons.collect.SizedListIterator
 
hitCount() - Method in class org.atlanmod.commons.cache.CacheStats
Returns the number of times Cache lookup methods have returned a cached value.
hitRate() - Method in class org.atlanmod.commons.cache.CacheStats
Returns the ratio of cache requests which were hits.

I

identity() - Static method in interface org.atlanmod.commons.function.BiConverter
Creates a bi-converter that always converts or reverses an object to itself.
identity() - Static method in interface org.atlanmod.commons.function.Converter
Creates a converter that always converts or reverses an object to itself.
ifLoaded(Consumer<T>) - Method in class org.atlanmod.commons.Lazy
If a value is loaded, invoke the specified consumer with the value, otherwise do nothing.
ifLoaded(DoubleConsumer) - Method in class org.atlanmod.commons.LazyDouble
If a value is loaded, invoke the specified consumer with the value, otherwise do nothing.
ifLoaded(IntConsumer) - Method in class org.atlanmod.commons.LazyInt
If a value is loaded, invoke the specified consumer with the value, otherwise do nothing.
ifLoaded(LongConsumer) - Method in class org.atlanmod.commons.LazyLong
If a value is loaded, invoke the specified consumer with the value, otherwise do nothing.
indexOf(T[], T) - Static method in class org.atlanmod.commons.collect.MoreArrays
Finds the index of the given value in the array.
indexOf(Stream<?>, Object) - Static method in class org.atlanmod.commons.collect.MoreStreams
Finds the index of the given value in the stream.
info(Object) - Static method in class org.atlanmod.commons.log.Log
Logs an object at the INFO level, using the root logger.
info(CharSequence) - Static method in class org.atlanmod.commons.log.Log
Logs a message at the INFO level, using the root logger.
info(CharSequence, Object...) - Static method in class org.atlanmod.commons.log.Log
Logs a message with parameters at the INFO level, using the root logger.
info(Throwable) - Static method in class org.atlanmod.commons.log.Log
Logs the stack trace of the given Throwable at the INFO level, using the root logger.
info(Throwable, CharSequence) - Static method in class org.atlanmod.commons.log.Log
Logs a message at the INFO level including the stack trace of the given Throwable, using the root logger.
info(Throwable, CharSequence, Object...) - Static method in class org.atlanmod.commons.log.Log
Logs a message with parameters at the INFO level including the stack trace of the given Throwable, using the root logger.
info(Object) - Method in interface org.atlanmod.commons.log.Logger
Logs an object at the INFO level.
info(CharSequence) - Method in interface org.atlanmod.commons.log.Logger
Logs a message at the INFO level.
info(CharSequence, Object...) - Method in interface org.atlanmod.commons.log.Logger
Logs a message with parameters at the INFO level.
info(Throwable) - Method in interface org.atlanmod.commons.log.Logger
Logs the stack trace of the given Throwable at the INFO level.
info(Throwable, CharSequence) - Method in interface org.atlanmod.commons.log.Logger
Logs a message at the INFO level including the stack trace of the given Throwable.
info(Throwable, CharSequence, Object...) - Method in interface org.atlanmod.commons.log.Logger
Logs a message with parameters at the INFO level including the stack trace of the given Throwable.
initialCapacity(int) - Method in interface org.atlanmod.commons.cache.CacheBuilder
Sets the minimum total size for the internal data structures.
IntRange - Interface in org.atlanmod.commons.collect
A range (or "interval") defines the boundaries around a contiguous span of values of integer.
Ints - Class in org.atlanmod.commons.primitive
Static utility methods related to int and Integer.
invalidate(K) - Method in interface org.atlanmod.commons.cache.Cache
Discards any cached value for the key.
invalidateAll(Iterable<? extends K>) - Method in interface org.atlanmod.commons.cache.Cache
Discards any cached values for the keys.
invalidateAll() - Method in interface org.atlanmod.commons.cache.Cache
Discards all entries in the cache.
isBinary(String) - Static method in class org.atlanmod.commons.primitive.Strings
Returns true if the value represents an hexadecimal value.
isBoxed(Class<?>) - Static method in class org.atlanmod.commons.primitive.Primitives
Returns true if the type is a boxed Java primitive type.
isEmpty(Iterable<?>) - Static method in class org.atlanmod.commons.collect.MoreIterables
Determines if the given iterable contains no element.
isEmpty(Iterator<?>) - Static method in class org.atlanmod.commons.collect.MoreIterators
Determines if the given iterator contains no element.
isLoaded() - Method in class org.atlanmod.commons.Lazy
Returns true if the value has been loaded.
isLoaded() - Method in class org.atlanmod.commons.LazyBoolean
Returns true if the value has been loaded.
isLoaded() - Method in class org.atlanmod.commons.LazyDouble
Returns true if the value has been loaded.
isLoaded() - Method in class org.atlanmod.commons.LazyInt
Returns true if the value has been loaded.
isLoaded() - Method in class org.atlanmod.commons.LazyLong
Returns true if the value has been loaded.
isNullOrEmpty(String) - Static method in class org.atlanmod.commons.primitive.Strings
Returns true if the given string is null or is the empty string.
isPrimitive(Class<?>) - Static method in class org.atlanmod.commons.primitive.Primitives
Returns true if the type is a Java primitive type.
isPrimitiveOrString(Class<?>) - Static method in class org.atlanmod.commons.primitive.Primitives
Returns true if the type is considered as a Java primitive type, or its boxed equivalent, or a String type.
isRunning() - Method in class org.atlanmod.commons.time.Stopwatch
Checks whether this stopwatch is currently running.

L

lastIndexOf(T[], T) - Static method in class org.atlanmod.commons.collect.MoreArrays
Finds the last index of the given value in the array.
lastIndexOf(Stream<?>, Object) - Static method in class org.atlanmod.commons.collect.MoreStreams
Finds the last index of the given value in the stream.
Lazy<T> - Class in org.atlanmod.commons
An object that automatically loads an object of type T by using a Supplier during the first call to Lazy.get().
LazyBoolean - Class in org.atlanmod.commons
An object that automatically loads a boolean by using a BooleanSupplier during the first call to LazyBoolean.getAsBoolean().
LazyDouble - Class in org.atlanmod.commons
An object that automatically loads a double by using a DoubleSupplier during the first call to LazyDouble.getAsDouble().
LazyInt - Class in org.atlanmod.commons
An object that automatically loads an integer by using a IntSupplier during the first call to LazyInt.getAsInt().
LazyLong - Class in org.atlanmod.commons
An object that automatically loads a long by using a LongSupplier during the first call to LazyLong.getAsLong().
LazyReference<T> - Class in org.atlanmod.commons
An object that automatically loads an object of type T by using a Supplier.
LazyReference(Supplier<T>) - Constructor for class org.atlanmod.commons.LazyReference
Constructs a new LazyReference.
lessThan(int) - Static method in interface org.atlanmod.commons.collect.IntRange
Creates a range that contains all values strictly less than upper.
lessThan(C) - Static method in interface org.atlanmod.commons.collect.Range
Creates a range that contains all values strictly less than upper.
Level - Enum in org.atlanmod.commons.log
An object used for identifying the severity of an event.
load(Class<S>) - Method in class org.atlanmod.commons.service.ServiceProvider
Retrieves all registered services of the specified type.
loadCount() - Method in class org.atlanmod.commons.cache.CacheStats
Returns the total number of times that Cache lookup methods attempted to load new values.
loadFailureCount() - Method in class org.atlanmod.commons.cache.CacheStats
Returns the number of times Cache lookup methods failed to load a new value, either because no value was found or an exception was thrown while loading.
loadFailureRate() - Method in class org.atlanmod.commons.cache.CacheStats
Returns the ratio of cache loading attempts which threw exceptions.
loadSuccessCount() - Method in class org.atlanmod.commons.cache.CacheStats
Returns the number of times Cache lookup methods have successfully loaded a new value.
Log - Class in org.atlanmod.commons.log
The factory that creates Logger instances.
log(Level, Object) - Static method in class org.atlanmod.commons.log.Log
Logs an object at the given level, using the root logger.
log(Level, CharSequence) - Static method in class org.atlanmod.commons.log.Log
Logs a message at the given level, using the root logger.
log(Level, CharSequence, Object...) - Static method in class org.atlanmod.commons.log.Log
Logs a message with parameters at the given level, using the root logger.
log(Level, Throwable) - Static method in class org.atlanmod.commons.log.Log
Logs the stack trace of the given Throwable at the given level, using the root logger.
log(Level, Throwable, CharSequence) - Static method in class org.atlanmod.commons.log.Log
Logs a message at the given level including the stack trace of the given Throwable, using the root logger.
log(Level, Throwable, CharSequence, Object...) - Static method in class org.atlanmod.commons.log.Log
Logs a message with parameters at the given level including the stack trace of the given Throwable, using the root logger.
log(Level, Object) - Method in interface org.atlanmod.commons.log.Logger
Logs an object at the given level.
log(Level, CharSequence) - Method in interface org.atlanmod.commons.log.Logger
Logs a message at the given level.
log(Level, CharSequence, Object...) - Method in interface org.atlanmod.commons.log.Logger
Logs a message with parameters at the given level.
log(Level, Throwable) - Method in interface org.atlanmod.commons.log.Logger
Logs the stack trace of the given Throwable at the given level.
log(Level, Throwable, CharSequence) - Method in interface org.atlanmod.commons.log.Logger
Logs a message at the given level including the stack trace of the given Throwable.
log(Level, Throwable, CharSequence, Object...) - Method in interface org.atlanmod.commons.log.Logger
Logs a message with parameters at the given level including the stack trace of the given Throwable.
Logger - Interface in org.atlanmod.commons.log
An object that provides logging operations, filtered by Levels.
Longs - Class in org.atlanmod.commons.primitive
Static utility methods related to long and Long.
LR - Static variable in class org.atlanmod.commons.primitive.Strings
A string for a line separator character, dependencing on the system.

M

maximumSize(long) - Method in interface org.atlanmod.commons.cache.CacheBuilder
Specifies the maximum number of entries the cache may contain.
maximumWeight(long, ToIntBiFunction<? super K1, ? extends V1>) - Method in interface org.atlanmod.commons.cache.CacheBuilder
Specifies the maximum weight of entries the cache may contain.
MD5 - Static variable in class org.atlanmod.commons.hash.StandardHashers
A Hasher that uses the MD5 algorithm (128 bits).
minus(CacheStats) - Method in class org.atlanmod.commons.cache.CacheStats
Returns a new CacheStats representing the difference between this CacheStats and other.
missCount() - Method in class org.atlanmod.commons.cache.CacheStats
Returns the number of times Cache lookup methods have returned an uncached (newly loaded) value, or null.
missRate() - Method in class org.atlanmod.commons.cache.CacheStats
Returns the ratio of cache requests which were misses.
MoreArrays - Class in org.atlanmod.commons.collect
Static utility methods related to arrays.
MoreExecutors - Class in org.atlanmod.commons.concurrent
Static utility methods related to Executor instances.
MoreFiles - Class in org.atlanmod.commons.io
Static utility methods related to Files.
MoreIterables - Class in org.atlanmod.commons.collect
Static utility methods related to Iterable instances.
MoreIterators - Class in org.atlanmod.commons.collect
Static utility methods related to Iterator instances.
MoreReflection - Class in org.atlanmod.commons.reflect
Static utility methods related to reflection.
MoreStreams - Class in org.atlanmod.commons.collect
Static utility methods related to Stream instances.
MoreThreads - Class in org.atlanmod.commons.concurrent
Static utility methods related to Thread instances.
MURMUR3 - Static variable in class org.atlanmod.commons.hash.StandardHashers
A Hasher that uses the MurmurHash3 64-bit algorithm (64 bits).

N

nameWithoutExtension(File) - Static method in class org.atlanmod.commons.io.MoreFiles
Returns the file name without its file extension or path.
nameWithoutExtension(String) - Static method in class org.atlanmod.commons.io.MoreFiles
Returns the file name without its fullName extension or path.
newArray(Class<?>, int) - Static method in class org.atlanmod.commons.collect.MoreArrays
Creates a new array with the specified component type and length.
newDirectPool() - Static method in class org.atlanmod.commons.concurrent.MoreExecutors
Creates a new ExecutorService that runs each task in the thread that invokes execute/submit.
newFixedThreadPool() - Static method in class org.atlanmod.commons.concurrent.MoreExecutors
Creates a new ExecutorService using the maximum available processors, that will be closed when the application will exit.
newFixedThreadPool(String) - Static method in class org.atlanmod.commons.concurrent.MoreExecutors
Creates a new ExecutorService using the maximum available processors, that will be closed when the application will exit.
newFixedThreadPool(int) - Static method in class org.atlanmod.commons.concurrent.MoreExecutors
Creates a new ExecutorService using nThreads processors, that will be closed when the application will exit.
newFixedThreadPool(int, String) - Static method in class org.atlanmod.commons.concurrent.MoreExecutors
Creates a new ExecutorService using nThreads processors, that will be closed when the application will exit.
newInstance(Class<T>) - Static method in class org.atlanmod.commons.reflect.MoreReflection
Gets or creates a instance of the given type by using the static method named name.
newReference(T) - Method in class org.atlanmod.commons.LazyReference
Creates a new Reference for the given value.
newThreadFactory() - Static method in class org.atlanmod.commons.concurrent.MoreThreads
Creates a new ThreadFactory that creates daemon threads.
newThreadFactory(String) - Static method in class org.atlanmod.commons.concurrent.MoreThreads
Creates a new ThreadFactory that creates daemon threads with a defined prefixed name.
next() - Method in class org.atlanmod.commons.collect.DelegatedIterator
 
next() - Method in class org.atlanmod.commons.collect.DelegatedListIterator
 
next() - Method in class org.atlanmod.commons.collect.SizedIterator
 
next() - Method in class org.atlanmod.commons.collect.SizedListIterator
 
nextIndex() - Method in class org.atlanmod.commons.collect.DelegatedListIterator
 
nextIndex() - Method in class org.atlanmod.commons.collect.SizedListIterator
 
NO_EXCEPTION - Static variable in interface org.atlanmod.commons.log.Logger
A throwable representing a logging without exception.
NO_INDEX - Static variable in class org.atlanmod.commons.collect.MoreArrays
The index value when an element is not found in a list or array: -1.
NO_MESSAGE - Static variable in interface org.atlanmod.commons.log.Logger
A string representing a logging without message.
NO_PARAMS - Static variable in interface org.atlanmod.commons.log.Logger
An empty array representing logging without parameters.
notEmpty(Iterable<?>) - Static method in class org.atlanmod.commons.collect.MoreIterables
Determines if the given iterable contains at least one element.
notEmpty(Iterator<?>) - Static method in class org.atlanmod.commons.collect.MoreIterators
Determines if the given iterator contains at least one element.
notImplementedYet(String) - Static method in class org.atlanmod.commons.Throwables
Returns a new RuntimeException thrown when calling a method that is not yet implemented.
notInstantiableClass(Class<?>) - Static method in class org.atlanmod.commons.Throwables
Returns a new RuntimeException thrown when calling a constructor of a non-instantiable class.
nullToEmpty(String) - Static method in class org.atlanmod.commons.primitive.Strings
Returns the given string if it is non-null; the empty string otherwise.

O

of(T) - Static method in class org.atlanmod.commons.Lazy
Creates a new lazy object with the embed value.
of(boolean) - Static method in class org.atlanmod.commons.LazyBoolean
Creates a new lazy boolean with the embed value.
of(double) - Static method in class org.atlanmod.commons.LazyDouble
Creates a new lazy double with the embed value.
of(int) - Static method in class org.atlanmod.commons.LazyInt
Creates a new lazy integer with the embed value.
of(long) - Static method in class org.atlanmod.commons.LazyLong
Creates a new lazy long with the embed value.
onlyElement(Iterable<E>) - Static method in class org.atlanmod.commons.collect.MoreIterables
Returns the single element contained in iterable.
onlyElement(Iterator<E>) - Static method in class org.atlanmod.commons.collect.MoreIterators
Returns the single element contained in iterator.
open(int, int) - Static method in interface org.atlanmod.commons.collect.IntRange
Creates a range that contains all values strictly greater than lower and strictly less than upper.
open(C, C) - Static method in interface org.atlanmod.commons.collect.Range
Creates a range that contains all values strictly greater than lower and strictly less than upper.
openClosed(int, int) - Static method in interface org.atlanmod.commons.collect.IntRange
Creates a range that contains all values strictly greater than lower and less than or equal to upper.
openClosed(C, C) - Static method in interface org.atlanmod.commons.collect.Range
Creates a range that contains all values strictly greater than lower and less than or equal to upper.
or(IntRange, IntRange) - Static method in interface org.atlanmod.commons.collect.IntRange
Creates a range that contains all values enclosed by at least one range.
or(Range<C>, Range<C>) - Static method in interface org.atlanmod.commons.collect.Range
Creates a range that contains all values enclosed by at least one range.
org.atlanmod.commons - package org.atlanmod.commons
The base package for common utility classes and methods.
org.atlanmod.commons.annotation - package org.atlanmod.commons.annotation
Provides common annotation types.
org.atlanmod.commons.cache - package org.atlanmod.commons.cache
Provides classes for caching.
org.atlanmod.commons.collect - package org.atlanmod.commons.collect
Provides utility classes and methods related to Collections and arrays.
org.atlanmod.commons.concurrent - package org.atlanmod.commons.concurrent
Provides classes and methods related to concurrency.
org.atlanmod.commons.function - package org.atlanmod.commons.function
Provides functional interfaces that extend the Java functions.
org.atlanmod.commons.hash - package org.atlanmod.commons.hash
Provides hash functions and related structures.
org.atlanmod.commons.io - package org.atlanmod.commons.io
Provides classes and methods related to an I/O process.
org.atlanmod.commons.io.serializer - package org.atlanmod.commons.io.serializer
Provides serialization methods and related structures.
org.atlanmod.commons.log - package org.atlanmod.commons.log
Provides classes for logging information and events.
org.atlanmod.commons.primitive - package org.atlanmod.commons.primitive
Provides classes and methods related to Java primitives.
org.atlanmod.commons.reflect - package org.atlanmod.commons.reflect
Provides classes and methods to ease the use of reflection.
org.atlanmod.commons.service - package org.atlanmod.commons.service
 
org.atlanmod.commons.time - package org.atlanmod.commons.time
Provides classes related to the date and time.
OSGiContext - Class in org.atlanmod.commons.service
A ServiceContext able to retrieve OSGi Declarative Services from a BundleContext.
OSGiContext() - Constructor for class org.atlanmod.commons.service.OSGiContext
 

P

parallelStream(Iterable<E>) - Static method in class org.atlanmod.commons.collect.MoreIterables
Returns a parallel Stream of the contents of iterable.
plus(CacheStats) - Method in class org.atlanmod.commons.cache.CacheStats
Returns a new CacheStats representing the sum of this CacheStats and other.
Preconditions - Class in org.atlanmod.commons
Static convenience methods that help a method or constructor check whether it was invoked correctly (whether its preconditions have been met).
previous() - Method in class org.atlanmod.commons.collect.DelegatedListIterator
 
previous() - Method in class org.atlanmod.commons.collect.SizedListIterator
 
previousIndex() - Method in class org.atlanmod.commons.collect.DelegatedListIterator
 
previousIndex() - Method in class org.atlanmod.commons.collect.SizedListIterator
 
Primitives - Class in org.atlanmod.commons.primitive
Static utility methods related to Java primitive types.
put(K, V) - Method in interface org.atlanmod.commons.cache.Cache
Associates the value with the key in this cache.
putAll(Map<? extends K, ? extends V>) - Method in interface org.atlanmod.commons.cache.Cache
Copies all of the mappings from the specified map to the cache.
putIfAbsent(K, V) - Method in interface org.atlanmod.commons.cache.Cache
Associates the value with the key in this cache, only if the key does not already exist.

R

Range<C extends Comparable<C>> - Interface in org.atlanmod.commons.collect
A range (or "interval") defines the boundaries around a contiguous span of values of some Comparable type.
recordStats() - Method in interface org.atlanmod.commons.cache.CacheBuilder
Enables the accumulation of CacheStats during the operation of the cache.
ReflectionException - Exception in org.atlanmod.commons.reflect
Exception thrown when an error occurred when using reflection.
ReflectionException() - Constructor for exception org.atlanmod.commons.reflect.ReflectionException
Constructs an ReflectionException with null as its error detail message.
ReflectionException(String) - Constructor for exception org.atlanmod.commons.reflect.ReflectionException
Constructs an ReflectionException with the specified detail message.
ReflectionException(Throwable) - Constructor for exception org.atlanmod.commons.reflect.ReflectionException
Constructs an ReflectionException with the specified cause and its detail message.
ReflectionException(String, Throwable) - Constructor for exception org.atlanmod.commons.reflect.ReflectionException
Constructs an ReflectionException with the specified detail message and cause.
refresh(K) - Method in interface org.atlanmod.commons.cache.Cache
Loads a new value for the key, asynchronously.
remove() - Method in class org.atlanmod.commons.collect.DelegatedIterator
 
remove() - Method in class org.atlanmod.commons.collect.DelegatedListIterator
 
remove(T[], int) - Static method in class org.atlanmod.commons.collect.MoreArrays
Removes the element at the specified index from the specified array.
remove() - Method in class org.atlanmod.commons.collect.SizedIterator
 
remove() - Method in class org.atlanmod.commons.collect.SizedListIterator
 
requestCount() - Method in class org.atlanmod.commons.cache.CacheStats
Returns the number of times Cache lookup methods have returned either a cached or uncached value.
reset() - Method in class org.atlanmod.commons.time.Stopwatch
Sets the elapsed time for this stopwatch to 0, and places it in a stopped state.
resize(T[], int) - Static method in class org.atlanmod.commons.collect.MoreArrays
Resizes the array with the given length.
reverse() - Method in interface org.atlanmod.commons.function.BiConverter
Returns the reversed converter of this converter.
reverse() - Method in interface org.atlanmod.commons.function.Converter
Returns the reversed converter of this converter.
reverseOrder(int, int) - Static method in class org.atlanmod.commons.collect.MoreStreams
Returns an unary operator to iterates over an IntStream in the reverse direction.
reverseOrder(long, long) - Static method in class org.atlanmod.commons.collect.MoreStreams
Returns an unary operator to iterates over an LongStream in the reverse direction.
revert(R, U) - Method in interface org.atlanmod.commons.function.BiConverter
Returns a representation of r as an instance of type T, by using an object of type U.
revert(R) - Method in interface org.atlanmod.commons.function.Converter
Returns a representation of r as an instance of type T.
revert(U) - Method in interface org.atlanmod.commons.io.serializer.Serializer
Returns a representation of r as an instance of type T.
root() - Static method in class org.atlanmod.commons.log.Log
Returns the root Logger.

S

serialize(T) - Method in class org.atlanmod.commons.io.serializer.AbstractBinarySerializer
 
serialize(T, OutputStream) - Method in class org.atlanmod.commons.io.serializer.AbstractBinarySerializer
 
serialize(T) - Method in class org.atlanmod.commons.io.serializer.AbstractStringSerializer
 
serialize(T, OutputStream) - Method in interface org.atlanmod.commons.io.serializer.BinarySerializer
Write an object of type T to the given os.
serialize(T, DataOutput) - Method in interface org.atlanmod.commons.io.serializer.BinarySerializer
Write an object of type T to the given out.
serialize(T) - Method in interface org.atlanmod.commons.io.serializer.Serializer
Write an object of type T into its basic representation.
Serializer<T,U> - Interface in org.atlanmod.commons.io.serializer
An object that is responsible for encoding and decoding the basic representation of Objects.
ServiceContext - Interface in org.atlanmod.commons.service
A context able to retrieve registered services.
ServiceDefinition<T> - Interface in org.atlanmod.commons.service
Represents a service definition.
ServiceLoaderContext - Class in org.atlanmod.commons.service
A ServiceContext able to retrieve registered services from a ServiceLoader.
ServiceLoaderContext() - Constructor for class org.atlanmod.commons.service.ServiceLoaderContext
 
ServiceProvider - Class in org.atlanmod.commons.service
An object able to retrieve and load services according to a ServiceContext.
set(R) - Method in class org.atlanmod.commons.collect.DelegatedListIterator
 
set(T[], int, T) - Static method in class org.atlanmod.commons.collect.MoreArrays
Sets the specified element at the index in the array.
set(E) - Method in class org.atlanmod.commons.collect.SizedListIterator
 
SHA1 - Static variable in class org.atlanmod.commons.hash.StandardHashers
A Hasher that uses the SHA-1 algorithm (160 bits).
SHA256 - Static variable in class org.atlanmod.commons.hash.StandardHashers
A Hasher that uses the SHA-256 algorithm (256 bits).
Shorts - Class in org.atlanmod.commons.primitive
Static utility methods related to short and Short.
shouldNeverHappen(Throwable) - Static method in class org.atlanmod.commons.Throwables
Returns a new RuntimeException when a call leads to a state that should never have occurred under normal conditions.
shutdown(ExecutorService, long, TimeUnit, boolean) - Static method in class org.atlanmod.commons.concurrent.MoreExecutors
Cleanly closes the service.
shutdown(ExecutorService, long, TimeUnit) - Static method in class org.atlanmod.commons.concurrent.MoreExecutors
Cleanly closes the service.
shutdownAtExit(ExecutorService, long, TimeUnit, boolean) - Static method in class org.atlanmod.commons.concurrent.MoreExecutors
Adds a shutdown hook to cleanly closes the service when the application will exit.
Singleton - Annotation Type in org.atlanmod.commons.annotation
Annotates a type that has a single instance.
singleton(int) - Static method in interface org.atlanmod.commons.collect.IntRange
Creates a range that contains only the given value.
singleton(C) - Static method in interface org.atlanmod.commons.collect.Range
Creates a range that contains only the given value.
size() - Method in interface org.atlanmod.commons.cache.Cache
Returns the approximate number of entries in this cache.
size(Stream<?>) - Static method in class org.atlanmod.commons.collect.MoreStreams
Returns the number of element in the stream as an integer;
SizedIterator<E> - Class in org.atlanmod.commons.collect
A size-based Iterator that loads each value with a IntFunction.
SizedIterator(int, IntFunction<E>) - Constructor for class org.atlanmod.commons.collect.SizedIterator
Constructs a new SizedIterator.
SizedIterator(int, IntFunction<E>, int) - Constructor for class org.atlanmod.commons.collect.SizedIterator
Constructs a new SizedIterator.
SizedListIterator<E> - Class in org.atlanmod.commons.collect
A size-based Iterator that loads each value with a IntFunction.
SizedListIterator(int, IntFunction<E>) - Constructor for class org.atlanmod.commons.collect.SizedListIterator
Constructs a new SizedIterator.
SizedListIterator(int, IntFunction<E>, int) - Constructor for class org.atlanmod.commons.collect.SizedListIterator
Constructs a new SizedIterator.
soft(Supplier<T>) - Static method in class org.atlanmod.commons.LazyReference
Creates a new lazy reference that uses SoftReference.
softValues() - Method in interface org.atlanmod.commons.cache.CacheBuilder
Specifies that each value (not key) stored in the cache should be wrapped in a SoftReference (by default, strong references are used).
SPACE - Static variable in class org.atlanmod.commons.primitive.Strings
A string for a space character.
StandardHashers - Class in org.atlanmod.commons.hash
Constants definitions for the default Hasher instances.
start() - Method in class org.atlanmod.commons.time.Stopwatch
Starts this stopwatch.
Static - Annotation Type in org.atlanmod.commons.annotation
Annotates a type that cannot be instantiated.
stats() - Method in interface org.atlanmod.commons.cache.Cache
Returns a current snapshot of this cache's cumulative statistics.
stop() - Method in class org.atlanmod.commons.time.Stopwatch
Stops this stopwatch.
Stopwatch - Class in org.atlanmod.commons.time
An object that measures elapsed time using Instant.
stream(Iterable<E>) - Static method in class org.atlanmod.commons.collect.MoreIterables
Returns a sequential Stream of the contents of iterable.
Strings - Class in org.atlanmod.commons.primitive
Static utility methods related to String.
StringSerializer<T> - Interface in org.atlanmod.commons.io.serializer
An object that is responsible of Object to String encoding and decoding.
StringSerializerFactory - Class in org.atlanmod.commons.io.serializer
A factory that creates StringSerializer instances.

T

Throwables - Class in org.atlanmod.commons
Static utility methods related to Throwable and Exception instances.
toArray(List<Byte>) - Static method in class org.atlanmod.commons.primitive.Bytes
Converts a List of Byte into a byte array.
toBoolean(byte[]) - Static method in class org.atlanmod.commons.primitive.Bytes
Decodes a byte array to a boolean.
toBytes() - Method in interface org.atlanmod.commons.hash.HashCode
Returns the value of this hash code as a byte array.
toBytes(boolean) - Static method in class org.atlanmod.commons.primitive.Booleans
Encodes a boolean to a byte array.
toBytes(Boolean) - Static method in class org.atlanmod.commons.primitive.Booleans
Encodes a Boolean to a byte array.
toBytes(char) - Static method in class org.atlanmod.commons.primitive.Chars
Encodes a char to a byte array.
toBytes(Character) - Static method in class org.atlanmod.commons.primitive.Chars
Encodes a Character to a byte array.
toBytes(double) - Static method in class org.atlanmod.commons.primitive.Doubles
Encodes a double to a byte array.
toBytes(Double) - Static method in class org.atlanmod.commons.primitive.Doubles
Encodes a Double to a byte array.
toBytes(float) - Static method in class org.atlanmod.commons.primitive.Floats
Encodes a float to a byte array.
toBytes(Float) - Static method in class org.atlanmod.commons.primitive.Floats
Encodes a Float to a byte array.
toBytes(int) - Static method in class org.atlanmod.commons.primitive.Ints
Encodes an int to a byte array.
toBytes(Integer) - Static method in class org.atlanmod.commons.primitive.Ints
Encodes an Integer to a byte array.
toBytes(long) - Static method in class org.atlanmod.commons.primitive.Longs
Encodes a long to a byte array.
toBytes(Long) - Static method in class org.atlanmod.commons.primitive.Longs
Encodes a Long to a byte array.
toBytes(short) - Static method in class org.atlanmod.commons.primitive.Shorts
Encodes a short to a byte array.
toBytes(Short) - Static method in class org.atlanmod.commons.primitive.Shorts
Encodes a Short to a byte array.
toBytes(String) - Static method in class org.atlanmod.commons.primitive.Strings
Encodes a String to a byte array.
toBytesBinary(String) - Static method in class org.atlanmod.commons.primitive.Strings
Encodes a String to a byte array, where each byte is represented as a two-digit unsigned hexadecimal number in lower case.
toChar(byte[]) - Static method in class org.atlanmod.commons.primitive.Bytes
Decodes a byte array to a char.
toDouble(byte[]) - Static method in class org.atlanmod.commons.primitive.Bytes
Decodes a byte array to a double.
toFloat(byte[]) - Static method in class org.atlanmod.commons.primitive.Bytes
Decodes a byte array to a float.
toHexString() - Method in interface org.atlanmod.commons.hash.HashCode
Returns the literal representation of this hash code.
toInt(boolean) - Static method in class org.atlanmod.commons.primitive.Booleans
Returns the integer value of a boolean value.
toInt(byte[]) - Static method in class org.atlanmod.commons.primitive.Bytes
Decodes a byte array to an int.
toLong() - Method in interface org.atlanmod.commons.hash.HashCode
Returns the long representation of this hash code.
toLong(byte[]) - Static method in class org.atlanmod.commons.primitive.Bytes
Decodes a byte array to a long.
toObject(byte...) - Static method in class org.atlanmod.commons.collect.MoreArrays
Converts an array of primitive types byte to an array of Objects .
toPrimitive(Byte...) - Static method in class org.atlanmod.commons.collect.MoreArrays
Converts an array of Byte to an array of primitive types byte.
toShort(byte[]) - Static method in class org.atlanmod.commons.primitive.Bytes
Decodes a byte array to a short.
toString() - Method in class org.atlanmod.commons.cache.CacheStats
 
toString(byte[]) - Static method in class org.atlanmod.commons.primitive.Bytes
Decodes a byte array to a String.
toStringBinary(byte[]) - Static method in class org.atlanmod.commons.primitive.Bytes
Decodes a byte array to a String that contains each byte, in order, as a two-digit unsigned hexadecimal number in lower case.
totalLoadTime() - Method in class org.atlanmod.commons.cache.CacheStats
Returns the total number of nanoseconds the cache has spent loading new values.
trace(Object) - Static method in class org.atlanmod.commons.log.Log
Logs an object at the TRACE level, using the root logger.
trace(CharSequence) - Static method in class org.atlanmod.commons.log.Log
Logs a message at the TRACE level, using the root logger.
trace(CharSequence, Object...) - Static method in class org.atlanmod.commons.log.Log
Logs a message with parameters at the TRACE level, using the root logger.
trace(Throwable) - Static method in class org.atlanmod.commons.log.Log
Logs the stack trace of the given Throwable at the TRACE level, using the root logger.
trace(Throwable, CharSequence) - Static method in class org.atlanmod.commons.log.Log
Logs a message at the TRACE level including the stack trace of the given Throwable, using the root logger.
trace(Throwable, CharSequence, Object...) - Static method in class org.atlanmod.commons.log.Log
Logs a message with parameters at the TRACE level including the stack trace of the given Throwable, using the root logger.
trace(Object) - Method in interface org.atlanmod.commons.log.Logger
Logs an object at the TRACE level.
trace(CharSequence) - Method in interface org.atlanmod.commons.log.Logger
Logs a message at the TRACE level.
trace(CharSequence, Object...) - Method in interface org.atlanmod.commons.log.Logger
Logs a message with parameters at the TRACE level.
trace(Throwable) - Method in interface org.atlanmod.commons.log.Logger
Logs the stack trace of the given Throwable at the TRACE level.
trace(Throwable, CharSequence) - Method in interface org.atlanmod.commons.log.Logger
Logs a message at the TRACE level including the stack trace of the given Throwable.
trace(Throwable, CharSequence, Object...) - Method in interface org.atlanmod.commons.log.Logger
Logs a message with parameters at the TRACE level including the stack trace of the given Throwable.
TriConsumer<T,U,V> - Interface in org.atlanmod.commons.function
Represents an operation that accepts three input arguments and returns no result.
type() - Method in interface org.atlanmod.commons.service.ServiceDefinition
Returns the service type.

U

unload() - Method in class org.atlanmod.commons.Lazy
Unloads the wrapped value.
unload() - Method in class org.atlanmod.commons.LazyBoolean
Unloads the wrapped value.
unload() - Method in class org.atlanmod.commons.LazyDouble
Unloads the wrapped value.
unload() - Method in class org.atlanmod.commons.LazyInt
Unloads the wrapped value.
unload() - Method in class org.atlanmod.commons.LazyLong
Unloads the wrapped value.
update(T) - Method in class org.atlanmod.commons.Lazy
Updates the wrapped value.
update(UnaryOperator<T>) - Method in class org.atlanmod.commons.Lazy
Updates the wrapped value with a UnaryOperator.
update(boolean) - Method in class org.atlanmod.commons.LazyBoolean
Updates the wrapped value.
update(double) - Method in class org.atlanmod.commons.LazyDouble
Updates the wrapped value.
update(DoubleUnaryOperator) - Method in class org.atlanmod.commons.LazyDouble
Updates the wrapped value with a DoubleUnaryOperator.
update(int) - Method in class org.atlanmod.commons.LazyInt
Updates the wrapped value.
update(IntUnaryOperator) - Method in class org.atlanmod.commons.LazyInt
Updates the wrapped value with a IntUnaryOperator.
update(long) - Method in class org.atlanmod.commons.LazyLong
Updates the wrapped value.
update(LongUnaryOperator) - Method in class org.atlanmod.commons.LazyLong
Updates the wrapped value with a LongUnaryOperator.
update(T) - Method in class org.atlanmod.commons.LazyReference
Updates the value.

V

valueOf(String) - Static method in enum org.atlanmod.commons.log.Level
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.atlanmod.commons.log.Level
Returns an array containing the constants of this enum type, in the order they are declared.
VisibleForReflection - Annotation Type in org.atlanmod.commons.annotation
Annotates a program element that exists, or is more widely visible than otherwise necessary, only for reflection usage.
VisibleForTesting - Annotation Type in org.atlanmod.commons.annotation
Annotates a program element that exists, or is more widely visible than otherwise necessary, only for use in test code.

W

warn(Object) - Static method in class org.atlanmod.commons.log.Log
Logs an object at the WARN level, using the root logger.
warn(CharSequence) - Static method in class org.atlanmod.commons.log.Log
Logs a message at the WARN level, using the root logger.
warn(CharSequence, Object...) - Static method in class org.atlanmod.commons.log.Log
Logs a message with parameters at the WARN level, using the root logger.
warn(Throwable) - Static method in class org.atlanmod.commons.log.Log
Logs the stack trace of the given Throwable at the WARN level, using the root logger.
warn(Throwable, CharSequence) - Static method in class org.atlanmod.commons.log.Log
Logs a message at the WARN level including the stack trace of the given Throwable, using the root logger.
warn(Throwable, CharSequence, Object...) - Static method in class org.atlanmod.commons.log.Log
Logs a message with parameters at the WARN level including the stack trace of the given Throwable, using the root logger.
warn(Object) - Method in interface org.atlanmod.commons.log.Logger
Logs an object at the WARN level.
warn(CharSequence) - Method in interface org.atlanmod.commons.log.Logger
Logs a message at the WARN level.
warn(CharSequence, Object...) - Method in interface org.atlanmod.commons.log.Logger
Logs a message with parameters at the WARN level.
warn(Throwable) - Method in interface org.atlanmod.commons.log.Logger
Logs the stack trace of the given Throwable at the WARN level.
warn(Throwable, CharSequence) - Method in interface org.atlanmod.commons.log.Logger
Logs a message at the WARN level including the stack trace of the given Throwable.
warn(Throwable, CharSequence, Object...) - Method in interface org.atlanmod.commons.log.Logger
Logs a message with parameters at the WARN level including the stack trace of the given Throwable.
weak(Supplier<T>) - Static method in class org.atlanmod.commons.LazyReference
Creates a new lazy reference that uses WeakReference.
weakKeys() - Method in interface org.atlanmod.commons.cache.CacheBuilder
Specifies that each key (not value) stored in the cache should be wrapped in a WeakReference (by default, strong references are used).
weakValues() - Method in interface org.atlanmod.commons.cache.CacheBuilder
Specifies that each value (not key) stored in the cache should be wrapped in a WeakReference (by default, strong references are used).
with(Supplier<T>) - Static method in class org.atlanmod.commons.Lazy
Creates a new lazy object with the Supplier to load the embed value.
with(BooleanSupplier) - Static method in class org.atlanmod.commons.LazyBoolean
Creates a new lazy boolean with the BooleanSupplier to load the embed value.
with(DoubleSupplier) - Static method in class org.atlanmod.commons.LazyDouble
Creates a new lazy double with the DoubleSupplier to load the embed value.
with(IntSupplier) - Static method in class org.atlanmod.commons.LazyInt
Creates a new lazy integer with the IntSupplier to load the embed value.
with(LongSupplier) - Static method in class org.atlanmod.commons.LazyLong
Creates a new lazy long with the LongSupplier to load the embed value.

X

xor(IntRange, IntRange) - Static method in interface org.atlanmod.commons.collect.IntRange
Creates a range that contains all values enclosed by one range, but not another.
xor(Range<C>, Range<C>) - Static method in interface org.atlanmod.commons.collect.Range
Creates a range that contains all values enclosed by one range, but not another.
XX - Static variable in class org.atlanmod.commons.hash.StandardHashers
A Hasher that uses the xxHash algorithm (64 bits).
A B C D E F G H I L M N O P R S T U V W X 
Skip navigation links

Copyright © 2017–2019 Atlanmod. All rights reserved.