A B C D E F G H I L M N O P R S T U V W X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractBinarySerializer<T> - Class in org.atlanmod.commons.io.serializer
-
An abstract
BinarySerializerfor objects of typeT. - AbstractBinarySerializer() - Constructor for class org.atlanmod.commons.io.serializer.AbstractBinarySerializer
- AbstractStringSerializer<T> - Class in org.atlanmod.commons.io.serializer
-
An abstract
StringSerializerfor objects of typeT. - 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(E) - Method in class org.atlanmod.commons.collect.SizedListIterator
- add(R) - Method in class org.atlanmod.commons.collect.DelegatedListIterator
- add(T...) - Method in class org.atlanmod.commons.collect.Tree
- add(T[], int, T) - Static method in class org.atlanmod.commons.collect.MoreArrays
-
Adds the specified
elementat the specifiedpositionin thearray. - addAll(byte[], byte...) - Static method in class org.atlanmod.commons.collect.MoreArrays
-
Adds all
array2at the end of thearray1. - addAll(T[], int, Collection<? extends T>) - Static method in class org.atlanmod.commons.collect.MoreArrays
-
Adds all
elementsat the end of thearray. - 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
TriConsumerthat performs, in sequence, this operation followed by theafteroperation. - andVariants(Object...) - Method in class org.atlanmod.testing.EqualsVerifier
-
Variants are used to create instances of
typethat are different from the reference instance. - append(T[], T) - Static method in class org.atlanmod.commons.collect.MoreArrays
-
Adds the specified
elementat the last position in thearray. - apply(T) - Method in interface org.atlanmod.commons.function.Converter
- apply(T, U) - Method in interface org.atlanmod.commons.function.BiConverter
- asList(byte...) - Static method in class org.atlanmod.commons.primitive.Bytes
- asMap() - Method in interface org.atlanmod.commons.cache.Cache
-
Returns a view of the entries stored in this cache as a thread-safe map.
- Assertions - Class in org.atlanmod.testing
- assertIsEqual(Object, Object) - Static method in class org.atlanmod.testing.EqualsVerifier
- assertIsEqualsToSelf(Object) - Static method in class org.atlanmod.testing.EqualsVerifier
- assertNotEqual(Object, Object) - Static method in class org.atlanmod.testing.EqualsVerifier
- assertNotEqualToNull(Object) - Static method in class org.atlanmod.testing.EqualsVerifier
- assertThat(boolean) - Static method in class org.atlanmod.testing.Assertions
- assertThat(int) - Static method in class org.atlanmod.testing.Assertions
- 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
StringSerializerusing a Base16 encoding scheme. - base64(BinarySerializer<T>) - Static method in class org.atlanmod.commons.io.serializer.StringSerializerFactory
-
Creates a new
StringSerializerusing 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
BiFunctionthat converts an object of typeTto another of typeR, by using an object of typeU. - BinarySerializer<T> - Interface in org.atlanmod.commons.io.serializer
-
An object that is responsible of
Objecttobyte[]encoding and decoding. - BinarySerializerFactory - Class in org.atlanmod.commons.io.serializer
-
A factory that creates
BinarySerializerinstances. - 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.
- BooleanPredicate - Class in org.atlanmod.commons.predicate
- BooleanPredicate(PredicateContext, boolean) - Constructor for class org.atlanmod.commons.predicate.BooleanPredicate
- Booleans - Class in org.atlanmod.commons.primitive
-
Static utility methods related to
booleanandBoolean. - build() - Method in interface org.atlanmod.commons.cache.CacheBuilder
-
Builds a
Cachewhich does not automatically load values when keys are requested. - build(Function<? super K1, ? extends V1>) - Method in interface org.atlanmod.commons.cache.CacheBuilder
- builder() - Static method in interface org.atlanmod.commons.cache.CacheBuilder
-
Creates a new
CacheBuilderwith default settings, including strong keys, strong values, and no automatic eviction of any kind. - Builder - Annotation Type in org.atlanmod.commons.annotation
-
Annotates a type that uses a "builder" aspect to create a new instances.
- Bytes - Class in org.atlanmod.commons.primitive
-
Static utility methods related to
bytearrays.
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
Cacheinstances. - 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
charandCharacter. - check() - Method in class org.atlanmod.testing.EqualsVerifier
-
Verifies the implementation of method
equals(). - checkArgument(boolean) - Static method in class org.atlanmod.commons.Guards
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean) - Static method in class org.atlanmod.commons.Preconditions
-
Deprecated.As of release 1.1, replaced by
Guards.checkArgument(boolean) - checkArgument(boolean, String) - Static method in class org.atlanmod.commons.Guards
-
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
-
Deprecated.As of release 1.1, replaced by
Guards.checkArgument(boolean, String) - checkArgument(boolean, String, Object...) - Static method in class org.atlanmod.commons.Guards
-
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
-
Deprecated.As of release 1.1, replaced by
Guards.checkArgument(boolean, String, Object...) - checkElementIndex(int, int) - Static method in class org.atlanmod.commons.Guards
-
Ensures that
indexspecifies a valid element in an array, list or string ofsize. - checkElementIndex(int, int) - Static method in class org.atlanmod.commons.Preconditions
-
Deprecated.As of release 1.1, replaced by
Guards.checkElementIndex(int, int) - checkEqualTo(T, T) - Static method in class org.atlanmod.commons.Guards
-
Ensures that a
valuepassed as a parameter to the calling method is equal toother. - checkEqualTo(T, T) - Static method in class org.atlanmod.commons.Preconditions
-
Deprecated.As of release 1.1, replaced by
Guards.checkEqualTo(Object, Object) - checkEqualTo(T, T, String) - Static method in class org.atlanmod.commons.Guards
-
Ensures that a
valuepassed as a parameter to the calling method is equal toother. - checkEqualTo(T, T, String) - Static method in class org.atlanmod.commons.Preconditions
-
Deprecated.As of release 1.1, replaced by
Guards.checkEqualTo(Object, Object, String) - checkEqualTo(T, T, String, Object...) - Static method in class org.atlanmod.commons.Guards
-
Ensures that a
valuepassed as a parameter to the calling method is equal toother. - checkEqualTo(T, T, String, Object...) - Static method in class org.atlanmod.commons.Preconditions
-
Deprecated.As of release 1.1, replaced by
Guards.checkEqualTo(Object, Object, String, Object...) - checkGreaterThan(C, C) - Static method in class org.atlanmod.commons.Guards
-
Ensures that a
valuepassed as a parameter to the calling method is strictly greater thanlowerBoundExclusive. - checkGreaterThan(C, C) - Static method in class org.atlanmod.commons.Preconditions
-
Deprecated.As of release 1.1, replaced by
Guards.checkGreaterThan(Comparable, Comparable) - checkGreaterThan(C, C, String) - Static method in class org.atlanmod.commons.Guards
-
Ensures that a
valuepassed as a parameter to the calling method is strictly greater thanlowerBoundExclusive. - checkGreaterThan(C, C, String) - Static method in class org.atlanmod.commons.Preconditions
-
Deprecated.As of release 1.1, replaced by
Guards.checkGreaterThan(Comparable, Comparable, String) - checkGreaterThan(C, C, String, Object...) - Static method in class org.atlanmod.commons.Guards
-
Ensures that a
valuepassed as a parameter to the calling method is strictly greater thanlowerBoundExclusive. - checkGreaterThan(C, C, String, Object...) - Static method in class org.atlanmod.commons.Preconditions
-
Deprecated.As of release 1.1, replaced by
Guards.checkGreaterThan(Comparable, Comparable, String) - checkGreaterThanOrEqualTo(C, C) - Static method in class org.atlanmod.commons.Guards
-
Ensures that a
valuepassed as a parameter to the calling method is greater than or equal tolowerBoundInclusive. - checkGreaterThanOrEqualTo(C, C) - Static method in class org.atlanmod.commons.Preconditions
-
Deprecated.As of release 1.1, replaced by
Guards.checkGreaterThanOrEqualTo(Comparable, Comparable) - checkGreaterThanOrEqualTo(C, C, String) - Static method in class org.atlanmod.commons.Guards
-
Ensures that a
valuepassed as a parameter to the calling method is greater than or equal tolowerBoundInclusive. - checkGreaterThanOrEqualTo(C, C, String) - Static method in class org.atlanmod.commons.Preconditions
-
Deprecated.As of release 1.1, replaced by
Guards.checkGreaterThanOrEqualTo(Comparable, Comparable, String) - checkGreaterThanOrEqualTo(C, C, String, Object...) - Static method in class org.atlanmod.commons.Guards
-
Ensures that a
valuepassed as a parameter to the calling method is greater than or equal tolowerBoundInclusive. - checkGreaterThanOrEqualTo(C, C, String, Object...) - Static method in class org.atlanmod.commons.Preconditions
-
Deprecated.As of release 1.1, replaced by
Guards.checkGreaterThanOrEqualTo(Comparable, Comparable, String, Object...) - checkInstanceOf(T, Class<?>) - Static method in class org.atlanmod.commons.Guards
-
Ensures that an object
referencepassed as a parameter to the calling method is instance oftype. - checkInstanceOf(T, Class<?>) - Static method in class org.atlanmod.commons.Preconditions
-
Deprecated.As of release 1.1, replaced by
Guards.checkInstanceOf(Object, Class) - checkInstanceOf(T, Class<?>, String) - Static method in class org.atlanmod.commons.Guards
-
Ensures that an object
referencepassed as a parameter to the calling method is instance oftype. - checkInstanceOf(T, Class<?>, String) - Static method in class org.atlanmod.commons.Preconditions
-
Deprecated.As of release 1.1, replaced by
Guards.checkInstanceOf(Object, Class, String) - checkInstanceOf(T, Class<?>, String, Object...) - Static method in class org.atlanmod.commons.Guards
-
Ensures that an object
referencepassed as a parameter to the calling method is instance oftype. - checkInstanceOf(T, Class<?>, String, Object...) - Static method in class org.atlanmod.commons.Preconditions
-
Deprecated.As of release 1.1, replaced by
Guards.checkInstanceOf(Object, Class, String, Object...) - checkLessThan(C, C) - Static method in class org.atlanmod.commons.Guards
-
Ensures that a
valuepassed as a parameter to the calling method is strictly less thanupperBoundExclusive. - checkLessThan(C, C) - Static method in class org.atlanmod.commons.Preconditions
-
Deprecated.As of release 1.1, replaced by
Guards.checkLessThan(Comparable, Comparable) - checkLessThan(C, C, String) - Static method in class org.atlanmod.commons.Guards
-
Ensures that a
valuepassed as a parameter to the calling method is strictly less thanupperBoundExclusive. - checkLessThan(C, C, String) - Static method in class org.atlanmod.commons.Preconditions
-
Deprecated.As of release 1.1, replaced by
Guards.checkLessThan(Comparable, Comparable, String) - checkLessThan(C, C, String, Object...) - Static method in class org.atlanmod.commons.Guards
-
Ensures that a
valuepassed as a parameter to the calling method is strictly less thanupperBoundExclusive. - checkLessThan(C, C, String, Object...) - Static method in class org.atlanmod.commons.Preconditions
-
Deprecated.As of release 1.1, replaced by
Guards.checkLessThan(Comparable, Comparable, String, Object...) - checkLessThanOrEqualTo(C, C) - Static method in class org.atlanmod.commons.Guards
-
Ensures that a
valuepassed as a parameter to the calling method is less than or equal toupperBoundInclusive. - checkLessThanOrEqualTo(C, C) - Static method in class org.atlanmod.commons.Preconditions
-
Deprecated.As of release 1.1, replaced by
Guards.checkLessThanOrEqualTo(Comparable, Comparable) - checkLessThanOrEqualTo(C, C, String) - Static method in class org.atlanmod.commons.Guards
-
Ensures that a
valuepassed as a parameter to the calling method is less than or equal toupperBoundInclusive. - checkLessThanOrEqualTo(C, C, String) - Static method in class org.atlanmod.commons.Preconditions
-
Deprecated.As of release 1.1, replaced by
Guards.checkLessThanOrEqualTo(Comparable, Comparable) - checkLessThanOrEqualTo(C, C, String, Object...) - Static method in class org.atlanmod.commons.Guards
-
Ensures that a
valuepassed as a parameter to the calling method is less than or equal toupperBoundInclusive. - checkLessThanOrEqualTo(C, C, String, Object...) - Static method in class org.atlanmod.commons.Preconditions
-
Deprecated.As of release 1.1, replaced by
Guards.checkLessThanOrEqualTo(Comparable, Comparable, String, Object...) - checkNotContainsNull(C) - Static method in class org.atlanmod.commons.Guards
-
Ensures that a
collectionpassed as a parameter to the calling method is notnulland does not contains anynullelement. - checkNotContainsNull(C) - Static method in class org.atlanmod.commons.Preconditions
-
Deprecated.As of release 1.1, replaced by
Guards.checkNotContainsNull(Collection) - checkNotContainsNull(C, String) - Static method in class org.atlanmod.commons.Guards
-
Ensures that a
collectionpassed as a parameter to the calling method is notnulland does not contains anynullelement. - checkNotContainsNull(C, String) - Static method in class org.atlanmod.commons.Preconditions
-
Deprecated.As of release 1.1, replaced by
Guards.checkNotContainsNull(Collection, String) - checkNotContainsNull(C, String, Object...) - Static method in class org.atlanmod.commons.Guards
-
Ensures that a
collectionpassed as a parameter to the calling method is notnulland does not contains anynullelement. - checkNotContainsNull(C, String, Object...) - Static method in class org.atlanmod.commons.Preconditions
-
Deprecated.As of release 1.1, replaced by
Guards.checkNotContainsNull(Collection, String, Object...) - checkNotNull(T) - Static method in class org.atlanmod.commons.Guards
-
Ensures that an object
referencepassed as a parameter to the calling method is notnull. - checkNotNull(T) - Static method in class org.atlanmod.commons.Preconditions
-
Deprecated.As of release 1.1, replaced by
Guards.checkNotNull(Object) - checkNotNull(T, String) - Static method in class org.atlanmod.commons.Guards
-
Ensures that an object
referencepassed as a parameter to the calling method is notnull. - checkNotNull(T, String) - Static method in class org.atlanmod.commons.Preconditions
-
Deprecated.As of release 1.1, replaced by
Guards.checkNotNull(Object, String) - checkNotNull(T, String, Object...) - Static method in class org.atlanmod.commons.Guards
-
Ensures that an object
referencepassed as a parameter to the calling method is notnull. - checkNotNull(T, String, Object...) - Static method in class org.atlanmod.commons.Preconditions
-
Deprecated.As of release 1.1, replaced by
Guards.checkNotNull(Object, String, Object...) - checkPositionIndex(int, int) - Static method in class org.atlanmod.commons.Guards
-
Ensures that
indexspecifies a valid position in an array, list or string ofsize. - checkPositionIndex(int, int) - Static method in class org.atlanmod.commons.Preconditions
-
Deprecated.As of release 1.1, replaced by
Guards.checkPositionIndex(int, int) - checkState(boolean) - Static method in class org.atlanmod.commons.Guards
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean) - Static method in class org.atlanmod.commons.Preconditions
-
Deprecated.As of release 1.1, replaced by
Guards.checkState(boolean) - checkState(boolean, String) - Static method in class org.atlanmod.commons.Guards
-
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
-
Deprecated.As of release 1.1, replaced by
Guards.checkState(boolean, String) - checkState(boolean, String, Object...) - Static method in class org.atlanmod.commons.Guards
-
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
-
Deprecated.As of release 1.1, replaced by
Guards.checkState(boolean, String, Object...) - CITY - Static variable in class org.atlanmod.commons.hash.StandardHashers
-
A
Hasherthat uses theCityHashalgorithm (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
Iteratorthat 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
ListIteratorthat 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
lowerand less than or equal toupper. - closed(C, C) - Static method in interface org.atlanmod.commons.collect.Range
-
Creates a range that contains all values greater than or equal to
lowerand less than or equal toupper. - closedOpen(int, int) - Static method in interface org.atlanmod.commons.collect.IntRange
-
Creates a range that contains all values greater than or equal to
lowerand strictly less thanupper. - closedOpen(C, C) - Static method in interface org.atlanmod.commons.collect.Range
-
Creates a range that contains all values greater than or equal to
lowerand strictly less thanupper. - compareTo(MutableInteger) - Method in class org.atlanmod.commons.mutable.MutableInteger
- compose(Converter<T, U>, Converter<U, R>) - Static method in interface org.atlanmod.commons.function.Converter
-
Returns a composed converter that first applies the
beforefunction to its input, and then applies theafterfunction to the result. - contains(int) - Method in interface org.atlanmod.commons.collect.IntRange
-
Returns
trueifvalueis within the bounds of this range. - contains(C) - Method in interface org.atlanmod.commons.collect.Range
-
Returns
trueifvalueis within the bounds of this range. - contains(String) - Method in class org.atlanmod.commons.predicate.StringPredicate
- contains(K) - Method in interface org.atlanmod.commons.cache.Cache
-
Returns
trueif this map contains a mapping for the specifiedkey. - contains(T[], T) - Static method in class org.atlanmod.commons.collect.MoreArrays
-
Checks if the
valueis in the givenarray. - containsAll(Iterable<? extends C>) - Method in interface org.atlanmod.commons.collect.Range
-
Returns
trueif every element in values is contained in this range. - containsAll(Iterable<Integer>) - Method in interface org.atlanmod.commons.collect.IntRange
-
Returns
trueif every element in values is contained in this range. - convert(T) - Method in interface org.atlanmod.commons.function.Converter
-
Returns a representation of
tas an instance of typeR. - convert(T) - Method in interface org.atlanmod.commons.io.serializer.Serializer
-
Returns a representation of
tas an instance of typeR. - convert(T, U) - Method in interface org.atlanmod.commons.function.BiConverter
-
Returns a representation of
tas an instance of typeR, by using an object of typeU. - Converter<T,R> - Interface in org.atlanmod.commons.function
- 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
BiConsumerable 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
sourceto thetarget. - 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(CharSequence) - Static method in class org.atlanmod.commons.log.Log
-
Logs a message at the
DEBUGlevel, using the root logger. - debug(CharSequence) - Method in interface org.atlanmod.commons.log.Logger
-
Logs a message at the
DEBUGlevel. - debug(CharSequence, Object...) - Static method in class org.atlanmod.commons.log.Log
-
Logs a message with parameters at the
DEBUGlevel, using the root logger. - debug(CharSequence, Object...) - Method in interface org.atlanmod.commons.log.Logger
-
Logs a message with parameters at the
DEBUGlevel. - debug(Object) - Static method in class org.atlanmod.commons.log.Log
-
Logs an object at the
DEBUGlevel, using the root logger. - debug(Object) - Method in interface org.atlanmod.commons.log.Logger
-
Logs an object at the
DEBUGlevel. - debug(Throwable) - Static method in class org.atlanmod.commons.log.Log
- debug(Throwable) - Method in interface org.atlanmod.commons.log.Logger
- debug(Throwable, CharSequence) - Static method in class org.atlanmod.commons.log.Log
- debug(Throwable, CharSequence) - Method in interface org.atlanmod.commons.log.Logger
- debug(Throwable, CharSequence, Object...) - Static method in class org.atlanmod.commons.log.Log
- debug(Throwable, CharSequence, Object...) - Method in interface org.atlanmod.commons.log.Logger
- DEBUG - org.atlanmod.commons.log.Level
-
A general debugging event.
- decode(String) - Method in class org.atlanmod.commons.io.serializer.AbstractStringSerializer
-
Decodes a
Stringinto its binary representation. - decrement() - Method in class org.atlanmod.commons.mutable.MutableInteger
-
Decrements by 1 the stored value
- decrementAndGet() - Method in class org.atlanmod.commons.mutable.MutableInteger
-
Decrements by 1 the stored value and gets the new value
- DelegatedIterator<T,R> - Class in org.atlanmod.commons.collect
-
An
Iteratorthat 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
ListIteratorthat 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(DataInput) - Method in interface org.atlanmod.commons.io.serializer.BinarySerializer
-
Reads and assembles an object of type
Tfrom the givenin. - deserialize(InputStream) - Method in class org.atlanmod.commons.io.serializer.AbstractBinarySerializer
- deserialize(InputStream) - Method in interface org.atlanmod.commons.io.serializer.BinarySerializer
-
Reads and assembles an object of type
Tfrom the givenis. - deserialize(String) - Method in class org.atlanmod.commons.io.serializer.AbstractStringSerializer
- deserialize(U) - Method in interface org.atlanmod.commons.io.serializer.Serializer
-
Reads and assembles an object of type
Tfrom the givendata. - Doubles - Class in org.atlanmod.commons.primitive
-
Static utility methods related to
doubleandDouble. - doubleValue() - Method in class org.atlanmod.commons.mutable.MutableInteger
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
Cachethat 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;
nullotherwise. - encode(byte[]) - Method in class org.atlanmod.commons.io.serializer.AbstractStringSerializer
-
Encodes a
bytearray into its literal representation. - equals(Object) - Method in class org.atlanmod.commons.cache.CacheStats
- equals(Object) - Method in class org.atlanmod.commons.collect.Path
- equals(Object) - Method in class org.atlanmod.commons.mutable.MutableInteger
- equals(Object) - Method in class org.atlanmod.commons.tuple.Pair
- EqualsVerifier<T> - Class in org.atlanmod.testing
-
Verifies that the
equals()method of a class was correctly implemented, checking that: - An object is not equal tonull- An object is equal to self - An object is equal to another similar object (created with the same arguments) - An object is not equal to objects created with different arguments - error(CharSequence) - Static method in class org.atlanmod.commons.log.Log
-
Logs a message at the
ERRORlevel, using the root logger. - error(CharSequence) - Method in interface org.atlanmod.commons.log.Logger
-
Logs a message at the
ERRORlevel. - error(CharSequence, Object...) - Static method in class org.atlanmod.commons.log.Log
-
Logs a message with parameters at the
ERRORlevel, using the root logger. - error(CharSequence, Object...) - Method in interface org.atlanmod.commons.log.Logger
-
Logs a message with parameters at the
ERRORlevel. - error(Object) - Static method in class org.atlanmod.commons.log.Log
-
Logs an object at the
ERRORlevel, using the root logger. - error(Object) - Method in interface org.atlanmod.commons.log.Logger
-
Logs an object at the
ERRORlevel. - error(Throwable) - Static method in class org.atlanmod.commons.log.Log
- error(Throwable) - Method in interface org.atlanmod.commons.log.Logger
- error(Throwable, CharSequence) - Static method in class org.atlanmod.commons.log.Log
- error(Throwable, CharSequence) - Method in interface org.atlanmod.commons.log.Logger
- error(Throwable, CharSequence, Object...) - Static method in class org.atlanmod.commons.log.Log
- error(Throwable, CharSequence, Object...) - Method in interface org.atlanmod.commons.log.Logger
- ERROR - org.atlanmod.commons.log.Level
-
An error in the application, possibly recoverable.
- 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
taskwhen the application will exit.
F
- FARM_NA - Static variable in class org.atlanmod.commons.hash.StandardHashers
-
A
Hasherthat uses theFarmHash NAalgorithm (64 bits). - FARM_UO - Static variable in class org.atlanmod.commons.hash.StandardHashers
-
A
Hasherthat uses theFarmHash UOalgorithm (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.
- findConstructor(Class, Class[]) - Static method in class org.atlanmod.commons.reflect.MoreReflection
-
Returns the constructor for creating a new instance of
type, whose parameters are assignable with theargumentTypes. - findFactoryMethod(Class, Class[]) - Static method in class org.atlanmod.commons.reflect.MoreReflection
-
Returns the static factory method for creating instances of
type, whose parameters are assignable with theargumentTypes. - 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
floatandFloat. - floatValue() - Method in class org.atlanmod.commons.mutable.MutableInteger
- forAny() - Method in class org.atlanmod.commons.io.serializer.BinarySerializerFactory
-
Gets the
BinarySerializerfor anyObject. - forName(String) - Static method in class org.atlanmod.commons.hash.StandardHashers
-
Returns a
Hasherwith the specifiedname. - forName(String) - Static method in class org.atlanmod.commons.log.Log
-
Returns a
Loggerwith 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() - 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 class org.atlanmod.commons.mutable.MutableInteger
-
Gets the value of the stored int
- get() - Method in interface org.atlanmod.commons.service.ServiceDefinition
-
Returns an instance of the service.
- get(K) - Method in interface org.atlanmod.commons.cache.Cache
-
Returns the value associated with the
keyin this cache, ornullif there is no cached value for thekey. - get(K, Function<? super K, ? extends V>) - Method in interface org.atlanmod.commons.cache.Cache
-
Returns the value associated with the
keyin this cache, obtaining that value from themappingFunctionif necessary. - get(Path<K>) - Method in class org.atlanmod.commons.collect.TreeMap
- getAll(Iterable<? extends K>) - Method in interface org.atlanmod.commons.cache.Cache
-
Returns a map of the values associated with the
keysin this cache. - getAllInterfaces(Class<?>) - Static method in class org.atlanmod.commons.reflect.MoreReflection
-
Retrieves all interfaces implemented by the given class and its superclasses.
- getAndDecrement() - Method in class org.atlanmod.commons.mutable.MutableInteger
-
Decrements by 1 the stored value and gets the previous stored value
- getAndIncrement() - Method in class org.atlanmod.commons.mutable.MutableInteger
-
Increments by 1 the stored value and gets the previous stored value
- 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.
- getInstantiator(Class<T>, Class[]) - Static method in class org.atlanmod.commons.reflect.MoreReflection
-
Returns a
Functionthat creates new instances oftype, using as arguments instances ofargumentTypes, i.e., using a constructor or factory method whose signature matchesargumentTypes. - getServices(Class<S>) - Method in class org.atlanmod.commons.service.OSGiContext
- getServices(Class<S>) - Method in class org.atlanmod.commons.service.ServiceLoaderContext
- getServices(Class<T>) - Method in interface org.atlanmod.commons.service.ServiceContext
-
Retrieves all registered services of the specified
type. - getServices(Class<T>, String) - Method in class org.atlanmod.commons.service.OSGiContext
-
Retrieves all registered services of the specified
type. - getValue() - Method in interface org.atlanmod.commons.mutable.Mutable
-
Gets the value of this mutable.
- getValue() - Method in class org.atlanmod.commons.mutable.MutableInteger
- 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. - Guards - 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).
H
- hash(boolean) - Method in interface org.atlanmod.commons.hash.Hasher
-
Calculates the
HashCodeof the givendata. - hash(byte) - Method in interface org.atlanmod.commons.hash.Hasher
-
Calculates the
HashCodeof the givendata. - hash(byte[]) - Method in interface org.atlanmod.commons.hash.Hasher
-
Calculates the
HashCodeof the givenbytearray. - hash(char) - Method in interface org.atlanmod.commons.hash.Hasher
-
Calculates the
HashCodeof the givendata. - hash(double) - Method in interface org.atlanmod.commons.hash.Hasher
-
Calculates the
HashCodeof the givendata. - hash(float) - Method in interface org.atlanmod.commons.hash.Hasher
-
Calculates the
HashCodeof the givendata. - hash(int) - Method in interface org.atlanmod.commons.hash.Hasher
-
Calculates the
HashCodeof the givendata. - hash(long) - Method in interface org.atlanmod.commons.hash.Hasher
-
Calculates the
HashCodeof the givendata. - hash(short) - Method in interface org.atlanmod.commons.hash.Hasher
-
Calculates the
HashCodeof the givendata. - hash(String) - Method in interface org.atlanmod.commons.hash.Hasher
-
Calculates the
HashCodeof the givendata. - hashCode() - Method in class org.atlanmod.commons.cache.CacheStats
- hashCode() - Method in class org.atlanmod.commons.collect.Path
- hashCode() - Method in class org.atlanmod.commons.mutable.MutableInteger
- hashCode() - Method in class org.atlanmod.commons.tuple.Pair
- 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
HashCodefrom 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
- head() - Method in class org.atlanmod.commons.collect.Path
-
Returns the head, i.e., the first element (0) of the path
- hitCount() - Method in class org.atlanmod.commons.cache.CacheStats
-
Returns the number of times
Cachelookup 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
consumerwith the value, otherwise do nothing. - ifLoaded(DoubleConsumer) - Method in class org.atlanmod.commons.LazyDouble
-
If a value is loaded, invoke the specified
consumerwith the value, otherwise do nothing. - ifLoaded(IntConsumer) - Method in class org.atlanmod.commons.LazyInt
-
If a value is loaded, invoke the specified
consumerwith the value, otherwise do nothing. - ifLoaded(LongConsumer) - Method in class org.atlanmod.commons.LazyLong
-
If a value is loaded, invoke the specified
consumerwith the value, otherwise do nothing. - increment() - Method in class org.atlanmod.commons.mutable.MutableInteger
-
Increments by 1 the stored value
- incrementAndGet() - Method in class org.atlanmod.commons.mutable.MutableInteger
-
Increments by 1 the stored value and gets the new value
- indexOf(Stream<?>, Object) - Static method in class org.atlanmod.commons.collect.MoreStreams
-
Finds the index of the given
valuein thestream. - indexOf(T[], T) - Static method in class org.atlanmod.commons.collect.MoreArrays
-
Finds the index of the given
valuein thearray. - info(CharSequence) - Static method in class org.atlanmod.commons.log.Log
-
Logs a message at the
INFOlevel, using the root logger. - info(CharSequence) - Method in interface org.atlanmod.commons.log.Logger
-
Logs a message at the
INFOlevel. - info(CharSequence, Object...) - Static method in class org.atlanmod.commons.log.Log
-
Logs a message with parameters at the
INFOlevel, using the root logger. - info(CharSequence, Object...) - Method in interface org.atlanmod.commons.log.Logger
-
Logs a message with parameters at the
INFOlevel. - info(Object) - Static method in class org.atlanmod.commons.log.Log
-
Logs an object at the
INFOlevel, using the root logger. - info(Object) - Method in interface org.atlanmod.commons.log.Logger
-
Logs an object at the
INFOlevel. - info(Throwable) - Static method in class org.atlanmod.commons.log.Log
- info(Throwable) - Method in interface org.atlanmod.commons.log.Logger
- info(Throwable, CharSequence) - Static method in class org.atlanmod.commons.log.Log
- info(Throwable, CharSequence) - Method in interface org.atlanmod.commons.log.Logger
- info(Throwable, CharSequence, Object...) - Static method in class org.atlanmod.commons.log.Log
- info(Throwable, CharSequence, Object...) - Method in interface org.atlanmod.commons.log.Logger
- INFO - org.atlanmod.commons.log.Level
-
An event for informational purposes.
- initialCapacity(int) - Method in interface org.atlanmod.commons.cache.CacheBuilder
-
Sets the minimum total size for the internal data structures.
- IntPredicate - Class in org.atlanmod.commons.predicate
- IntPredicate(PredicateContext, int) - Constructor for class org.atlanmod.commons.predicate.IntPredicate
- 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
intandInteger. - intValue() - Method in class org.atlanmod.commons.mutable.MutableInteger
- invalidate(K) - Method in interface org.atlanmod.commons.cache.Cache
-
Discards any cached value for the
key. - invalidateAll() - Method in interface org.atlanmod.commons.cache.Cache
-
Discards all entries in the cache.
- invalidateAll(Iterable<? extends K>) - Method in interface org.atlanmod.commons.cache.Cache
-
Discards any cached values for the
keys. - isAssignable(Class<?>, Class<?>) - Static method in class org.atlanmod.commons.reflect.MoreReflection
-
Checks whether a left operand type can be assigned from the right operand type If the operand is a primitive type, first converts it to its wrapper class.
- isBetween(int, int) - Method in class org.atlanmod.commons.predicate.IntPredicate
- isBinary(String) - Static method in class org.atlanmod.commons.primitive.Strings
-
Returns
trueif thevaluerepresents an hexadecimal value. - isBoxed(Class<?>) - Static method in class org.atlanmod.commons.primitive.Primitives
-
Returns
trueif thetypeis a boxed Java primitive type. - isDifferentFrom(int) - Method in class org.atlanmod.commons.predicate.IntPredicate
- isDifferentFrom(T) - Method in class org.atlanmod.commons.predicate.ObjectPredicate
- isEmpty() - Method in class org.atlanmod.commons.collect.Tree
-
Returns
trueif this tree contains no elements,falseotherwise - isEmpty(Iterable<?>) - Static method in class org.atlanmod.commons.collect.MoreIterables
-
Determines if the given
iterablecontains no element. - isEmpty(Iterator<?>) - Static method in class org.atlanmod.commons.collect.MoreIterators
-
Determines if the given
iteratorcontains no element. - isEqualTo(int) - Method in class org.atlanmod.commons.predicate.IntPredicate
- isEqualTo(T) - Method in class org.atlanmod.commons.predicate.ObjectPredicate
- isFalse() - Method in class org.atlanmod.commons.predicate.BooleanPredicate
- isGreaterThan(int) - Method in class org.atlanmod.commons.predicate.IntPredicate
- isGreaterThanOrEqualTo(int) - Method in class org.atlanmod.commons.predicate.IntPredicate
- isLessThan(int) - Method in class org.atlanmod.commons.predicate.IntPredicate
- isLessThanOrEqualTo(int) - Method in class org.atlanmod.commons.predicate.IntPredicate
- isLoaded() - Method in class org.atlanmod.commons.Lazy
-
Returns
trueif the value has been loaded. - isLoaded() - Method in class org.atlanmod.commons.LazyBoolean
-
Returns
trueif the value has been loaded. - isLoaded() - Method in class org.atlanmod.commons.LazyDouble
-
Returns
trueif the value has been loaded. - isLoaded() - Method in class org.atlanmod.commons.LazyInt
-
Returns
trueif the value has been loaded. - isLoaded() - Method in class org.atlanmod.commons.LazyLong
-
Returns
trueif the value has been loaded. - isNotNull() - Method in class org.atlanmod.commons.predicate.ObjectPredicate
- isNull() - Method in class org.atlanmod.commons.predicate.ObjectPredicate
- isNullOrEmpty(String) - Static method in class org.atlanmod.commons.primitive.Strings
-
Returns
trueif the given string is null or is the empty string. - isPrimitive(Class<?>) - Static method in class org.atlanmod.commons.primitive.Primitives
-
Returns
trueif thetypeis a Java primitive type. - isPrimitiveOrString(Class<?>) - Static method in class org.atlanmod.commons.primitive.Primitives
-
Returns
trueif thetypeis considered as a Java primitive type, or its boxed equivalent, or aStringtype. - isRunning() - Method in class org.atlanmod.commons.time.Stopwatch
-
Checks whether this stopwatch is currently running.
- isTrue() - Method in class org.atlanmod.commons.predicate.BooleanPredicate
- isZero() - Method in class org.atlanmod.commons.predicate.IntPredicate
- iterator() - Method in class org.atlanmod.commons.collect.Tree
-
Returns a breadth-first iterator over the elements in this tree
L
- last() - Method in class org.atlanmod.commons.collect.Path
-
Returns the last element (length -1) of the path
- lastIndexOf(Stream<?>, Object) - Static method in class org.atlanmod.commons.collect.MoreStreams
-
Finds the last index of the given
valuein thestream. - lastIndexOf(T[], T) - Static method in class org.atlanmod.commons.collect.MoreArrays
-
Finds the last index of the given
valuein thearray. - Lazy<T> - Class in org.atlanmod.commons
-
An object that automatically loads an object of type
Tby using aSupplierduring the first call toLazy.get(). - LazyBoolean - Class in org.atlanmod.commons
-
An object that automatically loads a
booleanby using aBooleanSupplierduring the first call toLazyBoolean.getAsBoolean(). - LazyDouble - Class in org.atlanmod.commons
-
An object that automatically loads a
doubleby using aDoubleSupplierduring the first call toLazyDouble.getAsDouble(). - LazyInt - Class in org.atlanmod.commons
-
An object that automatically loads an
integerby using aIntSupplierduring the first call toLazyInt.getAsInt(). - LazyLong - Class in org.atlanmod.commons
-
An object that automatically loads a
longby using aLongSupplierduring the first call toLazyLong.getAsLong(). - LazyReference<T> - Class in org.atlanmod.commons
-
An object that automatically loads an object of type
Tby using aSupplier. - LazyReference(Supplier<T>) - Constructor for class org.atlanmod.commons.LazyReference
-
Constructs a new
LazyReference. - leaves() - Method in class org.atlanmod.commons.collect.Tree
-
Returns a
Listcontaining the values (contents) of all leaf nodes of this tree - left - Variable in class org.atlanmod.commons.tuple.Pair
- 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
Cachelookup methods attempted to load new values. - loadFailureCount() - Method in class org.atlanmod.commons.cache.CacheStats
-
Returns the number of times
Cachelookup 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
Cachelookup methods have successfully loaded a new value. - 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) - Method in interface org.atlanmod.commons.log.Logger
-
Logs a message at the given
level. - 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, CharSequence, Object...) - Method in interface org.atlanmod.commons.log.Logger
-
Logs a message with parameters at the given
level. - 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, Object) - Method in interface org.atlanmod.commons.log.Logger
-
Logs an object at the given
level. - log(Level, Throwable) - Static method in class org.atlanmod.commons.log.Log
-
Logs the stack trace of the given
Throwableat the givenlevel, using the root logger. - log(Level, Throwable) - Method in interface org.atlanmod.commons.log.Logger
-
Logs the stack trace of the given
Throwableat the givenlevel. - log(Level, Throwable, CharSequence) - Static method in class org.atlanmod.commons.log.Log
-
Logs a message at the given
levelincluding the stack trace of the givenThrowable, using the root logger. - log(Level, Throwable, CharSequence) - Method in interface org.atlanmod.commons.log.Logger
-
Logs a message at the given
levelincluding the stack trace of the givenThrowable. - log(Level, Throwable, CharSequence, Object...) - Static method in class org.atlanmod.commons.log.Log
-
Logs a message with parameters at the given
levelincluding the stack trace of the givenThrowable, using the root logger. - log(Level, Throwable, CharSequence, Object...) - Method in interface org.atlanmod.commons.log.Logger
-
Logs a message with parameters at the given
levelincluding the stack trace of the givenThrowable. - Log - Class in org.atlanmod.commons.log
-
The factory that creates
Loggerinstances. - 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
longandLong. - longValue() - Method in class org.atlanmod.commons.mutable.MutableInteger
- LR - Static variable in class org.atlanmod.commons.primitive.Strings
-
A string for a line separator character, dependencing on the system.
M
- matches(Executable, Class[]) - Static method in class org.atlanmod.commons.reflect.MoreReflection
-
Checks whether an
Executable(ConstructororMethod) is compatible with theargumentTypes, i.e., whether all parameters types are assignable from all types ofargumentTypes, respectively. - 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
Hasherthat uses theMD5algorithm (128 bits). - minus(CacheStats) - Method in class org.atlanmod.commons.cache.CacheStats
-
Returns a new
CacheStatsrepresenting the difference between thisCacheStatsandother. - missCount() - Method in class org.atlanmod.commons.cache.CacheStats
-
Returns the number of times
Cachelookup 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
Executorinstances. - 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
Iterableinstances. - MoreIterators - Class in org.atlanmod.commons.collect
-
Static utility methods related to
Iteratorinstances. - 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
Streaminstances. - MoreThreads - Class in org.atlanmod.commons.concurrent
-
Static utility methods related to
Threadinstances. - MURMUR3 - Static variable in class org.atlanmod.commons.hash.StandardHashers
-
A
Hasherthat uses theMurmurHash3 64-bitalgorithm (64 bits). - Mutable<T> - Interface in org.atlanmod.commons.mutable
-
Provides mutable access to a store value.
- MutableInteger - Class in org.atlanmod.commons.mutable
-
A mutable int wrapper.
- MutableInteger() - Constructor for class org.atlanmod.commons.mutable.MutableInteger
-
Constructs a new MutableInteger
- MutableInteger(int) - Constructor for class org.atlanmod.commons.mutable.MutableInteger
-
Constructs a new MutableInteger and stores the specified value.
N
- nameWithoutExtension(File) - Static method in class org.atlanmod.commons.io.MoreFiles
-
Returns the
filename 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
typeandlength. - newDirectPool() - Static method in class org.atlanmod.commons.concurrent.MoreExecutors
-
Creates a new
ExecutorServicethat runs each task in the thread that invokesexecute/submit. - newFixedThreadPool() - Static method in class org.atlanmod.commons.concurrent.MoreExecutors
-
Creates a new
ExecutorServiceusing the maximumavailable processors, that will be closed when the application will exit. - newFixedThreadPool(int) - Static method in class org.atlanmod.commons.concurrent.MoreExecutors
-
Creates a new
ExecutorServiceusingnThreadsprocessors, that will be closed when the application will exit. - newFixedThreadPool(int, String) - Static method in class org.atlanmod.commons.concurrent.MoreExecutors
-
Creates a new
ExecutorServiceusingnThreadsprocessors, that will be closed when the application will exit. - newFixedThreadPool(String) - Static method in class org.atlanmod.commons.concurrent.MoreExecutors
-
Creates a new
ExecutorServiceusing the maximumavailable 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
typeby using the static method namedname. - newReference(T) - Method in class org.atlanmod.commons.LazyReference
-
Creates a new
Referencefor the givenvalue. - newThreadFactory() - Static method in class org.atlanmod.commons.concurrent.MoreThreads
-
Creates a new
ThreadFactorythat creates daemon threads. - newThreadFactory(String) - Static method in class org.atlanmod.commons.concurrent.MoreThreads
-
Creates a new
ThreadFactorythat 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
iterablecontains at least one element. - notEmpty(Iterator<?>) - Static method in class org.atlanmod.commons.collect.MoreIterators
-
Determines if the given
iteratorcontains at least one element. - notImplementedYet(String) - Static method in class org.atlanmod.commons.Throwables
-
Returns a new
RuntimeExceptionthrown when calling a method that is not yet implemented. - notInstantiableClass(Class<?>) - Static method in class org.atlanmod.commons.Throwables
-
Returns a new
RuntimeExceptionthrown 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
- ObjectPredicate<Yourself extends ObjectPredicate,T> - Class in org.atlanmod.commons.predicate
- ObjectPredicate(PredicateContext, T) - Constructor for class org.atlanmod.commons.predicate.ObjectPredicate
- 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.
- of(E...) - Static method in class org.atlanmod.commons.collect.Path
-
Creates a new Path from a sequence of values
- of(L, R) - Static method in class org.atlanmod.commons.tuple.Pair
-
Creates a new Pair with values left and right
- of(T) - Static method in class org.atlanmod.commons.Lazy
-
Creates a new lazy object 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
lowerand strictly less thanupper. - open(C, C) - Static method in interface org.atlanmod.commons.collect.Range
-
Creates a range that contains all values strictly greater than
lowerand strictly less thanupper. - openClosed(int, int) - Static method in interface org.atlanmod.commons.collect.IntRange
-
Creates a range that contains all values strictly greater than
lowerand less than or equal toupper. - openClosed(C, C) - Static method in interface org.atlanmod.commons.collect.Range
-
Creates a range that contains all values strictly greater than
lowerand less than or equal toupper. - 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.mutable - package org.atlanmod.commons.mutable
- org.atlanmod.commons.predicate - package org.atlanmod.commons.predicate
- 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
-
Provides classes and methods to ease services discovery with
ServiceLoaderandOSGi. - org.atlanmod.commons.time - package org.atlanmod.commons.time
-
Provides classes related to the date and time.
- org.atlanmod.commons.tuple - package org.atlanmod.commons.tuple
- org.atlanmod.testing - package org.atlanmod.testing
- OSGiContext - Class in org.atlanmod.commons.service
-
A
ServiceContextable to retrieve OSGi Declarative Services from aBundleContext. - OSGiContext() - Constructor for class org.atlanmod.commons.service.OSGiContext
P
- Pair<L,R> - Class in org.atlanmod.commons.tuple
-
A simple, immutable Tuple with 2 elements: left and right.
- parallelStream(Iterable<E>) - Static method in class org.atlanmod.commons.collect.MoreIterables
-
Returns a parallel
Streamof the contents ofiterable. - Path<T> - Class in org.atlanmod.commons.collect
-
This data structure can represent a sequence o elements, such as: - File paths: "/usr/local/bin" - Domain names: "org.atlanmod.commons" - Namespaces: "java.util.function.BiFunction"
- plus(CacheStats) - Method in class org.atlanmod.commons.cache.CacheStats
-
Returns a new
CacheStatsrepresenting the sum of thisCacheStatsandother. - PreconditionError(String) - Constructor for error org.atlanmod.commons.Preconditions.PreconditionError
- 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).
- Preconditions.PreconditionError - Error in org.atlanmod.commons
- Predicate - Class in org.atlanmod.commons.predicate
- Predicate(PredicateContext) - Constructor for class org.atlanmod.commons.predicate.Predicate
- PredicateContext - Interface in org.atlanmod.commons.predicate
- 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
valuewith thekeyin this cache. - put(Path<K>, V) - Method in class org.atlanmod.commons.collect.TreeMap
- 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
valuewith thekeyin this cache, only if thekeydoes 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
Comparabletype. - recordStats() - Method in interface org.atlanmod.commons.cache.CacheBuilder
-
Enables the accumulation of
CacheStatsduring 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
ReflectionExceptionwithnullas its error detail message. - ReflectionException(String) - Constructor for exception org.atlanmod.commons.reflect.ReflectionException
-
Constructs an
ReflectionExceptionwith the specified detailmessage. - ReflectionException(String, Throwable) - Constructor for exception org.atlanmod.commons.reflect.ReflectionException
-
Constructs an
ReflectionExceptionwith the specified detailmessageandcause. - ReflectionException(Throwable) - Constructor for exception org.atlanmod.commons.reflect.ReflectionException
-
Constructs an
ReflectionExceptionwith the specifiedcauseand its detail message. - 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() - Method in class org.atlanmod.commons.collect.SizedIterator
- remove() - Method in class org.atlanmod.commons.collect.SizedListIterator
- remove(T[], int) - Static method in class org.atlanmod.commons.collect.MoreArrays
-
Removes the element at the specified
indexfrom the specifiedarray. - requestCount() - Method in class org.atlanmod.commons.cache.CacheStats
-
Returns the number of times
Cachelookup methods have returned either a cached or uncached value. - requireThat(boolean) - Static method in class org.atlanmod.commons.Preconditions
- requireThat(int) - Static method in class org.atlanmod.commons.Preconditions
- requireThat(Object) - Static method in class org.atlanmod.commons.Preconditions
- requireThat(String) - Static method in class org.atlanmod.commons.Preconditions
- 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
arraywith the givenlength. - 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
IntStreamin the reverse direction. - reverseOrder(long, long) - Static method in class org.atlanmod.commons.collect.MoreStreams
-
Returns an unary operator to iterates over an
LongStreamin the reverse direction. - revert(R) - Method in interface org.atlanmod.commons.function.Converter
-
Returns a representation of
ras an instance of typeT. - revert(R, U) - Method in interface org.atlanmod.commons.function.BiConverter
-
Returns a representation of
ras an instance of typeT, by using an object of typeU. - revert(U) - Method in interface org.atlanmod.commons.io.serializer.Serializer
-
Returns a representation of
ras an instance of typeT. - right - Variable in class org.atlanmod.commons.tuple.Pair
- root() - Static method in class org.atlanmod.commons.log.Log
-
Returns the root
Logger.
S
- send(String, Object...) - Method in interface org.atlanmod.commons.predicate.PredicateContext
- SerializationVerifier<T extends Serializable> - Class in org.atlanmod.testing
- SerializationVerifier() - Constructor for class org.atlanmod.testing.SerializationVerifier
- serialize(T) - Method in class org.atlanmod.commons.io.serializer.AbstractBinarySerializer
- serialize(T) - Method in class org.atlanmod.commons.io.serializer.AbstractStringSerializer
- serialize(T) - Method in interface org.atlanmod.commons.io.serializer.Serializer
-
Write an object of type
Tinto its basic representation. - serialize(T, DataOutput) - Method in interface org.atlanmod.commons.io.serializer.BinarySerializer
-
Write an object of type
Tto the givenout. - serialize(T, OutputStream) - Method in class org.atlanmod.commons.io.serializer.AbstractBinarySerializer
- serialize(T, OutputStream) - Method in interface org.atlanmod.commons.io.serializer.BinarySerializer
-
Write an object of type
Tto the givenos. - 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
ServiceContextable to retrieve registered services from aServiceLoader. - 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(int) - Method in class org.atlanmod.commons.mutable.MutableInteger
-
Sets the value of the stored int
- set(E) - Method in class org.atlanmod.commons.collect.SizedListIterator
- 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
elementat theindexin thearray. - setValue(Integer) - Method in class org.atlanmod.commons.mutable.MutableInteger
- setValue(T) - Method in interface org.atlanmod.commons.mutable.Mutable
-
Sets the value of this mutable
- SHA1 - Static variable in class org.atlanmod.commons.hash.StandardHashers
-
A
Hasherthat uses theSHA-1algorithm (160 bits). - SHA256 - Static variable in class org.atlanmod.commons.hash.StandardHashers
-
A
Hasherthat uses theSHA-256algorithm (256 bits). - Shorts - Class in org.atlanmod.commons.primitive
-
Static utility methods related to
shortandShort. - shouldNeverHappen(Throwable) - Static method in class org.atlanmod.commons.Throwables
-
Returns a new
RuntimeExceptionwhen a call leads to a state that should never have occurred under normal conditions. - shutdown(ExecutorService, long, TimeUnit) - Static method in class org.atlanmod.commons.concurrent.MoreExecutors
-
Cleanly closes the
service. - shutdown(ExecutorService, long, TimeUnit, boolean) - 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
servicewhen the application will exit. - 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. - Singleton - Annotation Type in org.atlanmod.commons.annotation
-
Annotates a type that has a single instance.
- size() - Method in interface org.atlanmod.commons.cache.Cache
-
Returns the approximate number of entries in this cache.
- size() - Method in class org.atlanmod.commons.collect.Path
-
Returns the number of elements composing this Path
- size(Stream<?>) - Static method in class org.atlanmod.commons.collect.MoreStreams
-
Returns the number of element in the
streamas an integer; - SizedIterator<E> - Class in org.atlanmod.commons.collect
-
A size-based
Iteratorthat loads each value with aIntFunction. - 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
Iteratorthat loads each value with aIntFunction. - 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
Hasherinstances. - 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
Streamof the contents ofiterable. - StringPredicate - Class in org.atlanmod.commons.predicate
- StringPredicate(PredicateContext, String) - Constructor for class org.atlanmod.commons.predicate.StringPredicate
- Strings - Class in org.atlanmod.commons.primitive
-
Static utility methods related to
String. - StringSerializer<T> - Interface in org.atlanmod.commons.io.serializer
- StringSerializerFactory - Class in org.atlanmod.commons.io.serializer
-
A factory that creates
StringSerializerinstances. - swap() - Method in class org.atlanmod.commons.tuple.Pair
-
Creates a new Pair by swapping the elements left and right
T
- tail() - Method in class org.atlanmod.commons.collect.Path
- Throwables - Class in org.atlanmod.commons
- toArray(List<Byte>) - Static method in class org.atlanmod.commons.primitive.Bytes
- toBoolean(byte[]) - Static method in class org.atlanmod.commons.primitive.Bytes
-
Decodes a
bytearray to aboolean. - 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
booleanto abytearray. - toBytes(char) - Static method in class org.atlanmod.commons.primitive.Chars
-
Encodes a
charto abytearray. - toBytes(double) - Static method in class org.atlanmod.commons.primitive.Doubles
-
Encodes a
doubleto abytearray. - toBytes(float) - Static method in class org.atlanmod.commons.primitive.Floats
-
Encodes a
floatto abytearray. - toBytes(int) - Static method in class org.atlanmod.commons.primitive.Ints
-
Encodes an
intto abytearray. - toBytes(long) - Static method in class org.atlanmod.commons.primitive.Longs
-
Encodes a
longto abytearray. - toBytes(short) - Static method in class org.atlanmod.commons.primitive.Shorts
-
Encodes a
shortto abytearray. - toBytes(Boolean) - Static method in class org.atlanmod.commons.primitive.Booleans
-
Encodes a
Booleanto abytearray. - toBytes(Character) - Static method in class org.atlanmod.commons.primitive.Chars
-
Encodes a
Characterto abytearray. - toBytes(Double) - Static method in class org.atlanmod.commons.primitive.Doubles
-
Encodes a
Doubleto abytearray. - toBytes(Float) - Static method in class org.atlanmod.commons.primitive.Floats
-
Encodes a
Floatto abytearray. - toBytes(Integer) - Static method in class org.atlanmod.commons.primitive.Ints
-
Encodes an
Integerto abytearray. - toBytes(Long) - Static method in class org.atlanmod.commons.primitive.Longs
-
Encodes a
Longto abytearray. - toBytes(Short) - Static method in class org.atlanmod.commons.primitive.Shorts
-
Encodes a
Shortto abytearray. - toBytes(String) - Static method in class org.atlanmod.commons.primitive.Strings
-
Encodes a
Stringto abytearray. - toBytesBinary(String) - Static method in class org.atlanmod.commons.primitive.Strings
-
Encodes a
Stringto abytearray, where eachbyteis represented as a two-digit unsigned hexadecimal number in lower case. - toChar(byte[]) - Static method in class org.atlanmod.commons.primitive.Bytes
-
Decodes a
bytearray to achar. - toDouble(byte[]) - Static method in class org.atlanmod.commons.primitive.Bytes
-
Decodes a
bytearray to adouble. - toFloat(byte[]) - Static method in class org.atlanmod.commons.primitive.Bytes
-
Decodes a
bytearray to afloat. - 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
bytearray to anint. - 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
bytearray to along. - toObject(byte...) - Static method in class org.atlanmod.commons.collect.MoreArrays
-
Converts an array of primitive types
byteto an array ofByte. - toPrimitive(Byte...) - Static method in class org.atlanmod.commons.collect.MoreArrays
-
Converts an array of
Byteto an array of primitive typesbyte. - toShort(byte[]) - Static method in class org.atlanmod.commons.primitive.Bytes
-
Decodes a
bytearray to ashort. - toString() - Method in class org.atlanmod.commons.cache.CacheStats
- toString() - Method in class org.atlanmod.commons.collect.Path
- toString() - Method in class org.atlanmod.commons.collect.Tree
- toString() - Method in class org.atlanmod.commons.collect.TreeMap
- toString(byte[]) - Static method in class org.atlanmod.commons.primitive.Bytes
-
Decodes a
bytearray to aString. - toStringBinary(byte[]) - Static method in class org.atlanmod.commons.primitive.Bytes
-
Decodes a
bytearray to aStringthat 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(CharSequence) - Static method in class org.atlanmod.commons.log.Log
-
Logs a message at the
TRACElevel, using the root logger. - trace(CharSequence) - Method in interface org.atlanmod.commons.log.Logger
-
Logs a message at the
TRACElevel. - trace(CharSequence, Object...) - Static method in class org.atlanmod.commons.log.Log
-
Logs a message with parameters at the
TRACElevel, using the root logger. - trace(CharSequence, Object...) - Method in interface org.atlanmod.commons.log.Logger
-
Logs a message with parameters at the
TRACElevel. - trace(Object) - Static method in class org.atlanmod.commons.log.Log
-
Logs an object at the
TRACElevel, using the root logger. - trace(Object) - Method in interface org.atlanmod.commons.log.Logger
-
Logs an object at the
TRACElevel. - trace(Throwable) - Static method in class org.atlanmod.commons.log.Log
- trace(Throwable) - Method in interface org.atlanmod.commons.log.Logger
- trace(Throwable, CharSequence) - Static method in class org.atlanmod.commons.log.Log
- trace(Throwable, CharSequence) - Method in interface org.atlanmod.commons.log.Logger
- trace(Throwable, CharSequence, Object...) - Static method in class org.atlanmod.commons.log.Log
- trace(Throwable, CharSequence, Object...) - Method in interface org.atlanmod.commons.log.Logger
- TRACE - org.atlanmod.commons.log.Level
-
A fine-grained debug message, typically capturing the flow through the application.
- Tree<T> - Class in org.atlanmod.commons.collect
-
A Tree data structure, with a root value and subtrees of children with a parent node, represented as a set of linked nodes.
- Tree() - Constructor for class org.atlanmod.commons.collect.Tree
- TreeMap<K,V> - Class in org.atlanmod.commons.collect
- TreeMap() - Constructor for class org.atlanmod.commons.collect.TreeMap
- 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(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(int) - Method in class org.atlanmod.commons.LazyInt
-
Updates the wrapped value.
- update(long) - Method in class org.atlanmod.commons.LazyLong
-
Updates the wrapped value.
- update(DoubleUnaryOperator) - Method in class org.atlanmod.commons.LazyDouble
-
Updates the wrapped value with a
DoubleUnaryOperator. - update(IntUnaryOperator) - Method in class org.atlanmod.commons.LazyInt
-
Updates the wrapped value with a
IntUnaryOperator. - update(LongUnaryOperator) - Method in class org.atlanmod.commons.LazyLong
-
Updates the wrapped value with a
LongUnaryOperator. - update(UnaryOperator<T>) - Method in class org.atlanmod.commons.Lazy
-
Updates the wrapped value with a
UnaryOperator. - update(T) - Method in class org.atlanmod.commons.Lazy
-
Updates the wrapped value.
- update(T) - Method in class org.atlanmod.commons.LazyReference
-
Updates the value.
V
- value() - Method in annotation type org.atlanmod.commons.annotation.Builder
-
Gets the name of the static method used to create a new instance.
- value() - Method in annotation type org.atlanmod.commons.annotation.Singleton
-
Gets the name of the static method used to get the single instance.
- 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.
- Verifier - Class in org.atlanmod.testing
-
Entry point for verification methods that improve unit tests.
- verifyEqualsOf(Class<T>) - Static method in class org.atlanmod.testing.Verifier
-
Creates a
EqualsVerifierfor classtype. - 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(CharSequence) - Static method in class org.atlanmod.commons.log.Log
-
Logs a message at the
WARNlevel, using the root logger. - warn(CharSequence) - Method in interface org.atlanmod.commons.log.Logger
-
Logs a message at the
WARNlevel. - warn(CharSequence, Object...) - Static method in class org.atlanmod.commons.log.Log
-
Logs a message with parameters at the
WARNlevel, using the root logger. - warn(CharSequence, Object...) - Method in interface org.atlanmod.commons.log.Logger
-
Logs a message with parameters at the
WARNlevel. - warn(Object) - Static method in class org.atlanmod.commons.log.Log
-
Logs an object at the
WARNlevel, using the root logger. - warn(Object) - Method in interface org.atlanmod.commons.log.Logger
-
Logs an object at the
WARNlevel. - warn(Throwable) - Static method in class org.atlanmod.commons.log.Log
- warn(Throwable) - Method in interface org.atlanmod.commons.log.Logger
- warn(Throwable, CharSequence) - Static method in class org.atlanmod.commons.log.Log
- warn(Throwable, CharSequence) - Method in interface org.atlanmod.commons.log.Logger
- warn(Throwable, CharSequence, Object...) - Static method in class org.atlanmod.commons.log.Log
- warn(Throwable, CharSequence, Object...) - Method in interface org.atlanmod.commons.log.Logger
- WARN - org.atlanmod.commons.log.Level
-
An event that might possible lead to an error.
- 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(BooleanSupplier) - Static method in class org.atlanmod.commons.LazyBoolean
-
Creates a new lazy boolean with the
BooleanSupplierto load the embed value. - with(DoubleSupplier) - Static method in class org.atlanmod.commons.LazyDouble
-
Creates a new lazy double with the
DoubleSupplierto load the embed value. - with(IntSupplier) - Static method in class org.atlanmod.commons.LazyInt
-
Creates a new lazy integer with the
IntSupplierto load the embed value. - with(LongSupplier) - Static method in class org.atlanmod.commons.LazyLong
-
Creates a new lazy long with the
LongSupplierto load the embed value. - with(Supplier<T>) - Static method in class org.atlanmod.commons.Lazy
-
Creates a new lazy object with the
Supplierto load the embed value. - withArguments(Object...) - Method in class org.atlanmod.testing.EqualsVerifier
-
Arguments are used to create a reference instance of class
type.
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
Hasherthat uses thexxHashalgorithm (64 bits).
All Classes All Packages