aboutsummaryrefslogtreecommitdiffstats
path: root/gwtquery-core/src/main/java/gwtquery/client/Predicate.java
diff options
context:
space:
mode:
authorRay Cromwell <cromwellian@gmail.com>2009-04-22 23:27:30 +0000
committerRay Cromwell <cromwellian@gmail.com>2009-04-22 23:27:30 +0000
commitba2b023d7c2786c9d3a78635fffc58f48e889e9b (patch)
treecd1c3897953550c6f8cfe795b4767fca3981858f /gwtquery-core/src/main/java/gwtquery/client/Predicate.java
parentb064fbb8c7ffe89a414110a9d2732eaf846329a3 (diff)
downloadgwtquery-ba2b023d7c2786c9d3a78635fffc58f48e889e9b.tar.gz
gwtquery-ba2b023d7c2786c9d3a78635fffc58f48e889e9b.zip
interrim commit
Diffstat (limited to 'gwtquery-core/src/main/java/gwtquery/client/Predicate.java')
-rw-r--r--gwtquery-core/src/main/java/gwtquery/client/Predicate.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/gwtquery-core/src/main/java/gwtquery/client/Predicate.java b/gwtquery-core/src/main/java/gwtquery/client/Predicate.java
new file mode 100644
index 00000000..feb7b644
--- /dev/null
+++ b/gwtquery-core/src/main/java/gwtquery/client/Predicate.java
@@ -0,0 +1,10 @@
+package gwtquery.client;
+
+import com.google.gwt.dom.client.Element;
+
+/**
+ * A predicate function used by some GQuery methods.
+ */
+public interface Predicate {
+ boolean f(Element e, int index);
+}