Interface CAComparisonExactType<T>
- Type Parameters:
T- The type of values
- All Superinterfaces:
CAComparisonType
- All Known Implementing Classes:
CAComparisonExactType.Anything, CAComparisonExactType.IsEqualTo, CAComparisonExactType.IsNotEqualTo
public sealed interface CAComparisonExactType<T>
extends CAComparisonType
permits CAComparisonExactType.Anything<T>, CAComparisonExactType.IsEqualTo<T>, CAComparisonExactType.IsNotEqualTo<T>
The type of expressions that can only match values exactly.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordMatch any value.static final recordMatch a value exactly.static final recordMatch a value exactly. -
Method Summary
Modifier and TypeMethodDescription<U> CAComparisonExactType<U> Produce a new comparison over values transformed withf.
-
Method Details
-
map
Produce a new comparison over values transformed withf.- Type Parameters:
U- The type of results- Parameters:
f- The transform- Returns:
- A new comparison
-