Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
R
- Reaper() - Constructor for class org.tquadrat.foundation.lang.internal.TimeoutSemaphoreImpl.Reaper
-
Creates a new instance of
Reaper. - REAPER_CYCLE - Static variable in class org.tquadrat.foundation.lang.internal.TimeoutSemaphoreImpl
-
The cycle time for the reaper thread in milliseconds: 1000L ms.
- reaperExecutor - Variable in record class org.tquadrat.foundation.lang.internal.TimeoutSemaphoreImpl.Janitor
-
The field for the
reaperExecutorrecord component. - reaperExecutor() - Method in record class org.tquadrat.foundation.lang.internal.TimeoutSemaphoreImpl.Janitor
-
Returns the value of the
reaperExecutorrecord component. - reduce(BinaryOperator) - Method in class org.tquadrat.foundation.stream.internal.DefaultMapStream
- reduce(BinaryOperator) - Method in class org.tquadrat.foundation.stream.StreamAdapter
- reduce(Map.Entry, BinaryOperator) - Method in class org.tquadrat.foundation.stream.internal.DefaultMapStream
- reduce(T, BinaryOperator) - Method in class org.tquadrat.foundation.stream.StreamAdapter
- reduce(U, BiFunction, BinaryOperator) - Method in class org.tquadrat.foundation.stream.internal.DefaultMapStream
- reduce(U, BiFunction, BinaryOperator) - Method in class org.tquadrat.foundation.stream.StreamAdapter
- registerJanitor(Runnable) - Method in class org.tquadrat.foundation.lang.internal.TimeoutSemaphoreImpl
-
Registers the janitor that is doing the housekeeping on garbage collection.
- reject(Stream, Predicate) - Static method in class org.tquadrat.foundation.stream.StreamUtils
-
Filters with the condition negated.
- release(UUID) - Method in class org.tquadrat.foundation.lang.internal.TimeoutSemaphoreImpl
-
Releases the number of permits associated with the token with the given id, returning them to the semaphore.
- require(T, String, Predicate) - Static method in class org.tquadrat.foundation.lang.Objects
-
Applies the given validation on the given value, and if that fails, an
ValidationExceptionwith the specified message is thrown. - require(T, Function, Predicate) - Static method in class org.tquadrat.foundation.lang.Objects
-
Applies the given validation on the given value, and if that fails, a customized
ValidationExceptionis thrown. - require(T, Predicate) - Static method in class org.tquadrat.foundation.lang.Objects
-
Applies the given validation on the given value, and if that fails, an
ValidationExceptionis thrown. - require(T, Supplier, Predicate) - Static method in class org.tquadrat.foundation.lang.Objects
-
Applies the given validation on the given value, and if that fails, a customized
ValidationExceptionis thrown. - requireNonNull(T) - Static method in class org.tquadrat.foundation.lang.Objects
- requireNonNull(T, String) - Static method in class org.tquadrat.foundation.lang.Objects
-
Checks if the given value
objisnulland throws aValidationExceptionwith the specified message if it isnull. - requireNonNull(T, Supplier) - Static method in class org.tquadrat.foundation.lang.Objects
-
Checks that the specified object reference is not
nulland throws a customizedValidationExceptionif it is. - requireNonNullArgument(T, Object, String, String) - Static method in class org.tquadrat.foundation.lang.Objects
-
Checks if not both of the given arguments
argandotherArgarenulland throws aNullArgumentExceptionif both arenull. - requireNonNullArgument(T, String) - Static method in class org.tquadrat.foundation.lang.Objects
- requireNonNullElse(T, T) - Static method in class org.tquadrat.foundation.lang.Objects
-
Returns the first argument if it is not
null, otherwise it returns the non-nullsecond argument. - requireNonNullElseGet(T, Supplier) - Static method in class org.tquadrat.foundation.lang.Objects
-
Returns the first argument if it is not
null, otherwise it returns the non-nullvalue returned bysupplier.get(). - requireNotBlankArgument(T, String) - Static method in class org.tquadrat.foundation.lang.Objects
-
Checks if the given String argument
argisnull, empty or blank and throws aNullArgumentExceptionif it isnull, anEmptyArgumentExceptionif it is empty, or aBlankArgumentExceptionif it is blank. - requireNotEmptyArgument(Optional, String) - Static method in class org.tquadrat.foundation.lang.Objects
-
Checks if the given argument
optionalof typeOptionalisnullor empty and throws aNullArgumentExceptionif it isnull, or aEmptyArgumentExceptionif it is empty. - requireNotEmptyArgument(T, String) - Static method in class org.tquadrat.foundation.lang.Objects
-
Checks if the given argument
argisnullor empty and throws aNullArgumentExceptionif it isnull, or anEmptyArgumentExceptionif it is empty. - requireValidArgument(T, String, Predicate) - Static method in class org.tquadrat.foundation.lang.Objects
-
Applies the given validation on the given value, and if that fails, an
ValidationExceptionwith a default message is thrown. - requireValidArgument(T, String, Predicate, BiFunction) - Static method in class org.tquadrat.foundation.lang.Objects
-
Applies the given validation on the given value, and if that fails, a
ValidationExceptionis thrown. - requireValidArgument(T, String, Predicate, UnaryOperator) - Static method in class org.tquadrat.foundation.lang.Objects
-
Deprecated, for removal: This API element is subject to removal in a future version.
- requireValidDoubleArgument(double, String, DoublePredicate) - Static method in class org.tquadrat.foundation.lang.Objects
-
Applies the given validation on the given value, and if that fails, an
ValidationExceptionwith a default message is thrown. - requireValidDoubleArgument(double, String, DoublePredicate, BiFunction) - Static method in class org.tquadrat.foundation.lang.Objects
-
Applies the given validation on the given value, and if that fails, a
ValidationExceptionis thrown. - requireValidDoubleArgument(double, String, DoublePredicate, UnaryOperator) - Static method in class org.tquadrat.foundation.lang.Objects
-
Deprecated, for removal: This API element is subject to removal in a future version.Consider to migrate to
Objects.requireValidDoubleArgument(double,String,DoublePredicate,BiFunction) - requireValidIntegerArgument(int, String, IntPredicate) - Static method in class org.tquadrat.foundation.lang.Objects
-
Applies the given validation on the given value, and if that fails, an
ValidationExceptionwith a default message is thrown. - requireValidIntegerArgument(int, String, IntPredicate, BiFunction) - Static method in class org.tquadrat.foundation.lang.Objects
-
Applies the given validation on the given value, and if that fails, a
ValidationExceptionis thrown. - requireValidIntegerArgument(int, String, IntPredicate, UnaryOperator) - Static method in class org.tquadrat.foundation.lang.Objects
-
Deprecated, for removal: This API element is subject to removal in a future version.Consider the migration to
Objects.requireValidIntegerArgument(int,String,IntPredicate,BiFunction) - requireValidLongArgument(long, String, LongPredicate) - Static method in class org.tquadrat.foundation.lang.Objects
-
Applies the given validation on the given value, and if that fails, an
ValidationExceptionwith a default message is thrown. - requireValidLongArgument(long, String, LongPredicate, BiFunction) - Static method in class org.tquadrat.foundation.lang.Objects
-
Applies the given validation on the given value, and if that fails, a
ValidationExceptionis thrown. - requireValidLongArgument(long, String, LongPredicate, UnaryOperator) - Static method in class org.tquadrat.foundation.lang.Objects
-
Deprecated.Consider the migration to
Objects.requireValidLongArgument(long,String,LongPredicate,BiFunction). - requireValidNonNullArgument(T, String, Predicate) - Static method in class org.tquadrat.foundation.lang.Objects
-
Applies the given validation on the given value (that must not be
null), and if that fails, anValidationExceptionwith a default message is thrown. - requireValidNonNullArgument(T, String, Predicate, BiFunction) - Static method in class org.tquadrat.foundation.lang.Objects
-
Applies the given validation on the given value (that must not be
null), and if that fails, aValidationExceptionis thrown. - requireValidNonNullArgument(T, String, Predicate, UnaryOperator) - Static method in class org.tquadrat.foundation.lang.Objects
-
Deprecated, for removal: This API element is subject to removal in a future version.Consider the migration to
Objects.requireValidNonNullArgument(Object,String,Predicate,BiFunction) - result - Variable in record class org.tquadrat.foundation.lang.Status
-
The field for the
resultrecord component. - result() - Method in record class org.tquadrat.foundation.lang.Status
-
Returns the value of the
resultrecord component. - retrieveConverterForClass(Class) - Static method in class org.tquadrat.foundation.lang.internal.StringConverterService
-
Returns an instance of
StringConverterfor the givenClass. - retrieveConverterForEnum(Class) - Static method in class org.tquadrat.foundation.lang.internal.StringConverterService
-
Returns an instance of
StringConverterfor the givenEnumtype. - retrieveSubjectClasses(StringConverter) - Static method in class org.tquadrat.foundation.lang.internal.StringConverterService
-
Determines the key class for the given instance of
StringConverter. - right - Variable in record class org.tquadrat.foundation.lang.Pair
-
The field for the
rightrecord component. - right() - Method in record class org.tquadrat.foundation.lang.Pair
-
Returns the value of the
rightrecord component. - right(R) - Method in record class org.tquadrat.foundation.lang.Pair
-
Creates a new instance of
Pairwith the left value from this one and the given new right value. - roundRobin() - Static method in class org.tquadrat.foundation.stream.Selectors
-
Returns a "Round Robin"
Selectorimplementation. - run() - Method in interface org.tquadrat.foundation.lang.Action
-
The action.
- run() - Method in record class org.tquadrat.foundation.lang.internal.TimeoutSemaphoreImpl.Janitor
-
Performs the housekeeping.
- run() - Method in class org.tquadrat.foundation.lang.internal.TimeoutSemaphoreImpl.Reaper
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

Objects.requireValidArgument(Object,String,Predicate,BiFunction).