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

A

AbstractCacheProvider<V> - Class in org.nerd4j.utils.cache
Abstract implementation of the CacheProvider interface that implements all the common checks and logic allowing the extending classes to implement only the underlying caching system related logic.
AbstractCacheProvider() - Constructor for class org.nerd4j.utils.cache.AbstractCacheProvider
Default constructor.
AbstractSelfLoadingCache<V> - Class in org.nerd4j.utils.cache
Abstract implementation of SelfLoadingCache.
AbstractSelfLoadingCache(CacheConfig, CacheProvider<V>) - Constructor for class org.nerd4j.utils.cache.AbstractSelfLoadingCache
Constructor with parameters.
AND - Static variable in class org.nerd4j.utils.math.BI
Performs the binary and of of two non-null BigInteger values.
and(BigInteger, BigInteger) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given two BigInteger values a and b, returns the binary operation a & b.
and(BigInteger, long) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a BigInteger value a and a long value b, returns the binary operation a & b.
and(long, BigInteger) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a long value a and a BigInteger value b, returns the binary operation a & b.
and(long, long) - Static method in class org.nerd4j.utils.math.BI
Given two long values a and b, returns a BigInteger that represents the binary operation a & b.
andRight(R) - Method in class org.nerd4j.utils.tuple.ComparablePair.Builder
Creates a new ComparablePair with the given right value.
andRight(R, boolean) - Method in class org.nerd4j.utils.tuple.ComparablePair.Builder
Creates a new ComparablePair with the given right values.
andRight(R, Comparator<R>) - Method in class org.nerd4j.utils.tuple.ComparablePair.Builder
Creates a new ComparablePair with the given right values.
apply(ToString.Configuration) - Method in interface org.nerd4j.utils.lang.ToString.Printer
Applies the given ToString.Configuration to create the String representation of an object.
apply(BinaryOperator<BigDecimal>, BigDecimal, BigDecimal) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given two BigDecimal values a and b, returns the result of the given operator.
apply(BinaryOperator<BigInteger>, BigInteger, BigInteger) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given two BigInteger values a and b, returns the result of the given operator.
attributes() - Method in class org.nerd4j.utils.cache.CacheKey
Returns the attributes defining this cache key.

B

BD - Class in org.nerd4j.utils.math
This utility class provides some convenience methods to deal with BigDecimals.
BI - Class in org.nerd4j.utils.math
This utility class provides some convenience methods to deal with BigIntegers.
blank(String) - Static method in class org.nerd4j.utils.lang.Is
Checks if the given value is null, empty or contains only characters that satisfies the check performed by Character.isWhitespace(char).
blank(String) - Static method in class org.nerd4j.utils.lang.IsNot
Checks if the given value is not null, nor empty and contains characters that do not satisfy the check performed by Character.isWhitespace(char).
build() - Method in class org.nerd4j.utils.cache.SelfLoadingCacheBuilder
Creates a new default implementation of the SelfLoadingCache interface.
Builder(L, Comparator<L>) - Constructor for class org.nerd4j.utils.tuple.ComparablePair.Builder
Constructor with parameters.

C

