- AbstractBinarySerializer<T> - Class in org.atlanmod.commons.io.serializer
-
- AbstractBinarySerializer() - Constructor for class org.atlanmod.commons.io.serializer.AbstractBinarySerializer
-
- AbstractStringSerializer<T> - Class in org.atlanmod.commons.io.serializer
-
- 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.
- 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.
- 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
-
- 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.
- 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
-
- LazyDouble - Class in org.atlanmod.commons
-
- LazyInt - Class in org.atlanmod.commons
-
- LazyLong - Class in org.atlanmod.commons
-
- 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.
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- Throwables - Class in org.atlanmod.commons
-
- 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
-
- 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
-
- 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
-
- 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.