Checking contextual integrity

Cantor, Scott cantor.2 at osu.edu
Thu May 30 13:12:15 EDT 2013


On 5/30/13 1:07 PM, "Ian Young" <ian at iay.org.uk> wrote:

>
>On 30 May 2013, at 17:56, "Cantor, Scott" <cantor.2 at osu.edu> wrote:
>
>> Indeterminate result.
>
>I'm assuming we've considered and rejected the handler-chain kind of
>pattern, where you have two boolean methods:
>
>	boolean applicable();
>
>and
>
>	boolean apply();
>
>Which I guess is rather like the higher level pattern used for attribute
>filtering, come to think of it.

I hadn't. If that looks cleaner, ok, but I think it would still break from
the Predicate interface anyway.

My intuition is that it might be slower in some cases, requiring
duplication of activity in the two boolean methods.

-- Scott




More information about the dev mailing list