Interface CAComparisonSetType<T>
- Type Parameters:
T- The type of values
- All Superinterfaces:
CAComparisonType
- All Known Implementing Classes:
CAComparisonSetType.Anything,CAComparisonSetType.IsEqualTo,CAComparisonSetType.IsNotEqualTo,CAComparisonSetType.IsOverlapping,CAComparisonSetType.IsSubsetOf,CAComparisonSetType.IsSupersetOf
public sealed interface CAComparisonSetType<T>
extends CAComparisonType
permits CAComparisonSetType.Anything<T>, CAComparisonSetType.IsSubsetOf<T>, CAComparisonSetType.IsSupersetOf<T>, CAComparisonSetType.IsOverlapping<T>, CAComparisonSetType.IsEqualTo<T>, CAComparisonSetType.IsNotEqualTo<T>
The type of expressions that can match sets.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordMatch any set.static final recordMatch a value exactly.static final recordMatch a value exactly.static final recordMatch values that overlap the given set.static final recordMatch values that are subsets of the given set.static final recordMatch values that are supersets of the given set. -
Method Summary
-
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
-
matches
-