On 13 April 2015 at 19:21, Benedikt Ritter <brit...@apache.org> wrote:
> 2015-04-13 2:27 GMT+02:00 Matt Benson <gudnabr...@gmail.com>:
>
>> +1 to what Peter said: it's a functional interface so it is
>> lambda-compatible anyway.
>>
>
> Well, yes it would be a functional interface, but it would lack all the
> default methods defined in java.util.function.Predicate if we don't extend
> it later.

Agreed, I was trying to get that point across with my last comment:

>> > > public interface ThreadPredicate extends
>> > java.util.function.Predicate<Thread>
>> >
>> > This change is useful once JDK-8 is the baseline, as it would only add
>> > features (all of the default methods) from Predicate, not remove any
>> > features or backwards compatibility.

Cheers,

Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to