Top "Predicate" questions

A Predicate is a method which represents a set of criteria and decides for a given object if these criteria are fulfilled or not.

Xpath expression with multiple predicates

I am trying to build a complex xpath expression which will answer the following condition. From the XML data below, …

xml xpath predicate
OData $filter with multiple predicates

If I have two entities in my model, "People" and "Addresses", and a particular Person has zero or more addresses, …

wcf filter odata predicate
How do I form a good predicate delegate to Find() something in my List<T>?

After looking on MSDN, it's still unclear to me how I should form a proper predicate to use the Find() …

c# list delegates find predicate
How to apply multiple predicates to a java.util.Stream?

How can I apply multiple predicates to a java.util.Stream's filter() method? This is what I do now, but …

java lambda java-8 java-stream predicate
What is predicate in C++?

Can you give some example or a link to a topic.

c++ class structure predicate
Why Func<T,bool> instead of Predicate<T>?

This is just a curiosity question I was wondering if anyone had a good answer to: In the .NET Framework …

c# .net predicate func
Howto use predicates in LINQ to Entities for Entity Framework objects

I'm using LINQ to Entities for Entity Framework objects in my Data Access Layer. My goal is to filter as …

c# entity-framework linq-to-entities predicate linqkit
Built-in Java 8 predicate that always returns true?

Google Guava has a predicate that always returns true. Does Java 8 have something similar for its Predicate? I know I …

java lambda java-8 predicate
What is the purpose of "!" and "?" at the end of method names?

Sometimes I see methods in Ruby that have "?" and "!" at the end of them, e.g: name = "sample_string" name.…

ruby methods syntax predicate syntactic-sugar
How to write a BOOL predicate in Core Data?

I have an attribute of type BOOL and I want to perform a search for all managed objects where this …

iphone ios ipad core-data predicate