]> git.argeo.org Git - lgpl/argeo-commons.git/blob - search/Intersection.java
Prepare next development cycle
[lgpl/argeo-commons.git] / search / Intersection.java
1 package org.argeo.api.acr.search;
2
3 /** A composition which is the intersection of sets (AND). */
4 public class Intersection implements Composition {
5 ContentFilter<Intersection> filter;
6
7 @SuppressWarnings("unchecked")
8 public Intersection(ContentFilter<?> filter) {
9 this.filter = (ContentFilter<Intersection>) filter;
10 }
11
12 public ContentFilter<Intersection> and() {
13 return filter;
14 }
15
16 }