assertj-core 3.26.0
org.assertj.core.condition
Not
Top
Description
Fields
Constructors
Methods
org.assertj.core.condition
public
Class Not<T>
extends
Negative
<T>
Class Inheritance
java.lang.Object
org.assertj.core.api.Condition
org.assertj.core.condition.Negative
org.assertj.core.condition.Not
Imports
org.
assertj.
core.
api.
Condition
Returns
true
if the condition is not satisfied.
Authors
Nicolas François, Mikhail Mazursky
Field Summary
Inherited from
org.assertj.core.condition.Negative
:
condition
Constructor Summary
Access
Constructor and Description
private
Not
(
Condition
<
? super T
> condition
)
Method Summary
Modifier and Type
Method and Description
public
static
<
the type of value the
Condition
applies to.
T
>
Not
<T>
Returns:
The Not condition created.
not
(
Condition
<
? super T
>
the condition to inverse.
condition
)
Creates a new
Not
.
Inherited from
org.assertj.core.condition.Negative
:
matches
Constructor Detail
Not
back to summary
private
Not
(
Condition
<
? super T
> condition
)
Method Detail
not
back to summary
public
static
<T>
Not
<T>
not
(
Condition
<
? super T
> condition
)
Creates a new
Not
.
Parameters
<T>
the type of value the
Condition
applies to.
condition:
Condition
<
? super T
>
the condition to inverse.
Returns:
Not
<T>
The Not condition created.