- call(MethodQuery) - Static method in class com.github.valid8j.pcond.forms.Functions
-
Returns a
Function
created from a method specified by a
methodQuery
.
- call(String, Object...) - Static method in class com.github.valid8j.pcond.forms.Functions
-
Returns a function that calls a method which matches the given methodName
and args
on the object given as input to it.
- callp(MethodQuery) - Static method in class com.github.valid8j.pcond.forms.Predicates
-
Returns a
Predicate
created from a method specified by a
methodQuery
.
- callp(String, Object...) - Static method in class com.github.valid8j.pcond.forms.Predicates
-
Returns a predicate that calls a method which matches the given methodName
and args
on the object given as input to it.
- cast(Class<E>) - Static method in class com.github.valid8j.pcond.forms.Functions
-
Returns a function that casts an object into a given class.
- castTo(Class<OO>) - Method in class com.github.valid8j.pcond.core.printable.PrintablePredicateFactory.TransformingPredicate.Factory
-
- castTo(E) - Static method in class com.github.valid8j.pcond.forms.Functions
-
Returns a function that casts an object into a given class.
- check(String, Predicate<R>) - Method in class com.github.valid8j.metamor.MetamorphicTestCaseFactory.BuilderBase
-
- check(Predicate<R>) - Method in class com.github.valid8j.metamor.MetamorphicTestCaseFactory.BuilderBase
-
- check(Function<BooleanChecker<Boolean>, Predicate<Boolean>>) - Method in interface com.github.valid8j.pcond.core.fluent.builtins.BooleanChecker
-
- check(Function<StringChecker<String>, Predicate<String>>) - Method in interface com.github.valid8j.pcond.core.fluent.builtins.StringChecker
-
- check(String, Predicate<? super P>) - Method in class com.github.valid8j.pcond.core.printable.PrintablePredicateFactory.TransformingPredicate.Factory
-
- check(Predicate<? super P>) - Method in class com.github.valid8j.pcond.core.printable.PrintablePredicateFactory.TransformingPredicate.Factory
-
- checkAllOf(Predicate<? super P>...) - Method in class com.github.valid8j.pcond.core.printable.PrintablePredicateFactory.TransformingPredicate.Factory
-
- checkArgument(boolean, Supplier<String>) - Static method in enum com.github.valid8j.pcond.internals.InternalChecks
-
- checker - Variable in class com.github.valid8j.metamor.MetamorphicTestCaseFactory.BuilderBase
-
- checker(Predicate<R>) - Method in class com.github.valid8j.metamor.MetamorphicTestCaseFactory.BuilderBase
-
- checker() - Method in interface com.github.valid8j.pcond.core.Evaluable.Transformation
-
- Checker<V extends Checker<V,T,R>,T,R> - Interface in com.github.valid8j.pcond.core.fluent
-
An interface that defines methods to check a target value.
- checker() - Method in class com.github.valid8j.pcond.core.printable.PrintablePredicateFactory.TransformingPredicate
-
- Checker.Base<V extends Checker<V,T,R>,T,R> - Class in com.github.valid8j.pcond.core.fluent
-
- checkerName() - Method in interface com.github.valid8j.pcond.core.Evaluable.Transformation
-
Returns a name of a checker, if any.
- checkerName() - Method in class com.github.valid8j.pcond.core.printable.PrintablePredicateFactory.TransformingPredicate
-
- checkInvariant(T, Predicate<? super T>) - Method in interface com.github.valid8j.pcond.validator.Validator
-
A method to check if a value
satisfies a predicate cond
.
- checkPostcondition(T, Predicate<? super T>) - Method in interface com.github.valid8j.pcond.validator.Validator
-
A method to check if a value
satisfies a predicate cond
.
- checkPrecondition(T, Predicate<? super T>) - Method in interface com.github.valid8j.pcond.validator.Validator
-
A method to check if a value
satisfies a predicate cond
.
- Checks - Enum in com.github.valid8j.pcond.experimentals.currying
-
A utility class for checking values that the "currying" mechanism of the pcond
library processes.
- checkValueAndThrowIfFails(T, Predicate<? super T>, BiFunction<T, Predicate<? super T>, String>, Validator.ExceptionFactory<Throwable>) - Method in interface com.github.valid8j.pcond.validator.Validator
-
The core method of the ValueChecker
.
- checkWithPredicate(Predicate<? super R>) - Method in interface com.github.valid8j.pcond.core.fluent.Checker
-
Checks if the target value satisfies the given predicate
.
- childPredicates() - Method in class com.github.valid8j.pcond.core.fluent.Matcher.Base
-
- children() - Method in interface com.github.valid8j.pcond.core.Evaluable.Composite
-
Returns the predicates with which the target value is evaluated.
- classMethod(Class<?>, String, Object...) - Static method in interface com.github.valid8j.pcond.core.refl.MethodQuery
-
Create a MethodQuery
object to search matching static methods.
- classMethod(Class<?>, String, Object...) - Static method in class com.github.valid8j.pcond.forms.Functions
-
Creates a
MethodQuery
object from given arguments to search for
static
methods.
- clone() - Method in class com.github.valid8j.pcond.core.printable.PrintableFunction
-
- clone() - Method in class com.github.valid8j.pcond.core.printable.PrintablePredicate
-
- clone() - Method in class com.github.valid8j.pcond.core.ValueHolder
-
- clone() - Method in class com.github.valid8j.pcond.validator.Validator.Configuration.Builder
-
- cloneObject() - Method in interface com.github.valid8j.metamor.IoContext.Ongoing
-
- close() - Method in interface com.github.valid8j.metamor.Dataset.OnGoing
-
- close() - Method in class com.github.valid8j.metamor.Dataset.OnGoing.Impl
-
- close() - Method in interface com.github.valid8j.metamor.IoContext.Ongoing
-
- collectionToList() - Static method in class com.github.valid8j.pcond.forms.Functions
-
Returns a function that creates and returns a list that contains all the elements in the given list.
- com.github.valid8j - package com.github.valid8j
-
This package collects entry point classes of the `valid8j` library.
- com.github.valid8j.classic - package com.github.valid8j.classic
-
A package for "classic" programming style of valid8j
, where a value to be checked and a predicate with which the value is checked are passed to checking methods.
- com.github.valid8j.fluent - package com.github.valid8j.fluent
-
This package hosts classes for "Fluent" programming model of valid8j
.
- com.github.valid8j.fluent.internals - package com.github.valid8j.fluent.internals
-
- com.github.valid8j.metamor - package com.github.valid8j.metamor
-
A package that holds classes for "Metamorphic Testing".
- com.github.valid8j.metamor.internals - package com.github.valid8j.metamor.internals
-
- com.github.valid8j.pcond - package com.github.valid8j.pcond
-
A package to store classes for "printable conditions".
- com.github.valid8j.pcond.core - package com.github.valid8j.pcond.core
-
A package to provide the core part of the pcond
's functionalities.
- com.github.valid8j.pcond.core.fluent - package com.github.valid8j.pcond.core.fluent
-
- com.github.valid8j.pcond.core.fluent.builtins - package com.github.valid8j.pcond.core.fluent.builtins
-
- com.github.valid8j.pcond.core.identifieable - package com.github.valid8j.pcond.core.identifieable
-
A package that provides a mechanism to make "identifieable" functions and predicates with at least one parameter for their creations.
- com.github.valid8j.pcond.core.printable - package com.github.valid8j.pcond.core.printable
-
A package that provides a mechanism to make functions and predicates (lambdas) printable.
- com.github.valid8j.pcond.core.refl - package com.github.valid8j.pcond.core.refl
-
Offers a mechanism to invoke a method dynamically.
- com.github.valid8j.pcond.experimentals.currying - package com.github.valid8j.pcond.experimentals.currying
-
The currying
package provides a mechanism to "curry" a multi-parameters function.
- com.github.valid8j.pcond.experimentals.currying.context - package com.github.valid8j.pcond.experimentals.currying.context
-
A package to provide the "Context" mechanism of the pcond
library.
- com.github.valid8j.pcond.experimentals.currying.multi - package com.github.valid8j.pcond.experimentals.currying.multi
-
A package to handle "multi-parameters" function.
- com.github.valid8j.pcond.experimentals.cursor - package com.github.valid8j.pcond.experimentals.cursor
-
- com.github.valid8j.pcond.fluent - package com.github.valid8j.pcond.fluent
-
A package to provide entry-point classes for the Fluent
style.
- com.github.valid8j.pcond.forms - package com.github.valid8j.pcond.forms
-
This package stores entry-point classes to static import
for your conveniences.
- com.github.valid8j.pcond.internals - package com.github.valid8j.pcond.internals
-
A package to place utility classes internally used by the pcond
library.
- com.github.valid8j.pcond.validator - package com.github.valid8j.pcond.validator
-
A package that holds classes providing core functionality of the pcond
package.
- com.github.valid8j.pcond.validator.exceptions - package com.github.valid8j.pcond.validator.exceptions
-
A package to store exception classes thrown when a condition passed to assertion/validation method of pcond
is not satisfied.
- ComparableNumberChecker<V extends ComparableNumberChecker<V,T,N>,T,N extends Number & Comparable<N>> - Interface in com.github.valid8j.pcond.core.fluent.builtins
-
- ComparableNumberTransformer<TX extends ComparableNumberTransformer<TX,V,T,N>,V extends ComparableNumberChecker<V,T,N>,T,N extends Number & Comparable<N>> - Interface in com.github.valid8j.pcond.core.fluent.builtins
-
- compose(Function<? super V, ? extends T>) - Method in class com.github.valid8j.pcond.core.printable.PrintableFunction
-
- compose(Function<? super T, ? extends R>, Function<? super R, ? extends S>) - Static method in enum com.github.valid8j.pcond.core.printable.PrintableFunctionFactory
-
- composeExplanation(String, List<EvaluationEntry>) - Method in interface com.github.valid8j.pcond.validator.ReportComposer
-
- composeExplanation(ReportComposer, String, List<EvaluationEntry>) - Static method in enum com.github.valid8j.pcond.validator.ReportComposer.Utils
-
Note that an exception thrown during an evaluation is normally caught by the framework.
- composeMessageForAssertion(T, Predicate<? super T>) - Method in interface com.github.valid8j.pcond.validator.MessageComposer
-
Compose a message string for a value
, which violates a general condition given as predicate
.
- composeMessageForAssertion(T, Predicate<? super T>) - Method in class com.github.valid8j.pcond.validator.MessageComposer.Default
-
- composeMessageForPostcondition(T, Predicate<? super T>) - Method in interface com.github.valid8j.pcond.validator.MessageComposer
-
Compose a message string for a value
, which violates a postcondition given as predicate
.
- composeMessageForPostcondition(T, Predicate<? super T>) - Method in class com.github.valid8j.pcond.validator.MessageComposer.Default
-
- composeMessageForPrecondition(T, Predicate<? super T>) - Method in interface com.github.valid8j.pcond.validator.MessageComposer
-
Compose a message string for a value
, which violates a precondition given as predicate
.
- composeMessageForPrecondition(T, Predicate<? super T>) - Method in class com.github.valid8j.pcond.validator.MessageComposer.Default
-
- composeMessageForValidation(T, Predicate<? super T>) - Method in interface com.github.valid8j.pcond.validator.MessageComposer
-
Compose a message string for a value
, which violates a user input checking
condition given as predicate
.
- composeMessageForValidation(T, Predicate<? super T>) - Method in class com.github.valid8j.pcond.validator.MessageComposer.Default
-
- configuration() - Method in interface com.github.valid8j.pcond.validator.Validator
-
Returns a configuration object that determines behaviors of this object.
- configuration() - Method in class com.github.valid8j.pcond.validator.Validator.Impl
-
- configurationFromProperties(Properties) - Static method in interface com.github.valid8j.pcond.validator.Validator
-
- Conjunction(List<Predicate<? super T>>, boolean) - Constructor for class com.github.valid8j.pcond.core.printable.PrintablePredicateFactory.Conjunction
-
- connect(List<Predicate<T>>) - Method in enum com.github.valid8j.pcond.core.fluent.Matcher.JunctionType
-
- containing(E) - Method in interface com.github.valid8j.pcond.core.fluent.builtins.ListChecker
-
- containing(String) - Method in interface com.github.valid8j.pcond.core.fluent.builtins.StringChecker
-
Checks if the given token is contained by the target value.
- containingElementsInOrder(List<Predicate<E>>) - Method in interface com.github.valid8j.pcond.core.fluent.builtins.ListChecker
-
- containingElementsInOrder(E...) - Method in interface com.github.valid8j.pcond.core.fluent.builtins.ListChecker
-
- containingRegexes(String...) - Method in interface com.github.valid8j.pcond.core.fluent.builtins.StringChecker
-
Checks if given regular expressions are contained by the target value in the given order.
- containingRegexes(Pattern...) - Method in interface com.github.valid8j.pcond.core.fluent.builtins.StringChecker
-
Checks if given tokens are contained by the target value in the given order.
- containingSubstrings(String...) - Method in interface com.github.valid8j.pcond.core.fluent.builtins.StringChecker
-
Checks if given tokens are contained by the target value in the given order.
- contains(Object) - Static method in class com.github.valid8j.pcond.forms.Predicates
-
- containsString(String) - Static method in class com.github.valid8j.pcond.forms.Predicates
-
- count() - Method in interface com.github.valid8j.metamor.InputResolver.Sequence.Factory
-
- count() - Method in class com.github.valid8j.metamor.InputResolver.Sequence.Factory.Impl
-
- countLines() - Static method in class com.github.valid8j.pcond.forms.Functions
-
Returns a function the counts lines in a given string.
- create(ExceptionComposer.ForValidate) - Static method in interface com.github.valid8j.classic.Validates.TestValidator
-
- create(T) - Method in class com.github.valid8j.fluent.Expectations.CustomTransformer
-
- create(I, O) - Static method in interface com.github.valid8j.metamor.IoPair
-
- create(Predicate<Dataset<X>>, Function<Object[], String>, IntFunction<String>, int) - Static method in interface com.github.valid8j.metamor.Proposition.Factory
-
- create(String, EvaluationEntry.Type, int, Object, Object, Object, Object, Object, Object, Object, Object, boolean, boolean, boolean) - Static method in class com.github.valid8j.pcond.core.EvaluationEntry
-
- create() - Static method in interface com.github.valid8j.pcond.core.Evaluator
-
Returns a new instance of this interface.
- create(Supplier<Boolean>) - Static method in interface com.github.valid8j.pcond.core.fluent.builtins.BooleanTransformer
-
- create(Supplier<Double>) - Static method in interface com.github.valid8j.pcond.core.fluent.builtins.DoubleTransformer
-
- create(Supplier<Float>) - Static method in interface com.github.valid8j.pcond.core.fluent.builtins.FloatTransformer
-
- create(Supplier<Integer>) - Static method in interface com.github.valid8j.pcond.core.fluent.builtins.IntegerTransformer
-
- create(Supplier<List<E>>) - Static method in interface com.github.valid8j.pcond.core.fluent.builtins.ListTransformer
-
- create(Supplier<Long>) - Static method in interface com.github.valid8j.pcond.core.fluent.builtins.LongTransformer
-
- create(Supplier<E>) - Static method in interface com.github.valid8j.pcond.core.fluent.builtins.ObjectTransformer
-
Creates a new Object transformer whose target value is given by a supplier.
- create(Supplier<Short>) - Static method in interface com.github.valid8j.pcond.core.fluent.builtins.ShortTransformer
-
- create(Supplier<Stream<E>>) - Static method in interface com.github.valid8j.pcond.core.fluent.builtins.StreamTransformer
-
- create(Supplier<String>) - Static method in interface com.github.valid8j.pcond.core.fluent.builtins.StringTransformer
-
- create(Supplier<E>) - Static method in interface com.github.valid8j.pcond.core.fluent.builtins.ThrowableTransformer
-
- create(Object...) - Method in interface com.github.valid8j.pcond.core.printable.ParameterizedIdentifiableFactory
-
- create(Function<List<Object>, Supplier<String>>, Function<List<Object>, Function<T, R>>, List<Object>, Object) - Static method in enum com.github.valid8j.pcond.core.printable.PrintableFunctionFactory
-
- create(List<Object>) - Method in enum com.github.valid8j.pcond.core.printable.PrintableFunctionFactory.Parameterized
-
- create(PrintablePredicateFactory.ParameterizedLeafFactory, List<Object>) - Static method in enum com.github.valid8j.pcond.core.printable.PrintablePredicateFactory.ParameterizedLeafFactory
-
- create(Function<O, P>) - Static method in class com.github.valid8j.pcond.core.printable.PrintablePredicateFactory.TransformingPredicate.Factory
-
- create(String, String, Function<O, P>) - Static method in class com.github.valid8j.pcond.core.printable.PrintablePredicateFactory.TransformingPredicate.Factory
-
- create(boolean, Object, Class<?>, String, Object[]) - Static method in interface com.github.valid8j.pcond.core.refl.MethodQuery
-
- create() - Static method in interface com.github.valid8j.pcond.core.refl.Parameter
-
- create(ValueHolder.CreatorFormType) - Static method in class com.github.valid8j.pcond.core.ValueHolder
-
- create(Class<T>, Explanation) - Method in interface com.github.valid8j.pcond.validator.ExceptionComposer.Utils.ReflectiveExceptionFactory
-
- create(String, List<String>) - Static method in interface com.github.valid8j.pcond.validator.ReportComposer.Report
-
- create(Properties) - Static method in interface com.github.valid8j.pcond.validator.Validator
-
Returns a provider instance created from a given Properties
object.
- create(Explanation) - Method in interface com.github.valid8j.pcond.validator.Validator.ExceptionFactory
-
- createCombinerForMethodList() - Static method in enum com.github.valid8j.pcond.core.refl.ReflUtils
-
This method is made public in order only for unit testing since with Java 8,
the combiner returned by this method will never be used.
- createException(String, Explanation, ExceptionComposer.Utils.ReflectiveExceptionFactory<T>) - Static method in enum com.github.valid8j.pcond.validator.ExceptionComposer.Utils
-
- createException(Validator.ExceptionFactory<?>, Explanation) - Static method in interface com.github.valid8j.pcond.validator.Validator.ExceptionFactory
-
- createFormattedEntryForActualValue(EvaluationEntry) - Method in class com.github.valid8j.metamor.MetamorphicReportComposer
-
- createFormattedEntryForActualValue(EvaluationEntry) - Method in interface com.github.valid8j.pcond.validator.ReportComposer
-
- createFormattedEntryForActualValue(ReportComposer, EvaluationEntry) - Static method in enum com.github.valid8j.pcond.validator.ReportComposer.Utils
-
- createFormattedEntryForExpectation(EvaluationEntry) - Method in class com.github.valid8j.metamor.MetamorphicReportComposer
-
- createFormattedEntryForExpectation(EvaluationEntry) - Method in interface com.github.valid8j.pcond.validator.ReportComposer
-
- createFormattedEntryForExpectation(ReportComposer, EvaluationEntry) - Static method in enum com.github.valid8j.pcond.validator.ReportComposer.Utils
-
- createIdentity() - Method in interface com.github.valid8j.pcond.core.identifieable.Identifiable
-
- createInstanceFromClassName(Class<? super T>, String, Object...) - Static method in enum com.github.valid8j.pcond.internals.InternalUtils
-
- createObservableProcessingPipeline(String, Function<IoContext<I, O>, Function<I, O>>, int, IntFunction<String>, String) - Static method in enum com.github.valid8j.metamor.internals.InternalUtils
-
- createPredicate(String, Predicate<T>) - Static method in enum com.github.valid8j.pcond.experimentals.currying.context.CurriedContextUtils
-
- createPredicateForAllOf(Statement<?>[]) - Static method in interface com.github.valid8j.pcond.fluent.Statement
-
Creates a predicate which conjunctions all the given statements.
- createValidator(ExceptionComposer.ForValidate) - Static method in enum com.github.valid8j.classic.Validates
-
- creator() - Method in class com.github.valid8j.pcond.core.identifieable.Identifiable.Base
-
- creator() - Method in interface com.github.valid8j.pcond.core.identifieable.Identifiable
-
- creatorFormType() - Method in class com.github.valid8j.pcond.core.ValueHolder
-
- creatorFormType(ValueHolder.CreatorFormType) - Method in class com.github.valid8j.pcond.core.ValueHolder
-
- creatorOf(Object) - Static method in interface com.github.valid8j.pcond.core.identifieable.Identifiable
-
- currentIndentLevel() - Method in class com.github.valid8j.pcond.core.EvaluationContext
-
- CurriedContext - Interface in com.github.valid8j.pcond.experimentals.currying.context
-
Context
is a concept to handle multiple values in the pcond
.
- CurriedContext.PrivateUtils - Enum in com.github.valid8j.pcond.experimentals.currying.context
-
- CurriedContextUtils - Enum in com.github.valid8j.pcond.experimentals.currying.context
-
A utility class that collects helper methods for the "Context" mechanism.
- CurriedFunction<T,R> - Interface in com.github.valid8j.pcond.experimentals.currying
-
- CurriedFunction.Impl - Class in com.github.valid8j.pcond.experimentals.currying
-
- CurriedFunctions - Enum in com.github.valid8j.pcond.experimentals.currying
-
A class that collects methods to create functions and predicates in experimental stage.
- currier() - Static method in enum com.github.valid8j.pcond.experimentals.currying.CurryingUtils
-
- curry(MultiFunction<Object>) - Static method in enum com.github.valid8j.pcond.experimentals.currying.CurryingUtils
-
- curry(Class<?>, String, Class<?>...) - Static method in class com.github.valid8j.pcond.forms.Functions
-
Curries a static method specified by the given arguments.
- curry(MultiFunction<Object>) - Static method in class com.github.valid8j.pcond.forms.Functions
-
Curries a given multi-function.
- CurryingUtils - Enum in com.github.valid8j.pcond.experimentals.currying
-
Intended for internal use only.
- Cursors - Enum in com.github.valid8j.pcond.experimentals.cursor
-
- CustomTransformer(T) - Constructor for class com.github.valid8j.fluent.Expectations.CustomTransformer
-
Creates an instance of this class.
- cut() - Method in interface com.github.valid8j.pcond.core.Evaluable.StreamPred
-
Returns an evaluable object which makes "cut" happen.
- cut() - Method in class com.github.valid8j.pcond.core.printable.PrintablePredicateFactory.StreamPredicate
-
- elementAt(int) - Method in interface com.github.valid8j.pcond.core.fluent.builtins.ListTransformer
-
- elementAt(int) - Static method in class com.github.valid8j.pcond.forms.Functions
-
- empty() - Method in interface com.github.valid8j.pcond.core.fluent.builtins.ListChecker
-
- empty() - Method in interface com.github.valid8j.pcond.core.fluent.builtins.StringChecker
-
- enableDebugLog() - Method in interface com.github.valid8j.pcond.validator.Validator.Configuration.Debugging
-
- enclosed() - Method in interface com.github.valid8j.pcond.core.Evaluable.CurriedContextPred
-
- endingWith(String) - Method in interface com.github.valid8j.pcond.core.fluent.builtins.StringChecker
-
- endsWith(String) - Static method in class com.github.valid8j.pcond.forms.Predicates
-
- ensure(T, Predicate<? super T>) - Static method in enum com.github.valid8j.classic.Ensures
-
Checks if a given value
satisfies a postcondition cond
.
- ensure(Statement<?>...) - Static method in enum com.github.valid8j.fluent.Expectations
-
A method to check the given statements
as post-conditions.
- ensure(Statement<T>) - Static method in enum com.github.valid8j.fluent.Expectations
-
- ensure(T, Predicate<? super T>) - Method in interface com.github.valid8j.pcond.validator.Validator
-
Checks a value if it meets a requirement specified by cond
.
- ensure(T, Predicate<? super T>, Function<String, Throwable>) - Method in interface com.github.valid8j.pcond.validator.Validator
-
Checks a value if it meets a requirement specified by cond
.
- ensureAll(Statement<?>...) - Static method in enum com.github.valid8j.fluent.internals.ValidationFluents
-
- ensureNonNull(T) - Static method in enum com.github.valid8j.classic.Ensures
-
Checks if a given value is not null
.
- ensureNonNull(T) - Method in interface com.github.valid8j.pcond.validator.Validator
-
Checks a value if it is not null
.
- Ensures - Enum in com.github.valid8j.classic
-
A class that offers entry-points for checking "postconditions" with a normal
conditional statement of Java language.
- ensureState(T, Predicate<? super T>) - Static method in enum com.github.valid8j.classic.Ensures
-
Checks if a given state value`satisfies a postcondition `cond
.
- ensureState(Statement<T>) - Static method in enum com.github.valid8j.fluent.internals.ValidationFluents
-
- ensureState(T, Predicate<? super T>) - Method in interface com.github.valid8j.pcond.validator.Validator
-
Checks a value if it meets a requirement specified by cond
.
- ensureStatement(Statement<T>) - Static method in enum com.github.valid8j.fluent.internals.ValidationFluents
-
- ensureStates(Statement<?>...) - Static method in enum com.github.valid8j.fluent.internals.ValidationFluents
-
- ensureValue(V, Predicate<? super V>, Function<V, String>) - Static method in enum com.github.valid8j.pcond.internals.InternalChecks
-
- eq(T) - Static method in class com.github.valid8j.pcond.forms.Predicates
-
- equals(Object) - Method in class com.github.valid8j.pcond.core.identifieable.Identifiable.Base
-
- equalsIgnoreCase(String) - Static method in class com.github.valid8j.pcond.forms.Predicates
-
- equalTo(Object) - Method in interface com.github.valid8j.pcond.core.fluent.AbstractObjectChecker
-
Adds a predicate to this checker object to check the target object with the argument for anotherObject
if they
are "equal", using equalTo
method.
- equalTo(N) - Method in interface com.github.valid8j.pcond.core.fluent.builtins.ComparableNumberChecker
-
- equalTo(String) - Method in interface com.github.valid8j.pcond.core.fluent.builtins.StringChecker
-
- equalTo(T) - Static method in class com.github.valid8j.pcond.forms.Predicates
-
- equalToIgnoringCase(String) - Method in interface com.github.valid8j.pcond.core.fluent.builtins.StringChecker
-
- Evaluable<T> - Interface in com.github.valid8j.pcond.core
-
An interface that models "forms".
- evaluable() - Method in class com.github.valid8j.pcond.core.EvaluableIo
-
- Evaluable.Composite<T> - Interface in com.github.valid8j.pcond.core
-
A base interface for conjunction (and) and disjunction (or) of predicates.
- Evaluable.Conjunction<T> - Interface in com.github.valid8j.pcond.core
-
An interface to model a conjunction (and
, &&
) predicate.
- Evaluable.CurriedContextPred - Interface in com.github.valid8j.pcond.core
-
- Evaluable.Disjunction<T> - Interface in com.github.valid8j.pcond.core
-
An interface to model a disjunction (or
, ||
) predicate.
- Evaluable.Func<T> - Interface in com.github.valid8j.pcond.core
-
An interface to model a function (
Function
) in the evaluation framework
of the
pcond
.
- Evaluable.LeafPred<T> - Interface in com.github.valid8j.pcond.core
-
An interface to model a simple predicate in the evaluation framework.
- Evaluable.Negation<T> - Interface in com.github.valid8j.pcond.core
-
An interface to model a negation (not
, negate
, !
) of a predicate.
- Evaluable.Pred<T> - Interface in com.github.valid8j.pcond.core
-
A base interface to model all the predicates in the model of the evaluation
framework.
- Evaluable.StreamPred<E> - Interface in com.github.valid8j.pcond.core
-
An interface to model a predicate for
Stream
.
- Evaluable.Transformation<T,R> - Interface in com.github.valid8j.pcond.core
-
An interface to model a "transforming predicate", which models the "transform and check" style of value validation.
- EvaluableIo<I,E extends Evaluable<I>,O> - Class in com.github.valid8j.pcond.core
-
- EvaluableIo(ValueHolder<I>, EvaluationEntry.Type, E) - Constructor for class com.github.valid8j.pcond.core.EvaluableIo
-
- EvaluableIo(ValueHolder<I>, EvaluationEntry.Type, String, E) - Constructor for class com.github.valid8j.pcond.core.EvaluableIo
-
- evaluableIo() - Method in class com.github.valid8j.pcond.core.EvaluationEntry.Impl
-
- evaluableType() - Method in class com.github.valid8j.pcond.core.EvaluableIo
-
- evaluate() - Method in interface com.github.valid8j.metamor.Proposition
-
- evaluate() - Method in class com.github.valid8j.metamor.Proposition.Impl
-
- evaluate(EvaluableIo<T, E, O>, BiFunction<E, ValueHolder<T>, ValueHolder<O>>) - Method in class com.github.valid8j.pcond.core.EvaluationContext
-
- evaluate(EvaluationEntry.Type, EvaluableIo<T, E, O>, BiFunction<E, ValueHolder<T>, ValueHolder<O>>) - Method in class com.github.valid8j.pcond.core.EvaluationContext
-
- evaluate(EvaluationEntry.Type, EvaluableIo<T, E, O>, Function<EvaluableIo<T, E, O>, ValueHolder<O>>) - Method in class com.github.valid8j.pcond.core.EvaluationContext
-
- evaluate(EvaluationEntry.Type, String, EvaluableIo<T, E, O>, Function<EvaluableIo<T, E, O>, ValueHolder<O>>) - Method in class com.github.valid8j.pcond.core.EvaluationContext
-
- evaluateConjunction(EvaluableIo<T, Evaluable.Conjunction<T>, Boolean>, EvaluationContext<T>) - Method in interface com.github.valid8j.pcond.core.Evaluator
-
Evaluates value
with conjunction
predicate ("and").
- evaluateConjunction(EvaluableIo<T, Evaluable.Conjunction<T>, Boolean>, EvaluationContext<T>) - Method in class com.github.valid8j.pcond.core.Evaluator.Impl
-
- evaluateCurriedContextPredicate(EvaluableIo<CurriedContext, Evaluable.CurriedContextPred, Boolean>, EvaluationContext<CurriedContext>) - Method in interface com.github.valid8j.pcond.core.Evaluator
-
Evaluates value
with a context predicate.
- evaluateCurriedContextPredicate(EvaluableIo<CurriedContext, Evaluable.CurriedContextPred, Boolean>, EvaluationContext<CurriedContext>) - Method in class com.github.valid8j.pcond.core.Evaluator.Impl
-
- evaluateDisjunction(EvaluableIo<T, Evaluable.Disjunction<T>, Boolean>, EvaluationContext<T>) - Method in interface com.github.valid8j.pcond.core.Evaluator
-
Evaluates value
with a disjunction
predicate ("or").
- evaluateDisjunction(EvaluableIo<T, Evaluable.Disjunction<T>, Boolean>, EvaluationContext<T>) - Method in class com.github.valid8j.pcond.core.Evaluator.Impl
-
- evaluateFunction(EvaluableIo<T, Evaluable.Func<T>, R>, EvaluationContext<T>) - Method in interface com.github.valid8j.pcond.core.Evaluator
-
Evaluates value
with a "function" predicate.
- evaluateFunction(EvaluableIo<T, Evaluable.Func<T>, R>, EvaluationContext<T>) - Method in class com.github.valid8j.pcond.core.Evaluator.Impl
-
- evaluateLeaf(EvaluableIo<T, Evaluable.LeafPred<T>, Boolean>, EvaluationContext<T>) - Method in interface com.github.valid8j.pcond.core.Evaluator
-
Evaluates value
with a leaf predicate.
- evaluateLeaf(EvaluableIo<T, Evaluable.LeafPred<T>, Boolean>, EvaluationContext<T>) - Method in class com.github.valid8j.pcond.core.Evaluator.Impl
-
- evaluateNegation(EvaluableIo<T, Evaluable.Negation<T>, Boolean>, EvaluationContext<T>) - Method in interface com.github.valid8j.pcond.core.Evaluator
-
Evaluates value
with a negation
predicate ("not").
- evaluateNegation(EvaluableIo<T, Evaluable.Negation<T>, Boolean>, EvaluationContext<T>) - Method in class com.github.valid8j.pcond.core.Evaluator.Impl
-
- evaluateStreamPredicate(EvaluableIo<Stream<E>, Evaluable.StreamPred<E>, Boolean>, EvaluationContext<Stream<E>>) - Method in interface com.github.valid8j.pcond.core.Evaluator
-
Evaluates value
with a predicate for a stream.
- evaluateStreamPredicate(EvaluableIo<Stream<E>, Evaluable.StreamPred<E>, Boolean>, EvaluationContext<Stream<E>>) - Method in class com.github.valid8j.pcond.core.Evaluator.Impl
-
- evaluateTransformation(EvaluableIo<T, Evaluable.Transformation<T, R>, Boolean>, EvaluationContext<T>) - Method in interface com.github.valid8j.pcond.core.Evaluator
-
Evaluates value
with a "transformation" predicate.
- evaluateTransformation(EvaluableIo<T, Evaluable.Transformation<T, R>, Boolean>, EvaluationContext<T>) - Method in class com.github.valid8j.pcond.core.Evaluator.Impl
-
- EVALUATION_SKIPPED - Static variable in class com.github.valid8j.pcond.core.Evaluator.Impl
-
- EvaluationContext<T> - Class in com.github.valid8j.pcond.core
-
The new design:
- EvaluationContext() - Constructor for class com.github.valid8j.pcond.core.EvaluationContext
-
- EvaluationContext(EvaluationContext<?>) - Constructor for class com.github.valid8j.pcond.core.EvaluationContext
-
- EvaluationEntry - Class in com.github.valid8j.pcond.core
-
A class to hold an entry of execution history of the
Evaluator
.
- EvaluationEntry.Impl - Class in com.github.valid8j.pcond.core
-
- EvaluationEntry.Type - Enum in com.github.valid8j.pcond.core
-
- evaluationSkipped() - Method in class com.github.valid8j.pcond.core.ValueHolder
-
- Evaluator - Interface in com.github.valid8j.pcond.core
-
A visitor interface that defines a mechanism to "evaluate" printable predicates.
- Evaluator.Explainable - Interface in com.github.valid8j.pcond.core
-
An interface to define methods that make a predicate "explainable" to humans.
- Evaluator.Impl - Class in com.github.valid8j.pcond.core
-
- Evaluator.Snapshottable - Interface in com.github.valid8j.pcond.core
-
If an input or an output value object of a form implements this interface,
The value returned by
snapshot
method is stored in a
EvaluationEntry
record, instead of the value itself.
- ExceptionComposer - Interface in com.github.valid8j.pcond.validator
-
An interface to define how an exception is composed based on a given message,
a class of a condition that the value violates (non-null constraint, invalid state,
input validation), and the context the violation happened (pre-, post-condition check,
test-assertion, etc.).
- exceptionComposer() - Method in interface com.github.valid8j.pcond.validator.Validator.Configuration
-
Returns an exception composer, which is responsible for creating an exception
object of an appropriate type for a context.
- ExceptionComposer.Base - Interface in com.github.valid8j.pcond.validator
-
An interface that defines common methods that an object returned by each method
in the
ExceptionComposer
has.
- ExceptionComposer.ForAssertion - Interface in com.github.valid8j.pcond.validator
-
- ExceptionComposer.ForAssertion.Default - Class in com.github.valid8j.pcond.validator
-
- ExceptionComposer.ForEnsure - Interface in com.github.valid8j.pcond.validator
-
- ExceptionComposer.ForEnsure.Default - Class in com.github.valid8j.pcond.validator
-
- ExceptionComposer.ForRequire - Interface in com.github.valid8j.pcond.validator
-
- ExceptionComposer.ForRequire.Default - Class in com.github.valid8j.pcond.validator
-
- ExceptionComposer.ForTestAssertion - Interface in com.github.valid8j.pcond.validator
-
- ExceptionComposer.ForTestAssertion.JUnit4 - Class in com.github.valid8j.pcond.validator
-
- ExceptionComposer.ForTestAssertion.Opentest4J - Class in com.github.valid8j.pcond.validator
-
- ExceptionComposer.ForValidate - Interface in com.github.valid8j.pcond.validator
-
- ExceptionComposer.ForValidate.Default - Class in com.github.valid8j.pcond.validator
-
- ExceptionComposer.Impl - Class in com.github.valid8j.pcond.validator
-
- ExceptionComposer.Utils - Enum in com.github.valid8j.pcond.validator
-
- ExceptionComposer.Utils.ReflectiveExceptionFactory<T extends Throwable> - Interface in com.github.valid8j.pcond.validator
-
- exceptionComposerForAssert(ExceptionComposer.ForAssertion) - Method in class com.github.valid8j.pcond.validator.Validator.Configuration.Builder
-
- exceptionComposerForAssertThat(ExceptionComposer.ForTestAssertion) - Method in class com.github.valid8j.pcond.validator.Validator.Configuration.Builder
-
- exceptionComposerForEnsure(ExceptionComposer.ForEnsure) - Method in class com.github.valid8j.pcond.validator.Validator.Configuration.Builder
-
- exceptionComposerForRequire(ExceptionComposer.ForRequire) - Method in class com.github.valid8j.pcond.validator.Validator.Configuration.Builder
-
- exceptionComposerForValidate() - Method in interface com.github.valid8j.classic.Validates.TestValidator
-
- exceptionForGeneralViolation(String) - Method in interface com.github.valid8j.pcond.validator.ExceptionComposer.Base
-
A method to compose an exception for a general violation.
- exceptionForGeneralViolation(String) - Method in interface com.github.valid8j.pcond.validator.ExceptionComposer.ForEnsure
-
- exceptionForGeneralViolation(String) - Method in interface com.github.valid8j.pcond.validator.ExceptionComposer.ForRequire
-
- exceptionForGeneralViolation(String) - Method in interface com.github.valid8j.pcond.validator.ExceptionComposer.ForValidate
-
- exceptionForIllegalArgument(String) - Method in class com.github.valid8j.pcond.validator.ExceptionComposer.ForRequire.Default
-
- exceptionForIllegalArgument(String) - Method in interface com.github.valid8j.pcond.validator.ExceptionComposer.ForRequire
-
- exceptionForIllegalArgument(String) - Method in interface com.github.valid8j.pcond.validator.ExceptionComposer.ForValidate
-
- exceptionForIllegalState(String) - Method in interface com.github.valid8j.pcond.validator.ExceptionComposer.Base
-
A method to compose an exception for a "State-violation".
- exceptionForNonNullViolation(String) - Method in interface com.github.valid8j.pcond.validator.ExceptionComposer.Base
-
A method to compose an exception for a "Null-violation".
- exceptionInvariantConditionViolation(String) - Method in interface com.github.valid8j.pcond.validator.ExceptionComposer.ForAssertion
-
- exceptionPostconditionViolation(String) - Method in interface com.github.valid8j.pcond.validator.ExceptionComposer.ForAssertion
-
- exceptionPreconditionViolation(String) - Method in interface com.github.valid8j.pcond.validator.ExceptionComposer.ForAssertion
-
- exceptionThrown(Throwable) - Method in class com.github.valid8j.pcond.core.ValueHolder
-
- executionFailure(String, Throwable) - Static method in enum com.github.valid8j.pcond.internals.InternalUtils
-
- executionFailure(Explanation, Throwable) - Static method in enum com.github.valid8j.pcond.internals.InternalUtils
-
- expect(Statement<T>, Function<String, Throwable>) - Static method in enum com.github.valid8j.fluent.Expectations
-
A method to validate a value held by the given statement.
- Expectations - Enum in com.github.valid8j.fluent
-
A facade class for the "fluent" style programming model of valid8j
library.
- Expectations.CustomTransformer<TX extends AbstractObjectTransformer<TX,ObjectChecker<T,T>,T,T>,T> - Class in com.github.valid8j.fluent
-
A base class for a custom transformer.
- Expectations.Unless - Interface in com.github.valid8j.fluent
-
- expected() - Method in class com.github.valid8j.pcond.validator.Explanation
-
- expectException(Class<O>, Function<? super R, ?>) - Method in interface com.github.valid8j.pcond.core.fluent.AbstractObjectTransformer
-
Applies f
, which is expected to throw an exception object of class exceptionClass
, to the target value of this transformer object.
- expectingException(Class<E>, Function<? super T, ?>) - Static method in class com.github.valid8j.pcond.forms.Functions
-
Returns a function that converts an input value to an exception object, which is thrown by func
, when it is applied.
- ExplainablePredicate<V> - Class in com.github.valid8j.pcond.core.printable
-
- ExplainablePredicate(Supplier<String>, Predicate<? super V>) - Constructor for class com.github.valid8j.pcond.core.printable.ExplainablePredicate
-
- explainableStringIsEqualTo(String) - Static method in class com.github.valid8j.pcond.core.printable.ExplainablePredicate
-
- explainActual(Object) - Method in interface com.github.valid8j.pcond.core.Evaluator.Explainable
-
- explainActual(EvaluableIo<T, E, ?>) - Static method in interface com.github.valid8j.pcond.core.Evaluator.Explainable
-
- explainActual(Object) - Method in class com.github.valid8j.pcond.core.printable.ExplainablePredicate
-
- explainActual(Object) - Method in class com.github.valid8j.pcond.core.printable.PrintableFunction
-
- explainInputActualValue(Object, Object) - Static method in interface com.github.valid8j.pcond.core.Evaluator.Explainable
-
- explainOutputExpectation() - Method in interface com.github.valid8j.pcond.core.Evaluator.Explainable
-
- explainOutputExpectation(Object, EvaluableIo<?, ?, ?>) - Static method in interface com.github.valid8j.pcond.core.Evaluator.Explainable
-
- explainOutputExpectation() - Method in class com.github.valid8j.pcond.core.printable.PrintableFunction
-
- explainValue(Object) - Static method in enum com.github.valid8j.pcond.internals.InternalUtils
-
- Explanation - Class in com.github.valid8j.pcond.validator
-
- Explanation(String) - Constructor for class com.github.valid8j.pcond.validator.Explanation
-
- Explanation(String, ReportComposer.Report, ReportComposer.Report) - Constructor for class com.github.valid8j.pcond.validator.Explanation
-
- explanationFromMessage(String) - Method in interface com.github.valid8j.pcond.validator.ReportComposer
-
- sameReferenceAs(Object) - Method in interface com.github.valid8j.pcond.core.fluent.AbstractObjectChecker
-
Adds a predicate to this checker object to check the target object and the argument for anotherObject
if they
are referencing the same object.
- satisfies(T, Function<T, V>) - Static method in enum com.github.valid8j.fluent.Expectations
-
Returns a checker to build a statement for the given value
.
- satisfies(T) - Static method in enum com.github.valid8j.fluent.Expectations
-
Returns a checker to build a statement for the given value
.
- satisfies(List<T>) - Static method in enum com.github.valid8j.fluent.Expectations
-
Returns a checker to build a statement for the given list value
.
- satisfies(Stream<T>) - Static method in enum com.github.valid8j.fluent.Expectations
-
Returns a checker to build a statement for the given stream value
.
- satisfies(String) - Static method in enum com.github.valid8j.fluent.Expectations
-
Returns a checker to build a statement for the given string value
.
- satisfies(int) - Static method in enum com.github.valid8j.fluent.Expectations
-
Returns a checker to build a statement for the given int value
.
- satisfies(long) - Static method in enum com.github.valid8j.fluent.Expectations
-
Returns a checker to build a statement for the given long value
.
- satisfies(short) - Static method in enum com.github.valid8j.fluent.Expectations
-
Returns a checker to build a statement for the given short value
.
- satisfies(double) - Static method in enum com.github.valid8j.fluent.Expectations
-
Returns a checker to build a statement for the given double value
.
- satisfies(float) - Static method in enum com.github.valid8j.fluent.Expectations
-
Returns a checker to build a statement for the given float value
.
- satisfies(boolean) - Static method in enum com.github.valid8j.fluent.Expectations
-
Returns a checker to build a statement for the given boolean value
.
- satisfies(Function<TX, Statement<T>>) - Method in interface com.github.valid8j.pcond.core.fluent.Transformer
-
- satisfies() - Method in interface com.github.valid8j.pcond.core.fluent.Transformer
-
- select(List<Method>, Object[]) - Method in class com.github.valid8j.pcond.core.refl.MethodSelector.Default
-
- select(List<Method>, Object[]) - Method in class com.github.valid8j.pcond.core.refl.MethodSelector.PreferExact
-
- select(List<Method>, Object[]) - Method in class com.github.valid8j.pcond.core.refl.MethodSelector.PreferNarrower
-
- select(List<Method>, Object[]) - Method in interface com.github.valid8j.pcond.core.refl.MethodSelector
-
Selects methods that can be invoked with given args
.
- ShortChecker<T> - Interface in com.github.valid8j.pcond.core.fluent.builtins
-
- ShortChecker.Impl<T> - Class in com.github.valid8j.pcond.core.fluent.builtins
-
- shortcut() - Method in interface com.github.valid8j.pcond.core.Evaluable.Composite
-
Returns true
if the "shortcut" evaluation is enabled.
- ShortTransformer<T> - Interface in com.github.valid8j.pcond.core.fluent.builtins
-
- ShortTransformer.Impl<T> - Class in com.github.valid8j.pcond.core.fluent.builtins
-
- shortValue(Short) - Static method in interface com.github.valid8j.pcond.fluent.Statement
-
Returns a transformer for a short
value.
- showEvaluableDetail() - Static method in enum com.github.valid8j.pcond.core.DebuggingUtils
-
- showEvaluableDetail() - Method in interface com.github.valid8j.pcond.validator.Validator.Configuration.Debugging
-
- size() - Method in class com.github.valid8j.metamor.Dataset.Closed.Impl
-
- size() - Method in class com.github.valid8j.metamor.Dataset.OnGoing.Impl
-
- size() - Method in interface com.github.valid8j.metamor.Dataset
-
- size() - Method in class com.github.valid8j.metamor.InputResolver.Sequence.Impl
-
- size() - Method in interface com.github.valid8j.pcond.core.fluent.builtins.ListTransformer
-
- size() - Method in interface com.github.valid8j.pcond.experimentals.currying.context.CurriedContext
-
Returns the number of context values.
- size() - Static method in class com.github.valid8j.pcond.forms.Functions
-
Returns a function that that returns a size of a given list.
- skipPreformer() - Method in class com.github.valid8j.metamor.MetamorphicTestCaseFactory.BuilderBase
-
- snapshot() - Method in class com.github.valid8j.metamor.IoContext.Ongoing.Impl
-
- Snapshot(Object, Object) - Constructor for class com.github.valid8j.metamor.IoContext.Ongoing.Snapshot
-
- snapshot() - Method in interface com.github.valid8j.pcond.core.Evaluator.Snapshottable
-
- sourceValueType(XX) - Method in class com.github.valid8j.metamor.MetamorphicTestCaseFactory.Builder
-
- sourceValueType(XX) - Method in class com.github.valid8j.metamor.MetamorphicTestCaseFactory.BuilderBase
-
- sourceValueType(Class<XX>) - Method in class com.github.valid8j.metamor.MetamorphicTestCaseFactory.BuilderBase
-
Let this object know the source type.
- sourceValueType(XX) - Method in class com.github.valid8j.metamor.MetamorphicTestCaseFactoryWithPreformer.Builder
-
- sourceVariableName - Variable in class com.github.valid8j.metamor.MetamorphicTestCaseFactory.BuilderBase
-
- sourceVariableName(String) - Method in class com.github.valid8j.metamor.MetamorphicTestCaseFactory.BuilderBase
-
- split(String) - Method in interface com.github.valid8j.pcond.core.fluent.builtins.StringTransformer
-
- startingWith(String) - Method in interface com.github.valid8j.pcond.core.fluent.builtins.StringChecker
-
- startsWith(String) - Static method in class com.github.valid8j.pcond.forms.Predicates
-
- state() - Method in class com.github.valid8j.pcond.core.ValueHolder
-
- statement(T, Predicate<T>) - Static method in enum com.github.valid8j.fluent.Expectations
-
Returns a statement whose target is the given value
.
- statement(List<T>, Predicate<List<T>>) - Static method in enum com.github.valid8j.fluent.Expectations
-
Returns a statement whose target is the given list value
.
- statement(Stream<T>, Predicate<Stream<T>>) - Static method in enum com.github.valid8j.fluent.Expectations
-
Returns a statement whose target is the given stream value
.
- statement(String, Predicate<String>) - Static method in enum com.github.valid8j.fluent.Expectations
-
Returns a statement whose target is the given string value
.
- statement(int, Predicate<Integer>) - Static method in enum com.github.valid8j.fluent.Expectations
-
Returns a statement whose target is the given int value
.
- statement(long, Predicate<Long>) - Static method in enum com.github.valid8j.fluent.Expectations
-
Returns a statement whose target is the given long value
.
- statement(short, Predicate<Short>) - Static method in enum com.github.valid8j.fluent.Expectations
-
Returns a statement whose target is the given short value
.
- statement(double, Predicate<Double>) - Static method in enum com.github.valid8j.fluent.Expectations
-
Returns a statement whose target is the given double value
.
- statement(float, Predicate<Float>) - Static method in enum com.github.valid8j.fluent.Expectations
-
Returns a statement whose target is the given float value
.
- statement(boolean, Predicate<Boolean>) - Static method in enum com.github.valid8j.fluent.Expectations
-
Returns a statement whose target is the given boolean value
.
- Statement<T> - Interface in com.github.valid8j.pcond.fluent
-
An interface to model a "statement", which .
- statementPredicate() - Method in class com.github.valid8j.pcond.core.fluent.Checker.Base
-
- statementPredicate() - Method in class com.github.valid8j.pcond.core.fluent.Transformer.Base
-
- statementPredicate() - Method in interface com.github.valid8j.pcond.fluent.Statement
-
Returns a predicate to evaluate the target value.
- statementValue() - Method in class com.github.valid8j.pcond.core.fluent.Checker.Base
-
- statementValue() - Method in class com.github.valid8j.pcond.core.fluent.Transformer.Base
-
- statementValue() - Method in interface com.github.valid8j.pcond.fluent.Statement
-
Returns a value to be evaluated, "target value", by an instance of this interface.
- stream() - Method in interface com.github.valid8j.metamor.Dataset
-
- stream() - Method in interface com.github.valid8j.pcond.core.fluent.builtins.ListTransformer
-
- stream() - Static method in class com.github.valid8j.pcond.forms.Functions
-
Returns a function that returns a stream for a given collection.
- stream(Class<E>) - Static method in class com.github.valid8j.pcond.forms.Functions
-
Returns a function that returns a stream for a given collection.
- StreamChecker<T,E> - Interface in com.github.valid8j.pcond.core.fluent.builtins
-
- StreamChecker.Impl<T,E> - Class in com.github.valid8j.pcond.core.fluent.builtins
-
- streamOf() - Static method in class com.github.valid8j.pcond.forms.Functions
-
Returns a function that returns a stream for a given object.
- StreamTransformer<T,E> - Interface in com.github.valid8j.pcond.core.fluent.builtins
-
- StreamTransformer.Impl<T,E> - Class in com.github.valid8j.pcond.core.fluent.builtins
-
- streamValue(Stream<E>) - Static method in interface com.github.valid8j.pcond.fluent.Statement
-
Returns a transformer for a Stream
value.
- StringChecker<T> - Interface in com.github.valid8j.pcond.core.fluent.builtins
-
- StringChecker.Impl<T> - Class in com.github.valid8j.pcond.core.fluent.builtins
-
- stringify() - Method in interface com.github.valid8j.pcond.core.fluent.AbstractObjectTransformer
-
Corresponds to toString()
method.
- stringify() - Static method in class com.github.valid8j.pcond.forms.Functions
-
Returns a function that gives a string representation of a object given to it.
- StringTransformer<T> - Interface in com.github.valid8j.pcond.core.fluent.builtins
-
- StringTransformer.Impl<T> - Class in com.github.valid8j.pcond.core.fluent.builtins
-
- stringValue(String) - Static method in interface com.github.valid8j.pcond.fluent.Statement
-
Returns a transformer for a String
value.
- subList(int, int) - Method in interface com.github.valid8j.pcond.core.fluent.builtins.ListTransformer
-
- subList(int) - Method in interface com.github.valid8j.pcond.core.fluent.builtins.ListTransformer
-
- substring(int) - Method in interface com.github.valid8j.pcond.core.fluent.builtins.StringTransformer
-
- substringAfter(String) - Method in interface com.github.valid8j.pcond.core.fluent.builtins.StringTransformer
-
- summarizedStringLength() - Static method in enum com.github.valid8j.pcond.internals.InternalUtils
-
- summarizedStringLength(int) - Method in class com.github.valid8j.pcond.validator.Validator.Configuration.Builder
-
- summarizedStringLength() - Method in interface com.github.valid8j.pcond.validator.Validator.Configuration
-
- summary() - Method in interface com.github.valid8j.pcond.validator.ReportComposer.Report
-
- suppressSquashing() - Static method in enum com.github.valid8j.pcond.core.DebuggingUtils
-
- suppressSquashing() - Method in interface com.github.valid8j.pcond.validator.Validator.Configuration.Debugging
-
- validate(T, Predicate<? super T>) - Method in interface com.github.valid8j.classic.Validates.TestValidator
-
- validate(T, Predicate<? super T>, Function<String, E>) - Method in interface com.github.valid8j.classic.Validates.TestValidator
-
- validate(T, Predicate<? super T>) - Static method in enum com.github.valid8j.classic.Validates
-
- validate(T, Predicate<? super T>, Function<String, E>) - Static method in enum com.github.valid8j.classic.Validates
-
- validate(T, Predicate<? super T>, ExceptionComposer.ForValidate) - Method in interface com.github.valid8j.pcond.validator.Validator
-
Validates the given value
.
- validate(T, Predicate<? super T>, Function<String, Throwable>) - Method in interface com.github.valid8j.pcond.validator.Validator
-
Validates the given variable value
.
- validate_2(T, Predicate<? super T>, Validator.ExceptionFactory<Throwable>) - Method in interface com.github.valid8j.pcond.validator.Validator
-
- validateArg(V) - Method in interface com.github.valid8j.pcond.experimentals.currying.CurriedFunction
-
- validateArgument(T, Predicate<? super T>) - Method in interface com.github.valid8j.classic.Validates.TestValidator
-
- validateArgument(T, Predicate<? super T>) - Static method in enum com.github.valid8j.classic.Validates
-
- validateArgument(T, Predicate<? super T>, ExceptionComposer.ForValidate) - Method in interface com.github.valid8j.pcond.validator.Validator
-
Validates the given argument variable value
.
- validateNonNull(T) - Method in interface com.github.valid8j.classic.Validates.TestValidator
-
- validateNonNull(T) - Static method in enum com.github.valid8j.classic.Validates
-
- validateNonNull(T, ExceptionComposer.ForValidate) - Method in interface com.github.valid8j.pcond.validator.Validator
-
Validates the given value
.
- validateParamOrderList(List<Integer>, int) - Static method in enum com.github.valid8j.pcond.internals.InternalChecks
-
- Validates - Enum in com.github.valid8j.classic
-
- Validates.TestValidator - Interface in com.github.valid8j.classic
-
- validateState(T, Predicate<? super T>) - Method in interface com.github.valid8j.classic.Validates.TestValidator
-
- validateState(T, Predicate<? super T>) - Static method in enum com.github.valid8j.classic.Validates
-
- validateState(T, Predicate<? super T>, ExceptionComposer.ForValidate) - Method in interface com.github.valid8j.pcond.validator.Validator
-
Validates the given state variable value
.
- validateStatement(Statement<T>) - Static method in enum com.github.valid8j.classic.Validates
-
- ValidationException - Exception in com.github.valid8j.pcond.validator.exceptions
-
A default exception intended to be used, when a user-defined requirement is not satisfied.
- ValidationException(String) - Constructor for exception com.github.valid8j.pcond.validator.exceptions.ValidationException
-
- ValidationFluents - Enum in com.github.valid8j.fluent.internals
-
A facade class to provide fluent versions of valid8j
entry points.
- Validator - Interface in com.github.valid8j.pcond.validator
-
An interface of a policy for behaviours on 'contract violations'.
- Validator.Configuration - Interface in com.github.valid8j.pcond.validator
-
- Validator.Configuration.Builder - Class in com.github.valid8j.pcond.validator
-
- Validator.Configuration.Debugging - Interface in com.github.valid8j.pcond.validator
-
When com.github.valid8j.pcond.debug
is not true
, it is assumed that those methods in this interface return false
.
- Validator.Configuration.Utils - Enum in com.github.valid8j.pcond.validator
-
- Validator.ExceptionFactory<E extends Throwable> - Interface in com.github.valid8j.pcond.validator
-
- Validator.Impl - Class in com.github.valid8j.pcond.validator
-
- value(T, Function<T, TX>) - Static method in enum com.github.valid8j.fluent.Expectations
-
- value(T) - Static method in enum com.github.valid8j.fluent.Expectations
-
- value(List<T>) - Static method in enum com.github.valid8j.fluent.Expectations
-
- value(Stream<T>) - Static method in enum com.github.valid8j.fluent.Expectations
-
- value(String) - Static method in enum com.github.valid8j.fluent.Expectations
-
- value(int) - Static method in enum com.github.valid8j.fluent.Expectations
-
- value(long) - Static method in enum com.github.valid8j.fluent.Expectations
-
- value(short) - Static method in enum com.github.valid8j.fluent.Expectations
-
- value(double) - Static method in enum com.github.valid8j.fluent.Expectations
-
- value(float) - Static method in enum com.github.valid8j.fluent.Expectations
-
- value(boolean) - Static method in enum com.github.valid8j.fluent.Expectations
-
- value(E) - Static method in enum com.github.valid8j.fluent.Expectations
-
- value(E) - Static method in enum com.github.valid8j.fluent.internals.ValidationFluents
-
- value() - Method in class com.github.valid8j.pcond.core.fluent.Matcher.Base
-
- value() - Method in class com.github.valid8j.pcond.core.ValueHolder
-
- value() - Static method in class com.github.valid8j.pcond.forms.Functions
-
A method to return a value for a "casting placeholder value".
- valueAt(int) - Method in interface com.github.valid8j.pcond.experimentals.currying.context.CurriedContext
-
Returns the context value specified by the index.
- ValueHolder<V> - Class in com.github.valid8j.pcond.core
-
- ValueHolder - Interface in com.github.valid8j.pcond.fluent
-
A base interface for values for which independent report records should not be composed.
- ValueHolder.State - Enum in com.github.valid8j.pcond.core
-
- valueOf(String) - Static method in enum com.github.valid8j.classic.Assertions
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.valid8j.classic.Ensures
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.valid8j.classic.Requires
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.valid8j.classic.TestAssertions
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.valid8j.classic.Validates
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.valid8j.fluent.Expectations
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.valid8j.fluent.internals.ValidationFluents
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.valid8j.metamor.internals.InternalUtils
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.valid8j.metamor.IoContext.Utils
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.valid8j.metamor.Utils
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.valid8j.pcond.core.DebuggingUtils
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.valid8j.pcond.core.EvaluationEntry.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.valid8j.pcond.core.fluent.Matcher.JunctionType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.valid8j.pcond.core.printable.PrintableFunctionFactory.Parameterized
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.valid8j.pcond.core.printable.PrintableFunctionFactory.Simple
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.valid8j.pcond.core.printable.PrintableFunctionFactory
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.valid8j.pcond.core.printable.PrintablePredicateFactory.Leaf
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.valid8j.pcond.core.printable.PrintablePredicateFactory.ParameterizedLeafFactory
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.valid8j.pcond.core.printable.PrintablePredicateFactory
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.valid8j.pcond.core.refl.MethodSelector.Utils
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.valid8j.pcond.core.refl.ReflUtils
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.valid8j.pcond.core.ValueHolder.State
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.valid8j.pcond.experimentals.currying.Checks
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.valid8j.pcond.experimentals.currying.context.CurriedContext.PrivateUtils
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.valid8j.pcond.experimentals.currying.context.CurriedContextUtils
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.valid8j.pcond.experimentals.currying.CurriedFunctions
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.valid8j.pcond.experimentals.currying.CurryingUtils
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.valid8j.pcond.experimentals.currying.multi.MultiFunctionUtils
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.valid8j.pcond.experimentals.cursor.Cursors
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.valid8j.pcond.forms.Printables
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.valid8j.pcond.internals.InternalChecks
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.valid8j.pcond.internals.InternalUtils
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.valid8j.pcond.validator.ExceptionComposer.Utils
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.valid8j.pcond.validator.ReportComposer.Utils
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.valid8j.pcond.validator.Validator.Configuration.Utils
-
Returns the enum constant of this type with the specified name.
- valueReturned(V) - Method in class com.github.valid8j.pcond.core.ValueHolder
-
- values() - Static method in enum com.github.valid8j.classic.Assertions
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.github.valid8j.classic.Ensures
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.github.valid8j.classic.Requires
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.github.valid8j.classic.TestAssertions
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.github.valid8j.classic.Validates
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.github.valid8j.fluent.Expectations
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.github.valid8j.fluent.internals.ValidationFluents
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.github.valid8j.metamor.internals.InternalUtils
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.github.valid8j.metamor.IoContext.Utils
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.github.valid8j.metamor.Utils
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.github.valid8j.pcond.core.DebuggingUtils
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.github.valid8j.pcond.core.EvaluationEntry.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.github.valid8j.pcond.core.fluent.Matcher.JunctionType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.github.valid8j.pcond.core.printable.PrintableFunctionFactory.Parameterized
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.github.valid8j.pcond.core.printable.PrintableFunctionFactory.Simple
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.github.valid8j.pcond.core.printable.PrintableFunctionFactory
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.github.valid8j.pcond.core.printable.PrintablePredicateFactory.Leaf
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.github.valid8j.pcond.core.printable.PrintablePredicateFactory.ParameterizedLeafFactory
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.github.valid8j.pcond.core.printable.PrintablePredicateFactory
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.github.valid8j.pcond.core.refl.MethodSelector.Utils
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.github.valid8j.pcond.core.refl.ReflUtils
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.github.valid8j.pcond.core.ValueHolder.State
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.github.valid8j.pcond.experimentals.currying.Checks
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.github.valid8j.pcond.experimentals.currying.context.CurriedContext.PrivateUtils
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Method in interface com.github.valid8j.pcond.experimentals.currying.context.CurriedContext
-
Returns context values.
- values() - Static method in enum com.github.valid8j.pcond.experimentals.currying.context.CurriedContextUtils
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.github.valid8j.pcond.experimentals.currying.CurriedFunctions
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.github.valid8j.pcond.experimentals.currying.CurryingUtils
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.github.valid8j.pcond.experimentals.currying.multi.MultiFunctionUtils
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.github.valid8j.pcond.experimentals.cursor.Cursors
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.github.valid8j.pcond.forms.Printables
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.github.valid8j.pcond.internals.InternalChecks
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.github.valid8j.pcond.internals.InternalUtils
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.github.valid8j.pcond.validator.ExceptionComposer.Utils
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.github.valid8j.pcond.validator.ReportComposer.Utils
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.github.valid8j.pcond.validator.Validator.Configuration.Utils
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- valueToCut() - Method in interface com.github.valid8j.pcond.core.Evaluable.StreamPred
-
Returns a value to make a "cut" happen.
- valueToCut() - Method in class com.github.valid8j.pcond.core.printable.PrintablePredicateFactory.StreamPredicate
-
- variableBundlePredicate(Predicate<T>, int) - Static method in enum com.github.valid8j.pcond.core.printable.PrintablePredicateFactory
-