CacheConfig - Class in org.nerd4j.utils.cache
Immutable object collecting all the configurations needed by the SelfLoadingCache.
CacheConfig() - Constructor for class org.nerd4j.utils.cache.CacheConfig
Default constructor.
CacheConfig(long, long, boolean, boolean, boolean) - Constructor for class org.nerd4j.utils.cache.CacheConfig
Constructor with parameters.
CacheEntry<V> - Class in org.nerd4j.utils.cache
Represents an entry in the caching system related to a given key.
CacheEntry() - Constructor for class org.nerd4j.utils.cache.CacheEntry
Default constructor.
CacheEntry(V, long) - Constructor for class org.nerd4j.utils.cache.CacheEntry
Constructor with parameters.
CacheEntry(V, Instant) - Constructor for class org.nerd4j.utils.cache.CacheEntry
Constructor with parameters.
CacheKey - Class in org.nerd4j.utils.cache
Represents the search key used by the SelfLoadingCache facade and the related CacheProvider.
CacheKey() - Constructor for class org.nerd4j.utils.cache.CacheKey
Default constructor.
CacheKey(Class<?>, String, Object[]) - Constructor for class org.nerd4j.utils.cache.CacheKey
Constructor with parameters.
CacheKey.Prototype - Class in org.nerd4j.utils.cache
Prototype class populated with the data model type and version.
cacheProvider - Variable in class org.nerd4j.utils.cache.AbstractSelfLoadingCache
Underlying caching system provider.
CacheProvider<V> - Interface in org.nerd4j.utils.cache
Represents a provider of a caching system.
cacheProvider - Variable in class org.nerd4j.utils.cache.SelfLoadingCacheBuilder
The underlying caching system provider.
CacheProviderException - Exception in org.nerd4j.utils.cache
Represents an error occurred into the CacheProvider during caching operations.
CacheProviderException(String) - Constructor for exception org.nerd4j.utils.cache.CacheProviderException
Constructs a new exception with the specified detail message.
CacheProviderException(Throwable) - Constructor for exception org.nerd4j.utils.cache.CacheProviderException
Constructs a new exception with the specified cause and a detail message of {@code (cause==null ?
CacheProviderException(String, Throwable) - Constructor for exception org.nerd4j.utils.cache.CacheProviderException
Constructs a new exception with the specified detail message and cause.
canSubtract(Interval<T>) - Method in class org.nerd4j.utils.math.Interval
Tells if the given interval can be subtracted from this one.
canUnify(Interval<T>) - Method in class org.nerd4j.utils.math.Interval
Tells if this interval can be unified with the given one.
capacity() - Method in class org.nerd4j.utils.cache.HeapCacheProvider
Returns the capacity of the cache i.e. the maximum number of entries this cache is able to keep.
clear() - Method in class org.nerd4j.utils.cache.AbstractCacheProvider
Removes all elements from the cache.
clear() - Method in interface org.nerd4j.utils.cache.CacheProvider
Removes all elements from the cache.
closed(T, T) - Static method in class org.nerd4j.utils.math.Interval
Creates a new closed Interval with the given limits.
closedInf(T) - Static method in class org.nerd4j.utils.math.Interval
Creates a new Interval with a closed inferior limit and an unbounded superior limit.
closedOpen(T, T) - Static method in class org.nerd4j.utils.math.Interval
Creates a new Interval with a closed inferior limit and an open superior limit.
closedSup(T) - Static method in class org.nerd4j.utils.math.Interval
Creates a new Interval with a closed superior limit and an unbounded inferior limit.
ComparablePair<L,R> - Class in org.nerd4j.utils.tuple
Represents an immutable and comparable pair of values.
ComparablePair(L, Comparator<L>, R, Comparator<R>) - Constructor for class org.nerd4j.utils.tuple.ComparablePair
Constructor with parameters.
ComparablePair.Builder<L> - Class in org.nerd4j.utils.tuple
Implementation of the pattern builder intended to be used to create ComparablePairs with custom combination of comparable and non comparable values.
ComparableTriple<L,M,R> - Class in org.nerd4j.utils.tuple
Represents an immutable and comparable triple of values.
ComparableTriple(L, Comparator<L>, M, Comparator<M>, R, Comparator<R>) - Constructor for class org.nerd4j.utils.tuple.ComparableTriple
Constructor with parameters.
ComparableTriple.FinalBuilder<L,M> - Class in org.nerd4j.utils.tuple
Implementation of the pattern builder intended to be used to create ComparableTriples with custom combination of comparable and non comparable values.
ComparableTriple.MiddleBuilder<L> - Class in org.nerd4j.utils.tuple
Implementation of the pattern builder intended to be used to create ComparableTriples with custom combination of comparable and non comparable values.
Comparative<T> - Interface in org.nerd4j.utils.lang
The aim of this interface is to add some convenience method to the Comparable interface.
compareTo(ComparablePair<L, R>) - Method in class org.nerd4j.utils.tuple.ComparablePair
compareTo(ComparableTriple<L, M, R>) - Method in class org.nerd4j.utils.tuple.ComparableTriple
config - Variable in class org.nerd4j.utils.cache.AbstractSelfLoadingCache
Configurations to be used to define the cache behavior.
contains(T) - Method in class org.nerd4j.utils.math.Interval
Tells if this interval contains the given value.
createStorage() - Method in class org.nerd4j.utils.cache.HeapCacheProvider
Returns a new spooling LinkedHashMap i.e a LinkedHashMap removing the oldest element when the capacity has been reached.
CU - Class in org.nerd4j.utils.math
This utility class provides some convenience methods do deal with existing legacy classes that implement Comparable.
customClassName() - Method in interface org.nerd4j.utils.lang.ToString.Configuration
Custom text to use instead of the target class name.

D

dataModelType() - Method in class org.nerd4j.utils.cache.CacheKey
Returns the type of the data model identified by this cache key.
DataProvider<V> - Interface in org.nerd4j.utils.cache
Represents a provider able to retrieve the values to cache in relation with the given key.
DataProviderException - Exception in org.nerd4j.utils.cache
Represents an error occurred into the DataProvider during data retrieving operations.
DataProviderException(String) - Constructor for exception org.nerd4j.utils.cache.DataProviderException
Constructs a new exception with the specified detail message.
DataProviderException(Throwable) - Constructor for exception org.nerd4j.utils.cache.DataProviderException
Constructs a new exception with the specified cause and a detail message of {@code (cause==null ?
DataProviderException(String, Throwable) - Constructor for exception org.nerd4j.utils.cache.DataProviderException
Constructs a new exception with the specified detail message and cause.
DEFAULT_CACHE_DURATION - Static variable in class org.nerd4j.utils.cache.CacheConfig
Default duration of a cache entry in milliseconds (60 minutes).
DEFAULT_TOUCH_DURATION - Static variable in class org.nerd4j.utils.cache.CacheConfig
Default duration in milliseconds used by the method CacheProvider.touch(CacheKey,long) (10 minutes).
DEFAULT_VERSION - Static variable in class org.nerd4j.utils.cache.CacheKey
Value to use if the user do not provide a custom version.
disableAll(boolean) - Static method in class org.nerd4j.utils.cache.CacheConfig
Invoking this method with true will disable all SelfLoadingCache instances in the system.
disableAll(boolean) - Static method in interface org.nerd4j.utils.cache.SelfLoadingCache
Invoking this method with true will disable all SelfLoadingCache instances in the system.
disabledAll - Static variable in class org.nerd4j.utils.cache.CacheConfig
Tells if all the SelfLoadingCaches in the system are disabled.
disabledThis - Variable in class org.nerd4j.utils.cache.AbstractSelfLoadingCache
Tells if this SelfLoadingCache is disabled.
disableThis(boolean) - Method in class org.nerd4j.utils.cache.AbstractSelfLoadingCache
Invoking this method with true will disable this SelfLoadingCache instance.
disableThis(boolean) - Method in interface org.nerd4j.utils.cache.SelfLoadingCache
Invoking this method with true will disable this SelfLoadingCache instance.
DIV - Static variable in class org.nerd4j.utils.math.BD
Performs the division of two non-null BigDecimal values.
div(BigDecimal, BigDecimal) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given two BigDecimal values a and b, returns a / b.
div(BigDecimal, double) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a BigDecimal value a and a double value b, returns a / b.
div(double, BigDecimal) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a double value a and a BigDecimal value b, returns a / b.
div(double, double) - Static method in class org.nerd4j.utils.math.BD
Given two double values a and b, returns a BigDecimal that represents the value a / b.
DIV - Static variable in class org.nerd4j.utils.math.BI
Performs the division of two non-null BigInteger values.
div(BigInteger, BigInteger) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given two BigInteger values a and b, returns a / b.
div(BigInteger, long) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a BigInteger value a and a long value b, returns a / b.
div(long, BigInteger) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a long value a and a BigInteger value b, returns a / b.
div(long, long) - Static method in class org.nerd4j.utils.math.BI
Given two long values a and b, returns a BigInteger that represents the value a / b.
doClear() - Method in class org.nerd4j.utils.cache.AbstractCacheProvider
Removes all keys and related entries from the cache.
doClear() - Method in class org.nerd4j.utils.cache.EmptyCacheProvider
Removes all keys and related entries from the cache.
doClear() - Method in class org.nerd4j.utils.cache.HeapCacheProvider
Removes all keys and related entries from the cache.
doGet(CacheKey) - Method in class org.nerd4j.utils.cache.AbstractCacheProvider
Returns the cache entry related to the given key.
doGet(CacheKey) - Method in class org.nerd4j.utils.cache.EmptyCacheProvider
Returns the cache entry related to the given key.
doGet(CacheKey) - Method in class org.nerd4j.utils.cache.HeapCacheProvider
Returns the cache entry related to the given key.
doPut(CacheKey, CacheEntry<V>, long) - Method in class org.nerd4j.utils.cache.AbstractCacheProvider
Binds the given entry to the given key and put it into the underlying cache.
doPut(CacheKey, CacheEntry<V>, long) - Method in class org.nerd4j.utils.cache.EmptyCacheProvider
Binds the given entry to the given key and put it into the underlying cache.
doPut(CacheKey, CacheEntry<V>, long) - Method in class org.nerd4j.utils.cache.HeapCacheProvider
Binds the given entry to the given key and put it into the underlying cache.
doRemove(CacheKey) - Method in class org.nerd4j.utils.cache.AbstractCacheProvider
Removes the given key and the related entry from the cache.
doRemove(CacheKey) - Method in class org.nerd4j.utils.cache.EmptyCacheProvider
Removes the given key and the related entry from the cache.
doRemove(CacheKey) - Method in class org.nerd4j.utils.cache.HeapCacheProvider
Removes the given key and the related entry from the cache.
doTouch(CacheKey, long) - Method in class org.nerd4j.utils.cache.AbstractCacheProvider
Defers the expiration time of the cache entry related to the given key.
doTouch(CacheKey, long) - Method in class org.nerd4j.utils.cache.EmptyCacheProvider
Defers the expiration time of the cache entry related to the given key.
doTouch(CacheKey, long) - Method in class org.nerd4j.utils.cache.HeapCacheProvider
Defers the expiration time of the cache entry related to the given key.

E

Emptily - Interface in org.nerd4j.utils.lang
A class implements this interface to tell that may has a content or may be empty.
empty(Emptily) - Static method in class org.nerd4j.utils.lang.Is
Checks if the given value is null or empty.
empty(String) - Static method in class org.nerd4j.utils.lang.Is
Checks if the given value is null or empty.
empty(Collection<?>) - Static method in class org.nerd4j.utils.lang.Is
Checks if the given value is null or empty.
empty(Map<?, ?>) - Static method in class org.nerd4j.utils.lang.Is
Checks if the given value is null or empty.
empty(V[]) - Static method in class org.nerd4j.utils.lang.Is
Checks if the given value is null or empty.
empty(boolean[]) - Static method in class org.nerd4j.utils.lang.Is
Checks if the given value is null or empty.
empty(char[]) - Static method in class org.nerd4j.utils.lang.Is
Checks if the given value is null or empty.
empty(byte[]) - Static method in class org.nerd4j.utils.lang.Is
Checks if the given value is null or empty.
empty(short[]) - Static method in class org.nerd4j.utils.lang.Is
Checks if the given value is null or empty.
empty(int[]) - Static method in class org.nerd4j.utils.lang.Is
Checks if the given value is null or empty.
empty(float[]) - Static method in class org.nerd4j.utils.lang.Is
Checks if the given value is null or empty.
empty(long[]) - Static method in class org.nerd4j.utils.lang.Is
Checks if the given value is null or empty.
empty(double[]) - Static method in class org.nerd4j.utils.lang.Is
Checks if the given value is null or empty.
empty(Emptily) - Static method in class org.nerd4j.utils.lang.IsNot
Checks if the given value is not null nor empty.
empty(String) - Static method in class org.nerd4j.utils.lang.IsNot
Checks if the given value is not null nor empty.
empty(Collection<?>) - Static method in class org.nerd4j.utils.lang.IsNot
Checks if the given value is not null nor empty.
empty(Map<?, ?>) - Static method in class org.nerd4j.utils.lang.IsNot
Checks if the given value is not null nor empty.
empty(V[]) - Static method in class org.nerd4j.utils.lang.IsNot
Checks if the given value is not null nor empty.
empty(boolean[]) - Static method in class org.nerd4j.utils.lang.IsNot
Checks if the given value is not null nor empty.
empty(char[]) - Static method in class org.nerd4j.utils.lang.IsNot
Checks if the given value is not null nor empty.
empty(byte[]) - Static method in class org.nerd4j.utils.lang.IsNot
Checks if the given value is not null nor empty.
empty(short[]) - Static method in class org.nerd4j.utils.lang.IsNot
Checks if the given value is not null nor empty.
empty(int[]) - Static method in class org.nerd4j.utils.lang.IsNot
Checks if the given value is not null nor empty.
empty(float[]) - Static method in class org.nerd4j.utils.lang.IsNot
Checks if the given value is not null nor empty.
empty(long[]) - Static method in class org.nerd4j.utils.lang.IsNot
Checks if the given value is not null nor empty.
empty(double[]) - Static method in class org.nerd4j.utils.lang.IsNot
Checks if the given value is not null nor empty.
empty() - Static method in class org.nerd4j.utils.math.Interval
Returns the singleton instance of the "empty set" Interval.
empty() - Static method in class org.nerd4j.utils.tuple.ComparablePair
Returns the singleton instance of an empty ComparablePair.
empty() - Static method in class org.nerd4j.utils.tuple.ComparableTriple
Returns the singleton instance of an empty ComparableTriple.
empty() - Static method in class org.nerd4j.utils.tuple.Pair
Returns the singleton instance of an empty Pair.
empty() - Static method in class org.nerd4j.utils.tuple.Triple
Returns the singleton instance of an empty Triple.
EmptyCacheProvider<V> - Class in org.nerd4j.utils.cache
Dummy implementation of the CacheProvider interface that implements the design pattern Empty Object.
EmptyCacheProvider() - Constructor for class org.nerd4j.utils.cache.EmptyCacheProvider
Default constructor.
eq(T) - Method in interface org.nerd4j.utils.lang.Comparative
Tells if this object is equal to the given object.
eq(BigDecimal, double) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a BigDecimal value a and a double value b, returns true if a == b.
eq(BigDecimal, double, boolean) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a BigDecimal value a and a double value b, returns true if a == b.
eq(double, BigDecimal) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a double value a and a BigDecimal value b, returns true if a == b.
eq(double, BigDecimal, boolean) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a double value a and a BigDecimal value b, returns true if a == b.
eq(BigInteger, long) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a BigInteger value a and a long value b, returns true if a == b.
eq(BigInteger, long, boolean) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a BigInteger value a and a long value b, returns true if a == b.
eq(long, BigInteger) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a long value a and a BigInteger value b, returns true if a == b.
eq(long, BigInteger, boolean) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a long value a and a BigInteger value b, returns true if a == b.
eq(C, C) - Static method in class org.nerd4j.utils.math.CU
This is a null-safe method that, given two comparable values a and b, tells if a == b.
eq(C, C, boolean) - Static method in class org.nerd4j.utils.math.CU
This is a null-safe method that, given two comparable values a and b, tells if a == b.
equals(Object) - Method in class org.nerd4j.utils.cache.CacheConfig
equals(Object) - Method in class org.nerd4j.utils.cache.CacheEntry
equals(Object) - Method in class org.nerd4j.utils.cache.CacheKey
equals(Object) - Method in class org.nerd4j.utils.cache.CacheKey.Prototype
Equals - Class in org.nerd4j.utils.lang
This utility class is intended to be used inside the method Object.equals(Object) of a class.
equals(Object) - Method in class org.nerd4j.utils.math.Interval
equals(Object) - Method in class org.nerd4j.utils.math.PrimeSieve
equals(Object) - Method in class org.nerd4j.utils.tuple.Pair
equals(Object) - Method in class org.nerd4j.utils.tuple.Triple
evict(CacheKey) - Method in class org.nerd4j.utils.cache.AbstractSelfLoadingCache
Removes the given key from the underlying cache system forcing to reload it the next time SelfLoadingCache.get(CacheKey, DataProvider) is invoked.
evict(CacheKey) - Method in interface org.nerd4j.utils.cache.SelfLoadingCache
Removes the given key from the underlying cache system forcing to reload it the next time SelfLoadingCache.get(CacheKey, DataProvider) is invoked.
executorService - Static variable in class org.nerd4j.utils.cache.AbstractSelfLoadingCache
The ExecutorService to use to insert or update cache entries in an asynchronous way.

F

Field(String, Object) - Constructor for class org.nerd4j.utils.lang.ToString.Configuration.Field
Constructor with parameters.
fields() - Method in interface org.nerd4j.utils.lang.ToString.Configuration
List of fields to be printed.
FinalBuilder(L, Comparator<L>, M, Comparator<M>) - Constructor for class org.nerd4j.utils.tuple.ComparableTriple.FinalBuilder
Constructor with parameters.
fullClassPath() - Method in interface org.nerd4j.utils.lang.ToString.Configuration
Tells to the ToString.Printer to use the fully qualified class name.

G

ge(T) - Method in interface org.nerd4j.utils.lang.Comparative
Tells if this object is greater or equal than the given object.
ge(BigDecimal, double) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a BigDecimal value a and a double value b, returns true if a >= b.
ge(BigDecimal, double, boolean) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a BigDecimal value a and a double value b, returns true if a >= b.
ge(double, BigDecimal) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a double value a and a BigDecimal value b, returns true if a >= b.
ge(double, BigDecimal, boolean) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a double value a and a BigDecimal value b, returns true if a >= b.
ge(BigInteger, long) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a BigInteger value a and a long value b, returns true if a >= b.
ge(BigInteger, long, boolean) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a BigInteger value a and a long value b, returns true if a >= b.
ge(long, BigInteger) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a long value a and a BigInteger value b, returns true if a >= b.
ge(long, BigInteger, boolean) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a long value a and a BigInteger value b, returns true if a >= b.
ge(C, C) - Static method in class org.nerd4j.utils.math.CU
This is a null-safe method that, given two comparable values a and b, tells if a >= b.
ge(C, C, boolean) - Static method in class org.nerd4j.utils.math.CU
This is a null-safe method that, given two comparable values a and b, tells if a >= b.
get(CacheKey) - Method in class org.nerd4j.utils.cache.AbstractCacheProvider
Returns the cache entry related to the given key.
get(CacheKey, DataProvider<V>) - Method in class org.nerd4j.utils.cache.AbstractSelfLoadingCache
Returns the value related to the given key.
get(CacheKey) - Method in class org.nerd4j.utils.cache.AbstractSelfLoadingCache
Returns the value from the cache if available and null otherwise.
get(CacheKey) - Method in interface org.nerd4j.utils.cache.CacheProvider
Returns the cache entry related to the given key.
get() - Static method in class org.nerd4j.utils.cache.EmptyCacheProvider
Returns the singleton instance of the EmptyCacheProvider.
get(CacheKey, DataProvider<V>) - Method in interface org.nerd4j.utils.cache.SelfLoadingCache
Returns the value related to the given key.
get() - Static method in class org.nerd4j.utils.math.PrimeSieve
Returns a new PrimeSieve with the default limits: Greatest computable value: 412316859839 Memory occupation upper bound: 16GB
getCacheDuration() - Method in class org.nerd4j.utils.cache.CacheConfig
Returns the duration of a cache entry in milliseconds.
getCurrentMemoryConsumptionInBytes() - Method in class org.nerd4j.utils.math.PrimeSieve
Returns the amount of memory, in bytes, currently used by this object.
getDefault() - Static method in class org.nerd4j.utils.cache.CacheConfig
getEntry(V, long) - Method in class org.nerd4j.utils.cache.AbstractCacheProvider
Returns a new cache entry with the given value that will expire after the given amount of milliseconds
getExpiration() - Method in class org.nerd4j.utils.cache.CacheEntry
Returns the instant in time when the cache entry expires.
getGreatestComputableValue(long) - Static method in class org.nerd4j.utils.math.PrimeSieve
Returns the the greatest value that can be computed with the given amount of memory expressed in bytes.
getGreatestComputedValue() - Method in class org.nerd4j.utils.math.PrimeSieve
Returns the greatest value computed so far.
getGreatestPrimeLessEqual(long) - Method in class org.nerd4j.utils.math.PrimeSieve
Returns the greatest prime number less or equal than the provided value.
getInf() - Method in class org.nerd4j.utils.math.Interval
Returns the value of the inferior limit if it is defined.
getKey() - Method in class org.nerd4j.utils.tuple.Pair
Returns the left element of the pair.
getLeft() - Method in class org.nerd4j.utils.tuple.Pair
Returns the left element of the pair.
getLeft() - Method in class org.nerd4j.utils.tuple.Triple
Returns the left element of the triple.
getLeftComparator() - Method in class org.nerd4j.utils.tuple.ComparablePair
Returns the comparator for values of type <L>.
getLeftComparator() - Method in class org.nerd4j.utils.tuple.ComparableTriple
Returns the comparator for values of type <L>.
getMaxValue() - Method in class org.nerd4j.utils.math.PrimeSieve
Returns the greatest value computable by this instance.
getMemoryConsumptionInBytes(long) - Static method in class org.nerd4j.utils.math.PrimeSieve
Returns the maximum amount of memory (in bytes) needed to compute all primes less or equal than the given upper limit.
getMiddle() - Method in class org.nerd4j.utils.tuple.Triple
Returns the middle element of the triple.
getMiddleComparator() - Method in class org.nerd4j.utils.tuple.ComparableTriple
Returns the comparator for values of type <M>.
getRight() - Method in class org.nerd4j.utils.tuple.Pair
Returns the right element of the pair.
getRight() - Method in class org.nerd4j.utils.tuple.Triple
Returns the right element of the triple.
getRightComparator() - Method in class org.nerd4j.utils.tuple.ComparablePair
Returns the comparator for values of type <R>.
getRightComparator() - Method in class org.nerd4j.utils.tuple.ComparableTriple
Returns the comparator for values of type <R>.
getSmallestPrimeGreaterEqual(long) - Method in class org.nerd4j.utils.math.PrimeSieve
Returns the smallest prime number greater or equal than the provided value.
getSup() - Method in class org.nerd4j.utils.math.Interval
Returns the value of the superior limit if it is defined.
getTouchDuration() - Method in class org.nerd4j.utils.cache.CacheConfig
Returns the number of milliseconds to defer a cache entry expiration to, during update.
getValue() - Method in class org.nerd4j.utils.cache.CacheEntry
Returns the cached value.
getValue() - Method in class org.nerd4j.utils.tuple.Pair
Returns the right element of the pair.
gt(T) - Method in interface org.nerd4j.utils.lang.Comparative
Tells if this object is greater than the given object.
gt(BigDecimal, double) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a BigDecimal value a and a double value b, returns true if a > b.
gt(BigDecimal, double, boolean) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a BigDecimal value a and a double value b, returns true if a > b.
gt(double, BigDecimal) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a double value a and a BigDecimal value b, returns true if a > b.
gt(double, BigDecimal, boolean) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a double value a and a BigDecimal value b, returns true if a > b.
gt(BigInteger, long) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a BigInteger value a and a long value b, returns true if a > b.
gt(BigInteger, long, boolean) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a BigInteger value a and a long value b, returns true if a > b.
gt(long, BigInteger) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a long value a and a BigInteger value b, returns true if a > b.
gt(long, BigInteger, boolean) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a long value a and a BigInteger value b, returns true if a > b.
gt(C, C) - Static method in class org.nerd4j.utils.math.CU
This is a null-safe method that, given two comparable values a and b, tells if a > b.
gt(C, C, boolean) - Static method in class org.nerd4j.utils.math.CU
This is a null-safe method that, given two comparable values a and b, tells if a > b.

H

hashCode() - Method in class org.nerd4j.utils.cache.CacheConfig
hashCode() - Method in class org.nerd4j.utils.cache.CacheEntry
hashCode() - Method in class org.nerd4j.utils.cache.CacheKey
hashCode() - Method in class org.nerd4j.utils.cache.CacheKey.Prototype
Hashcode - Class in org.nerd4j.utils.lang
This utility class is intended to be used inside the method Object.hashCode() of a class.
hashCode() - Method in class org.nerd4j.utils.math.Interval
hashCode() - Method in class org.nerd4j.utils.math.PrimeSieve
hashCode() - Method in class org.nerd4j.utils.tuple.Pair
hashCode() - Method in class org.nerd4j.utils.tuple.Triple
HeapCacheProvider<V> - Class in org.nerd4j.utils.cache
Implementation of the CacheProvider interface that uses the local heap as the cache storage.
HeapCacheProvider() - Constructor for class org.nerd4j.utils.cache.HeapCacheProvider
Default constructor.
HeapCacheProvider(int) - Constructor for class org.nerd4j.utils.cache.HeapCacheProvider
Constructor with parameters.

I

ifInstancesOf(Class<T>, Object, Object, BiFunction<T, T, Boolean>) - Static method in class org.nerd4j.utils.lang.Equals
This method is intended to be used inside a Object.equals(Object) method, to check if the object to compare is not null and if both objects are instances of the given type.
ifSameClass(T, Object, Function<T, Object>...) - Static method in class org.nerd4j.utils.lang.Equals
This method is intended to be used inside a Object.equals(Object) method, to check if the object to compare is not null and if it has the same class as this object.
includes(Interval<T>) - Method in class org.nerd4j.utils.math.Interval
Tells if this interval includes the given one.
insert(CacheKey, DataProvider<V>) - Method in class org.nerd4j.utils.cache.AbstractSelfLoadingCache
Inserts the given key and the related value into the cache.
intersect(Interval<T>) - Method in class org.nerd4j.utils.math.Interval
Returns an interval containing only those elements that belongs to both this interval and the given one.
Interval<T extends Comparable<T>> - Class in org.nerd4j.utils.math
In mathematics, given a set S and a total order relation <= over the elements of S, we define an interval I as a subset of S such that: given x,y in I such that x <= y we have that for each s in S if x <= s <= y then s belongs to I.
Interval() - Constructor for class org.nerd4j.utils.math.Interval
Default constructor.
Interval(IntervalLimit<T>, IntervalLimit<T>) - Constructor for class org.nerd4j.utils.math.Interval
Constructor with parameters.
Is - Class in org.nerd4j.utils.lang
This class consists of static utility methods intended to operate boolean checks on objects.
isAsyncInsert() - Method in class org.nerd4j.utils.cache.CacheConfig
Tells if the insert of a new entry in the cache should be done asynchronously.
isAsyncUpdate() - Method in class org.nerd4j.utils.cache.CacheConfig
Tells if the update of an existing entry in the cache should be done asynchronously.
isClosed() - Method in class org.nerd4j.utils.math.Interval
Tells if both the inferior limit and the superior limit are closed.
isClosedInf() - Method in class org.nerd4j.utils.math.Interval
Tells if the inferior limit is closed.
isClosedSup() - Method in class org.nerd4j.utils.math.Interval
Tells if the superior limit is closed.
isConsecutiveTo(Interval<T>) - Method in class org.nerd4j.utils.math.Interval
Tells if this interval is consecutive to the given one.
isDisjointFrom(Interval<T>) - Method in class org.nerd4j.utils.math.Interval
Tells if this interval is disjoint frp, the given one.
isEmpty() - Method in interface org.nerd4j.utils.lang.Emptily
Returns true if this object is empty.
isEmpty() - Method in class org.nerd4j.utils.math.Interval
Returns true if this object is empty.
isEmpty() - Method in class org.nerd4j.utils.tuple.Pair
Returns true if this object is empty.
isEmpty() - Method in class org.nerd4j.utils.tuple.Triple
Returns true if this object is empty.
isEmptySet() - Method in class org.nerd4j.utils.math.Interval
An interval is considered to be empty if it is the empty set or if it is a single point open interval in the form (x,x).
isExpired() - Method in class org.nerd4j.utils.cache.CacheEntry
Tells if the cache entry is expired.
IsNot - Class in org.nerd4j.utils.lang
This class consists of static utility methods intended to operate boolean checks on objects.
isOpen() - Method in class org.nerd4j.utils.math.Interval
Tells if both the inferior limit and the superior limit are open.
isOpenInf() - Method in class org.nerd4j.utils.math.Interval
Tells if the inferior limit is open.
isOpenSup() - Method in class org.nerd4j.utils.math.Interval
Tells if the superior limit is open.
isPrime(long) - Method in class org.nerd4j.utils.math.PrimeSieve
Tells if the given value is a prime number.
isStrictlyConsecutiveTo(Interval<T>) - Method in class org.nerd4j.utils.math.Interval
This is a strict version of the Interval.isConsecutiveTo(Interval) method where a further check is made to ensure that the two intervals are not overlapping.
isThrowCacheProviderExceptions() - Method in class org.nerd4j.utils.cache.CacheConfig
Tells if any exception generated by the CacheProvider should be propagated outside the SelfLoadingCache.
isUnbounded() - Method in class org.nerd4j.utils.math.Interval
Tells if both the inferior limit and the superior limit are unbounded.
isUnboundedInf() - Method in class org.nerd4j.utils.math.Interval
Tells if the inferior limit is unbounded.
isUnboundedSup() - Method in class org.nerd4j.utils.math.Interval
Tells if the superior limit is unbounded.

L

le(T) - Method in interface org.nerd4j.utils.lang.Comparative
Tells if this object is less or equal than the given object.
le(BigDecimal, double) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a BigDecimal value a and a double value b, returns true if a <= b.
le(BigDecimal, double, boolean) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a BigDecimal value a and a double value b, returns true if a <= b.
le(double, BigDecimal) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a double value a and a BigDecimal value b, returns true if a <= b.
le(double, BigDecimal, boolean) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a double value a and a BigDecimal value b, returns true if a <= b.
le(BigInteger, long) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a BigInteger value a and a long value b, returns true if a <= b.
le(BigInteger, long, boolean) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a BigInteger value a and a long value b, returns true if a <= b.
le(long, BigInteger) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a long value a and a BigInteger value b, returns true if a <= b.
le(long, BigInteger, boolean) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a long value a and a BigInteger value b, returns true if a <= b.
le(C, C) - Static method in class org.nerd4j.utils.math.CU
This is a null-safe method that, given two comparable values a and b, tells if a <= b.
le(C, C, boolean) - Static method in class org.nerd4j.utils.math.CU
This is a null-safe method that, given two comparable values a and b, tells if a <= b.
left - Variable in class org.nerd4j.utils.tuple.Pair
The left element of the pair.
left - Variable in class org.nerd4j.utils.tuple.Triple
The left element of the triple.
like(ToString.Printer) - Method in interface org.nerd4j.utils.lang.ToString.Configurator
Creates the ToString.Configuration and invokes the provided ToString.Printer in order to build the requested String representation.
likeEclipse() - Method in interface org.nerd4j.utils.lang.ToString.Configurator
Creates an output of the method Object.toString() like the one generated by the Eclipse IDE.
likeFunction() - Method in interface org.nerd4j.utils.lang.ToString.Configurator
Creates an output of the method Object.toString() in the form of a function, where the function name is the target class name and the given fields are listed as the function arguments.
likeIntellij() - Method in interface org.nerd4j.utils.lang.ToString.Configurator
Creates an output of the method Object.toString() like the one generated by the IntelliJ IDE.
likeTuple() - Method in interface org.nerd4j.utils.lang.ToString.Configurator
Creates an output of the method Object.toString() in the form of a tuple, optionally preceded by the class name.
load(CacheKey, DataProvider<V>) - Method in class org.nerd4j.utils.cache.AbstractSelfLoadingCache
Loads the value from the DataProvider.
loadAndPut(String, CacheKey, DataProvider<V>) - Method in class org.nerd4j.utils.cache.AbstractSelfLoadingCache
Performs the loading of te data related to the given key and puts the <key-value> pair into the cache.
logger - Static variable in class org.nerd4j.utils.cache.AbstractCacheProvider
Logging system.
logger - Static variable in class org.nerd4j.utils.cache.AbstractSelfLoadingCache
Logging system.
logger - Static variable in class org.nerd4j.utils.cache.EmptyCacheProvider
Logging system.
logger - Static variable in class org.nerd4j.utils.cache.HeapCacheProvider
Logging system.
lt(T) - Method in interface org.nerd4j.utils.lang.Comparative
Tells if this object is less than the given object.
lt(BigDecimal, double) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a BigDecimal value a and a double value b, returns true if a < b.
lt(BigDecimal, double, boolean) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a BigDecimal value a and a double value b, returns true if a < b.
lt(double, BigDecimal) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a double value a and a BigDecimal value b, returns true if a < b.
lt(double, BigDecimal, boolean) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a double value a and a BigDecimal value b, returns true if a < b.
lt(BigInteger, long) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a BigInteger value a and a long value b, returns true if a < b.
lt(BigInteger, long, boolean) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a BigInteger value a and a long value b, returns true if a < b.
lt(long, BigInteger) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a long value a and a BigInteger value b, returns true if a < b.
lt(long, BigInteger, boolean) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a long value a and a BigInteger value b, returns true if a < b.
lt(C, C) - Static method in class org.nerd4j.utils.math.CU
This is a null-safe method that, given two comparable values a and b, tells if a < b.
lt(C, C, boolean) - Static method in class org.nerd4j.utils.math.CU
This is a null-safe method that, given two comparable values a and b, tells if a < b.

M

MAX - Static variable in class org.nerd4j.utils.math.BD
Finds the maximum of two non-null BigDecimal values.
max(BigDecimal, double) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a BigDecimal value a and a double value b, returns the maximum value between them.
max(BigDecimal, double, boolean) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a BigDecimal value a and a double value b, returns the maximum value between them.
max(double, BigDecimal) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a double value a and a BigDecimal value b, returns the maximum value between them.
max(double, BigDecimal, boolean) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a double value a and a BigDecimal value b, returns the maximum value between them.
max(double, double) - Static method in class org.nerd4j.utils.math.BD
Given two double values a and b, returns a BigDecimal that represents the maximum of them.
MAX - Static variable in class org.nerd4j.utils.math.BI
Finds the maximum of two non-null BigInteger values.
max(BigInteger, long) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a BigInteger value a and a long value b, returns the maximum value between them.
max(BigInteger, long, boolean) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a BigInteger value a and a long value b, returns the maximum value between them.
max(long, BigInteger) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a long value a and a BigInteger value b, returns the maximum value between them.
max(long, BigInteger, boolean) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a long value a and a BigInteger value b, returns the maximum value between them.
max(long, long) - Static method in class org.nerd4j.utils.math.BI
Given two long values a and b, returns a BigInteger that represents the maximum of them.
max(C, C) - Static method in class org.nerd4j.utils.math.CU
This is a null-safe method that, given two comparable values a and b, returns the maximum value between them.
max(C, C, boolean) - Static method in class org.nerd4j.utils.math.CU
This is a null-safe method that, given two comparable values a and b, returns the maximum value between them.
MAX_VALUE - Static variable in class org.nerd4j.utils.math.PrimeSieve
The greatest value theoretically handled by this class is 3*237-577 i.e.
middle - Variable in class org.nerd4j.utils.tuple.Triple
The middle element of the triple.
MiddleBuilder(L, Comparator<L>) - Constructor for class org.nerd4j.utils.tuple.ComparableTriple.MiddleBuilder
Constructor with parameters.
MIN - Static variable in class org.nerd4j.utils.math.BD
Finds the minimum of two non-null BigDecimal values.
min(BigDecimal, double) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a BigDecimal value a and a double value b, returns the minimum value between them.
min(BigDecimal, double, boolean) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a BigDecimal value a and a double value b, returns the minimum value between them.
min(double, BigDecimal) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a double value a and a BigDecimal value b, returns the minimum value between them.
min(double, BigDecimal, boolean) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a double value a and a BigDecimal value b, returns the minimum value between them.
min(double, double) - Static method in class org.nerd4j.utils.math.BD
Given two double values a and b, returns a BigDecimal that represents the minimum of them.
MIN - Static variable in class org.nerd4j.utils.math.BI
Finds the minimum of two non-null BigInteger values.
min(BigInteger, long) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a BigInteger value a and a long value b, returns the minimum value between them.
min(BigInteger, long, boolean) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a BigInteger value a and a long value b, returns the minimum value between them.
min(long, BigInteger) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a long value a and a BigInteger value b, returns the minimum value between them.
min(long, BigInteger, boolean) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a long value a and a BigInteger value b, returns the minimum value between them.
min(long, long) - Static method in class org.nerd4j.utils.math.BI
Given two long values a and b, returns a BigInteger that represents the minimum of them.
min(C, C) - Static method in class org.nerd4j.utils.math.CU
This is a null-safe method that, given two comparable values a and b, returns the minimum value between them.
min(C, C, boolean) - Static method in class org.nerd4j.utils.math.CU
This is a null-safe method that, given two comparable values a and b, returns the minimum value between them.
MIN_MEMORY_CONSUMPTION_IN_BYTES - Static variable in class org.nerd4j.utils.math.PrimeSieve
The minimum amount of memory allocated by this object when new created.
MOD - Static variable in class org.nerd4j.utils.math.BI
Performs the module of two non-null BigInteger values.
mod(BigInteger, BigInteger) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given two BigInteger values a and b, returns a mod b.
mod(BigInteger, long) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a BigInteger value a and a long value b, returns a mod b.
mod(long, BigInteger) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a long value a and a BigInteger value b, returns a mod b.
mod(long, long) - Static method in class org.nerd4j.utils.math.BI
Given two long values a and b, returns a BigInteger that represents the value a mod b.
MUL - Static variable in class org.nerd4j.utils.math.BD
Performs the multiplication of two non-null BigDecimal values.
mul(BigDecimal, BigDecimal) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given two BigDecimal values a and b, returns a * b.
mul(BigDecimal, double) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a BigDecimal value a and a double value b, returns a * b.
mul(double, BigDecimal) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a double value a and a BigDecimal value b, returns a * b.
mul(double, double) - Static method in class org.nerd4j.utils.math.BD
Given two double values a and b, returns a BigDecimal that represents the value a * b.
MUL - Static variable in class org.nerd4j.utils.math.BI
Performs the multiplication of two non-null BigInteger values.
mul(BigInteger, BigInteger) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given two BigInteger values a and b, returns a * b.
mul(BigInteger, long) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a BigInteger value a and a long value b, returns a * b.
mul(long, BigInteger) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a long value a and a BigInteger value b, returns a * b.
mul(long, long) - Static method in class org.nerd4j.utils.math.BI
Given two long values a and b, returns a BigInteger that represents the value a * b.

N

name - Variable in class org.nerd4j.utils.lang.ToString.Configuration.Field
The name of the field.
ne(T) - Method in interface org.nerd4j.utils.lang.Comparative
Tells if this object is not equal to the given object.
ne(BigDecimal, double) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a BigDecimal value a and a double value b, returns true if {@code a !
ne(BigDecimal, double, boolean) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a BigDecimal value a and a double value b, returns true if {@code a !
ne(double, BigDecimal) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a double value a and a BigDecimal value b, returns true if {@code a !
ne(double, BigDecimal, boolean) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a double value a and a BigDecimal value b, returns true if {@code a !
ne(BigInteger, long) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a BigInteger value a and a long value b, returns true if {@code a !
ne(BigInteger, long, boolean) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a BigInteger value a and a long value b, returns true if {@code a !
ne(long, BigInteger) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a long value a and a BigInteger value b, returns true if {@code a !
ne(long, BigInteger, boolean) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a long value a and a BigInteger value b, returns true if {@code a !
ne(C, C) - Static method in class org.nerd4j.utils.math.CU
This is a null-safe method that, given two comparable values a and b, tells if {@code a !
ne(C, C, boolean) - Static method in class org.nerd4j.utils.math.CU
This is a null-safe method that, given two comparable values a and b, tells if {@code a !
nonBlank(String) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified String satisfies blank(String).
nonBlank(String, String) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified String satisfies blank(String) and throws a customized RequirementFailure if not.
nonBlank(String, Supplier<String>) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified String satisfies blank(String) and throws a customized RequirementFailure if not.
nonEmpty(Emptily) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified Emptily reference is not null nor empty.
nonEmpty(Emptily, String) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified Emptily reference is not null nor empty and throws a customized RequirementFailure if it is.
nonEmpty(Emptily, Supplier<String>) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified Emptily reference is not null nor empty and throws a customized RequirementFailure if it is.
nonEmpty(String) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified String reference is not null nor empty.
nonEmpty(String, String) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified String reference is not null nor empty and throws a customized RequirementFailure if it is.
nonEmpty(String, Supplier<String>) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified String reference is not null nor empty and throws a customized RequirementFailure if it is.
nonEmpty(C) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified Collection reference is not null nor empty.
nonEmpty(C, String) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified Collection reference is not null nor empty and throws a customized RequirementFailure if it is.
nonEmpty(C, Supplier<String>) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified Collection reference is not null nor empty and throws a customized RequirementFailure if it is.
nonEmpty(M) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified Map reference is not null nor empty.
nonEmpty(M, String) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified Map reference is not null nor empty and throws a customized RequirementFailure if it is.
nonEmpty(M, Supplier<String>) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified Map reference is not null nor empty and throws a customized RequirementFailure if it is.
nonEmpty(V[]) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified array reference is not null nor empty.
nonEmpty(V[], String) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified array reference is not null nor empty and throws a customized RequirementFailure if it is.
nonEmpty(V[], Supplier<String>) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified array reference is not null nor empty and throws a customized RequirementFailure if it is.
nonEmpty(boolean[]) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified array reference is not null nor empty.
nonEmpty(boolean[], String) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified array reference is not null nor empty and throws a customized RequirementFailure if it is.
nonEmpty(boolean[], Supplier<String>) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified array reference is not null nor empty and throws a customized RequirementFailure if it is.
nonEmpty(char[]) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified array reference is not null nor empty.
nonEmpty(char[], String) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified array reference is not null nor empty and throws a customized RequirementFailure if it is.
nonEmpty(char[], Supplier<String>) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified array reference is not null nor empty and throws a customized RequirementFailure if it is.
nonEmpty(byte[]) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified array reference is not null nor empty.
nonEmpty(byte[], String) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified array reference is not null nor empty and throws a customized RequirementFailure if it is.
nonEmpty(byte[], Supplier<String>) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified array reference is not null nor empty and throws a customized RequirementFailure if it is.
nonEmpty(short[]) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified array reference is not null nor empty.
nonEmpty(short[], String) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified array reference is not null nor empty and throws a customized RequirementFailure if it is.
nonEmpty(short[], Supplier<String>) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified array reference is not null nor empty and throws a customized RequirementFailure if it is.
nonEmpty(int[]) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified array reference is not null nor empty.
nonEmpty(int[], String) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified array reference is not null nor empty and throws a customized RequirementFailure if it is.
nonEmpty(int[], Supplier<String>) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified array reference is not null nor empty and throws a customized RequirementFailure if it is.
nonEmpty(float[]) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified array reference is not null nor empty.
nonEmpty(float[], String) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified array reference is not null nor empty and throws a customized RequirementFailure if it is.
nonEmpty(float[], Supplier<String>) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified array reference is not null nor empty and throws a customized RequirementFailure if it is.
nonEmpty(long[]) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified array reference is not null nor empty.
nonEmpty(long[], String) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified array reference is not null nor empty and throws a customized RequirementFailure if it is.
nonEmpty(long[], Supplier<String>) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified array reference is not null nor empty and throws a customized RequirementFailure if it is.
nonEmpty(double[]) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified array reference is not null nor empty.
nonEmpty(double[], String) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified array reference is not null nor empty and throws a customized RequirementFailure if it is.
nonEmpty(double[], Supplier<String>) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified array reference is not null nor empty and throws a customized RequirementFailure if it is.
nonNull(V) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified object reference is not null.
nonNull(V, String) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified object reference is not null and throws a customized RequirementFailure if it is.
nonNull(V, Supplier<String>) - Static method in class org.nerd4j.utils.lang.Require
Checks that the specified object reference is not null and throws a customized RequirementFailure if it is.
NoSuchIntervalException - Exception in org.nerd4j.utils.math
This exception is thrown by the method Interval.unify(Interval) when trying to unify two Intervals that cannot be unified.
NoSuchIntervalException(Interval<?>, Interval<?>, String) - Constructor for exception org.nerd4j.utils.math.NoSuchIntervalException
Constructs a new exception to report a failed union between the two provided intervals.
NULL(Object) - Static method in class org.nerd4j.utils.lang.Is
Checks if the given value is null.
NULL(Object) - Static method in class org.nerd4j.utils.lang.IsNot
Checks if the given value is not null.
nullFirstNaturalOrderComparator() - Static method in class org.nerd4j.utils.math.CU
Returns a null-safe natural ordered comparator considering null to be less than non-null.
nullLastNaturalOrderComparator() - Static method in class org.nerd4j.utils.math.CU
Returns a null-safe natural ordered comparator considering null to be greater than non-null.
nullSafeNaturalOrderComparator(boolean) - Static method in class org.nerd4j.utils.math.CU
Returns a null-safe natural ordered comparator considering null to be less than or greater than non-null based on the value of the parameter.

O

of(boolean, boolean, boolean) - Static method in class org.nerd4j.utils.cache.CacheConfig
Creates a new CacheConfig with the default cache and touch durations and given values.
of(long, long, boolean, boolean, boolean) - Static method in class org.nerd4j.utils.cache.CacheConfig
Creates a new CacheConfig with the given values.
of(V, long) - Static method in class org.nerd4j.utils.cache.CacheEntry
Creates a new CacheEntry with the given value and duration.
of(V, Instant) - Static method in class org.nerd4j.utils.cache.CacheEntry
Creates a new CacheEntry with the given value and duration.
of(Class<?>, Object...) - Static method in class org.nerd4j.utils.cache.CacheKey
Creates a new cache key with the given values.
of(Class<?>, String, Object...) - Static method in class org.nerd4j.utils.cache.CacheKey
Creates a new cache key with the given values.
of(Object...) - Method in class org.nerd4j.utils.cache.CacheKey.Prototype
Creates a new CacheKey with the given values.
of(Object) - Static method in class org.nerd4j.utils.lang.Hashcode
Creates an hash code based on the given object.
of(Object, Object...) - Static method in class org.nerd4j.utils.lang.Hashcode
Creates an hash code based on the given base object and an arbitrary long series of other objects.
of(Object) - Static method in class org.nerd4j.utils.lang.ToString
Returns an instance of ToString.Configurator in order to instruct the ToString facility on how to build the text representation of the given object.
of(double) - Static method in class org.nerd4j.utils.math.BD
Wrapper for the method BigDecimal.valueOf(double).
of(long) - Static method in class org.nerd4j.utils.math.BD
Wrapper for the method BigDecimal.valueOf(long).
of(String) - Static method in class org.nerd4j.utils.math.BD
Transforms the string representation of a number into a BigDecimal.
of(BigInteger) - Static method in class org.nerd4j.utils.math.BD
Transforms the given BigInteger into a BigDecimal.
of(long) - Static method in class org.nerd4j.utils.math.BI
Wrapper for the method BigInteger.valueOf(long).
of(String) - Static method in class org.nerd4j.utils.math.BI
Transforms the string representation of a number into a BigInteger.
of(L, R) - Static method in class org.nerd4j.utils.tuple.ComparablePair
Creates a new ComparablePair with the given Comparable values.
of(Pair<L, R>) - Static method in class org.nerd4j.utils.tuple.ComparablePair
Creates a new ComparablePair starting from the given Pair of Comparable values.
of(L, boolean, R, boolean) - Static method in class org.nerd4j.utils.tuple.ComparablePair
Creates a new ComparablePair with the given values.
of(Pair<L, R>, boolean, boolean) - Static method in class org.nerd4j.utils.tuple.ComparablePair
Creates a new ComparablePair starting from the given Pair of Comparable values and applies the given behavior for null values.
of(L, Comparator<L>, R, Comparator<R>) - Static method in class org.nerd4j.utils.tuple.ComparablePair
Creates a new ComparablePair with the given values.
of(Pair<L, R>, Comparator<L>, Comparator<R>) - Static method in class org.nerd4j.utils.tuple.ComparablePair
Creates a new ComparablePair starting from the given Pair of Comparable values and applies the given value comparators.
of(L, M, R) - Static method in class org.nerd4j.utils.tuple.ComparableTriple
Creates a new ComparableTriple with the given Comparable values.
of(Triple<L, M, R>) - Static method in class org.nerd4j.utils.tuple.ComparableTriple
Creates a new ComparableTriple with the given Comparable values.
of(L, boolean, M, boolean, R, boolean) - Static method in class org.nerd4j.utils.tuple.ComparableTriple
Creates a new ComparableTriple with the given values.
of(Triple<L, M, R>, boolean, boolean, boolean) - Static method in class org.nerd4j.utils.tuple.ComparableTriple
Creates a new ComparableTriple starting from the given Triple of Comparable values and applies the given behavior for null values.
of(L, Comparator<L>, M, Comparator<M>, R, Comparator<R>) - Static method in class org.nerd4j.utils.tuple.ComparableTriple
Creates a new ComparableTriple with the given values.
of(Triple<L, M, R>, Comparator<L>, Comparator<M>, Comparator<R>) - Static method in class org.nerd4j.utils.tuple.ComparableTriple
Creates a new ComparableTriple starting from the given Triple of Comparable values and applies the given value comparators.
of(L, R) - Static method in class org.nerd4j.utils.tuple.Pair
Creates a new Pair with the given values.
of(L, M, R) - Static method in class org.nerd4j.utils.tuple.Triple
Creates a new Triple with the given values.
open(T, T) - Static method in class org.nerd4j.utils.math.Interval
Creates a new open Interval with the given limits.
openClosed(T, T) - Static method in class org.nerd4j.utils.math.Interval
Creates a new Interval with an open inferior limit and a closed superior limit.
openInf(T) - Static method in class org.nerd4j.utils.math.Interval
Creates a new Interval with a open inferior limit and an unbounded superior limit.
openSup(T) - Static method in class org.nerd4j.utils.math.Interval
Creates a new Interval with a open superior limit and an unbounded inferior limit.
OR - Static variable in class org.nerd4j.utils.math.BI
Performs the binary or of of two non-null BigInteger values.
or(BigInteger, BigInteger) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given two BigInteger values a and b, returns the binary operation a | b.
or(BigInteger, long) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a BigInteger value a and a long value b, returns the binary operation a | b.
or(long, BigInteger) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a long value a and a BigInteger value b, returns the binary operation a | b.
or(long, long) - Static method in class org.nerd4j.utils.math.BI
Given two long values a and b, returns a BigInteger that represents the binary operation a | b.
org.nerd4j.utils.cache - package org.nerd4j.utils.cache
 
org.nerd4j.utils.lang - package org.nerd4j.utils.lang
 
org.nerd4j.utils.math - package org.nerd4j.utils.math
 
org.nerd4j.utils.tuple - package org.nerd4j.utils.tuple
 
overlaps(Interval<T>) - Method in class org.nerd4j.utils.math.Interval
Tells if this interval overlaps the given one.

P

Pair<L,R> - Class in org.nerd4j.utils.tuple
Represents an immutable pair of values.
Pair() - Constructor for class org.nerd4j.utils.tuple.Pair
Default constructor.
Pair(L, R) - Constructor for class org.nerd4j.utils.tuple.Pair
Constructor with parameters.
PrimeSieve - Class in org.nerd4j.utils.math
This class permits calculations about prime numbers.
PrimeSieve(long) - Constructor for class org.nerd4j.utils.math.PrimeSieve
Constructor with parameters.
print(Object...) - Method in interface org.nerd4j.utils.lang.ToString.Configurator
Adds the given list of values as unnamed Fields in the resulting ToString.Configuration.
print(String, Object) - Method in interface org.nerd4j.utils.lang.ToString.Configurator
Adds the given <name,value> pair as a named Field in the resulting ToString.Configuration.
prototype(Class<?>) - Static method in class org.nerd4j.utils.cache.CacheKey
Creates a new cache key prototype with the given data model type.
prototype(Class<?>, String) - Static method in class org.nerd4j.utils.cache.CacheKey
Creates a new cache key prototype with the given values.
Prototype() - Constructor for class org.nerd4j.utils.cache.CacheKey.Prototype
Default constructor.
Prototype(Class<?>, String) - Constructor for class org.nerd4j.utils.cache.CacheKey.Prototype
Constructor with parameters.
put(CacheKey, V, long) - Method in class org.nerd4j.utils.cache.AbstractCacheProvider
Inserts the given key and the related value into the cache.
put(CacheKey, V) - Method in class org.nerd4j.utils.cache.AbstractSelfLoadingCache
Puts the given key-value pair into the cache.
put(CacheKey, V, long) - Method in interface org.nerd4j.utils.cache.CacheProvider
Inserts the given key and the related value into the cache.

R

REM - Static variable in class org.nerd4j.utils.math.BD
Performs the reminder of the division of two non-null BigDecimal values.
rem(BigDecimal, BigDecimal) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given two BigDecimal values a and b, returns a % b.
rem(BigDecimal, double) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a BigDecimal value a and a double value b, returns a % b.
rem(double, BigDecimal) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a double value a and a BigDecimal value b, returns a % b.
rem(double, double) - Static method in class org.nerd4j.utils.math.BD
Given two double values a and b, returns a BigDecimal that represents the value a % b.
REM - Static variable in class org.nerd4j.utils.math.BI
Performs the reminder of the division of two non-null BigInteger values.
rem(BigInteger, BigInteger) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given two BigInteger values a and b, returns a % b.
rem(BigInteger, long) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a BigInteger value a and a long value b, returns a % b.
rem(long, BigInteger) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a long value a and a BigInteger value b, returns a % b.
rem(long, long) - Static method in class org.nerd4j.utils.math.BI
Given two long values a and b, returns a BigInteger that represents the value a % b.
remove(CacheKey) - Method in class org.nerd4j.utils.cache.AbstractCacheProvider
Removes the given key from the cache.
remove(CacheKey) - Method in interface org.nerd4j.utils.cache.CacheProvider
Removes the given key from the cache.
Require - Class in org.nerd4j.utils.lang
Assertion utility class that assists in validating arguments.
RequirementFailure - Exception in org.nerd4j.utils.lang
This error is created by the {Require utility class if a given requirement fails.
RequirementFailure(String) - Constructor for exception org.nerd4j.utils.lang.RequirementFailure
Constructs a new exception with the specified detail message.
RequirementFailure(Throwable) - Constructor for exception org.nerd4j.utils.lang.RequirementFailure
Constructs a new exception with the specified cause and a detail message of {@code (cause==null ?
RequirementFailure(String, Throwable) - Constructor for exception org.nerd4j.utils.lang.RequirementFailure
Constructs a new exception with the specified detail message and cause.
retrieve(CacheKey) - Method in interface org.nerd4j.utils.cache.DataProvider
Returns the data to cache in relation with the given key.
right - Variable in class org.nerd4j.utils.tuple.Pair
The right element of the pair.
right - Variable in class org.nerd4j.utils.tuple.Triple
The right element of the triple.

S

SelfLoadingCache<V> - Interface in org.nerd4j.utils.cache
Represents a cache facade able to query and populate the underlying caching system.
SelfLoadingCacheBuilder<V> - Class in org.nerd4j.utils.cache
Implementation of the pattern Builder to build default instances of the SelfLoadingCache interface.
SelfLoadingCacheBuilder(CacheProvider<V>) - Constructor for class org.nerd4j.utils.cache.SelfLoadingCacheBuilder
Default constructor.
setAsyncInsert(boolean) - Method in class org.nerd4j.utils.cache.SelfLoadingCacheBuilder
Sets the given flag to tell if the cache should insert new keys asynchronously.
setAsyncUpdate(boolean) - Method in class org.nerd4j.utils.cache.SelfLoadingCacheBuilder
Sets the given flag to tell if the cache should update existing keys asynchronously.
setCacheDuration(long) - Method in class org.nerd4j.utils.cache.SelfLoadingCacheBuilder
Sets the given value for the cache duration.
setThrowCacheProviderExceptions(boolean) - Method in class org.nerd4j.utils.cache.SelfLoadingCacheBuilder
Sets the given flag to tell if the cache should propagate cache related exceptions.
setTouchDuration(long) - Method in class org.nerd4j.utils.cache.SelfLoadingCacheBuilder
Sets the given value for the touch duration.
size() - Method in class org.nerd4j.utils.cache.HeapCacheProvider
Returns the number of entries in the cache.
SUB - Static variable in class org.nerd4j.utils.math.BD
Performs the subtraction of two non-null BigDecimal values.
sub(BigDecimal, BigDecimal) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given two BigDecimal values a and b, returns a - b.
sub(BigDecimal, double) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a BigDecimal value a and a double value b, returns a - b.
sub(double, BigDecimal) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a double value a and a BigDecimal value b, returns a - b.
sub(double, double) - Static method in class org.nerd4j.utils.math.BD
Given two double values a and b, returns a BigDecimal that represents the value a - b.
SUB - Static variable in class org.nerd4j.utils.math.BI
Performs the subtraction of two non-null BigInteger values.
sub(BigInteger, BigInteger) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given two BigInteger values a and b, returns a - b.
sub(BigInteger, long) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a BigInteger value a and a long value b, returns a - b.
sub(long, BigInteger) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a long value a and a BigInteger value b, returns a - b.
sub(long, long) - Static method in class org.nerd4j.utils.math.BI
Given two long values a and b, returns a BigInteger that represents the value a - b.
subtract(Interval<T>) - Method in class org.nerd4j.utils.math.Interval
Returns an interval containing only those elements that belongs to this interval but not to the given one.
SUM - Static variable in class org.nerd4j.utils.math.BD
Performs the sum of two non-null BigDecimal values.
sum(BigDecimal, BigDecimal) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given two BigDecimal values a and b, returns a + b.
sum(BigDecimal, double) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a BigDecimal value a and a double value b, returns a + b.
sum(double, BigDecimal) - Static method in class org.nerd4j.utils.math.BD
This is a null-safe method that, given a double value a and a BigDecimal value b, returns a + b.
sum(double, double) - Static method in class org.nerd4j.utils.math.BD
Given two double values a and b, returns a BigDecimal that represents the value a + b.
SUM - Static variable in class org.nerd4j.utils.math.BI
Performs the sum of two non-null BigInteger values.
sum(BigInteger, BigInteger) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given two BigInteger values a and b, returns a + b.
sum(BigInteger, long) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a BigInteger value a and a long value b, returns a + b.
sum(long, BigInteger) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a long value a and a BigInteger value b, returns a + b.
sum(long, long) - Static method in class org.nerd4j.utils.math.BI
Given two long values a and b, returns a BigInteger that represents the value a + b.

T

target() - Method in interface org.nerd4j.utils.lang.ToString.Configuration
Returns the object of which to build the String representation.
toHold(boolean) - Static method in class org.nerd4j.utils.lang.Require
Checks the given assertion to be true.
toHold(boolean, String) - Static method in class org.nerd4j.utils.lang.Require
Checks the given assertion to be true and throws a customized RequirementFailure if not.
toHold(boolean, Supplier<String>) - Static method in class org.nerd4j.utils.lang.Require
Checks the given assertion to be true and throws a customized RequirementFailure if not.
toString() - Method in class org.nerd4j.utils.cache.CacheConfig
toString() - Method in class org.nerd4j.utils.cache.CacheEntry
toString() - Method in class org.nerd4j.utils.cache.CacheKey.Prototype
toString() - Method in class org.nerd4j.utils.cache.CacheKey
ToString - Class in org.nerd4j.utils.lang
This utility class is intended to be used inside the method Object.toString() of a class.
toString() - Method in class org.nerd4j.utils.math.Interval
toString() - Method in class org.nerd4j.utils.math.PrimeSieve
toString() - Method in class org.nerd4j.utils.tuple.Pair
toString() - Method in class org.nerd4j.utils.tuple.Triple
ToString.Configuration - Interface in org.nerd4j.utils.lang
Contains the information needed by the ToString.Printer to know how to build the String representation of an object.
ToString.Configuration.Field - Class in org.nerd4j.utils.lang
Represents a field to be displayed in the resulting String.
ToString.Configurator - Interface in org.nerd4j.utils.lang
Implementation of the Pattern Builder with the purpose to properly create a ToString.Configuration.
ToString.Printer - Interface in org.nerd4j.utils.lang
Represents a printer able to build the String representation of an object using the given ToString.Configuration.
touch(CacheKey, long) - Method in class org.nerd4j.utils.cache.AbstractCacheProvider
Defers the expiration time of the entry related to the given key.
touch(CacheKey, long) - Method in interface org.nerd4j.utils.cache.CacheProvider
Defers the expiration time of the entry related to the given key.
Triple<L,M,R> - Class in org.nerd4j.utils.tuple
Represents an immutable triple of values.
Triple() - Constructor for class org.nerd4j.utils.tuple.Triple
Default constructor.
Triple(L, M, R) - Constructor for class org.nerd4j.utils.tuple.Triple
Constructor with parameters.
trueFor(V, boolean) - Static method in class org.nerd4j.utils.lang.Require
Checks the given assertion to hold for the specified value.
trueFor(V, boolean, String) - Static method in class org.nerd4j.utils.lang.Require
Checks the given assertion to hold for the specified value and throws a customized RequirementFailure if not.
trueFor(V, boolean, Supplier<String>) - Static method in class org.nerd4j.utils.lang.Require
Checks the given assertion to hold for the specified value.

U

unbounded() - Static method in class org.nerd4j.utils.math.Interval
Returns the singleton instance of an unbounded Interval.
unify(Interval<T>) - Method in class org.nerd4j.utils.math.Interval
Returns an interval containing those elements that belongs to at least one between this interval and the given one.
update(CacheKey, CacheEntry<V>, DataProvider<V>) - Method in class org.nerd4j.utils.cache.AbstractSelfLoadingCache
Updates the cache for the given key and the related value.
using(String, String, String, String) - Method in interface org.nerd4j.utils.lang.ToString.Configurator
Creates an output of the method Object.toString() using the given prefix and suffix and using the given separators.
using(String, String, String) - Method in interface org.nerd4j.utils.lang.ToString.Configurator
This is a convenience method.

V

value - Variable in class org.nerd4j.utils.lang.ToString.Configuration.Field
The value of the field.
version() - Method in class org.nerd4j.utils.cache.CacheKey
Returns the version of the data model identified by this cache key.

W

withAsyncInsert(boolean) - Method in class org.nerd4j.utils.cache.SelfLoadingCacheBuilder
Sets the given flag to tell if the cache should insert new keys asynchronously and returns this builder instance.
withAsyncUpdate(boolean) - Method in class org.nerd4j.utils.cache.SelfLoadingCacheBuilder
Sets the given flag to tell if the cache should update existing keys asynchronously and returns this builder instance.
withCacheDuration(long) - Method in class org.nerd4j.utils.cache.SelfLoadingCacheBuilder
Sets the given value for the cache duration and returns this builder instance.
withCustomClassName(String) - Method in interface org.nerd4j.utils.lang.ToString.Configurator
Tells the ToString class to print the given text instead of the class name.
withFullClassName() - Method in interface org.nerd4j.utils.lang.ToString.Configurator
Tells the ToString class to print the full qualified class name.
withLeft(L) - Static method in class org.nerd4j.utils.tuple.ComparablePair
Creates a new ComparablePair.Builder with the given left value.
withLeft(L, boolean) - Static method in class org.nerd4j.utils.tuple.ComparablePair
Creates a new ComparablePair.Builder with the given left values.
withLeft(L, Comparator<L>) - Static method in class org.nerd4j.utils.tuple.ComparablePair
Creates a new ComparablePair.Builder with the given left values.
withLeft(L) - Static method in class org.nerd4j.utils.tuple.ComparableTriple
Creates a new ComparableTriple.MiddleBuilder with the given left value.
withLeft(L, boolean) - Static method in class org.nerd4j.utils.tuple.ComparableTriple
Creates a new ComparableTriple.MiddleBuilder with the given left values.
withLeft(L, Comparator<L>) - Static method in class org.nerd4j.utils.tuple.ComparableTriple
Creates a new ComparableTriple.MiddleBuilder with the given left values.
withMemoryLimit(long) - Static method in class org.nerd4j.utils.math.PrimeSieve
Returns a new PrimeSieve that will use up to the given amount of memory.
withNoClassName() - Method in interface org.nerd4j.utils.lang.ToString.Configurator
Tells the ToString class to do not print the class name in any form.
withThrowCacheProviderExceptions(boolean) - Method in class org.nerd4j.utils.cache.SelfLoadingCacheBuilder
Sets the given flag to tell if the cache should propagate cache related exceptions and returns this builder instance.
withTouchDuration(long) - Method in class org.nerd4j.utils.cache.SelfLoadingCacheBuilder
Sets the given value for the touch duration and returns this builder instance.
withUpperLimit(long) - Static method in class org.nerd4j.utils.math.PrimeSieve
Returns a new PrimeSieve that will compute prime numbers up to the given value.

X

XOR - Static variable in class org.nerd4j.utils.math.BI
Performs the binary xor of of two non-null BigInteger values.
xor(BigInteger, BigInteger) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given two BigInteger values a and b, returns the binary operation a ^ b.
xor(BigInteger, long) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a BigInteger value a and a long value b, returns the binary operation a ^ b.
xor(long, BigInteger) - Static method in class org.nerd4j.utils.math.BI
This is a null-safe method that, given a long value a and a BigInteger value b, returns the binary operation a ^ b.
xor(long, long) - Static method in class org.nerd4j.utils.math.BI
Given two long values a and b, returns a BigInteger that represents the binary operation a ^ b.
A B C D E F G H I L M N O P R S T U V W X 
Skip navigation links

Copyright © 2011–2020 Nerd4j. All rights reserved.