Top Description Fields Constructors Methods
org.assertj.core.condition

public Class Not<T>

extends Negative<T>
Class Inheritance
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

AccessConstructor and Description
private
Not(Condition<? super T> condition)

Method Summary

Modifier and TypeMethod 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

Notback to summary
private Not(Condition<? super T> condition)

Method Detail

notback 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.