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

The type of expressions that can match sets.
  • Method Details

    • map

      <U> CAComparisonSetType<U> map(Function<T,U> f)
      Produce a new comparison over values transformed with f.
      Type Parameters:
      U - The type of results
      Parameters:
      f - The transform
      Returns:
      A new comparison
    • matches

      boolean matches(Set<T> other)
      Parameters:
      other - The set
      Returns:
      true if this comparison matches the given set