and

infix fun <T : Any> PredicateSpecification<T>.and(other: PredicateSpecification<T>): PredicateSpecification<T>(source)

ANDs the given PredicateSpecification to the current one.

Receiver

T – the type of the entity.

Return

The conjunction of the specifications.

Parameters

other

the other PredicateSpecification.


fun <T : Any> and(vararg predicateSpecification: PredicateSpecification<T>): PredicateSpecification<T>(source)

ANDs all the given PredicateSpecifications together.

Return

The conjunction of all specifications.

Parameters

T

– the type of the entity.

predicateSpecification

– the PredicateSpecifications to combine.