RelativePositionExtractor implements
    FeatureExtractor2<T, U> { private boolean contains(Annotation a1, Annotation a2) { return a1.getBegin() <= a2.getBegin() && a1.getEnd() >= a2.getEnd(); }  List<Feature> extract(JCas view, T annotation1, U annotation2); static final String EQUALS; static final String CONTAINS; static final String CONTAINEDBY; static final String OVERLAPS_LEFT; static final String OVERLAPS_RIGHT; static final String LEFTOF; static final String RIGHTOF; }
@Test public void testContains() { this.testOne(5, 8, 6, 7, "CONTAINS"); this.testOne(5, 8, 5, 7, "CONTAINS"); this.testOne(5, 8, 6, 8, "CONTAINS"); }