public final class AnnotationPredicates extends Object
Constructor and Description |
---|
AnnotationPredicates() |
Modifier and Type | Method and Description |
---|---|
static boolean |
beginningWith(AnnotationFS aX,
AnnotationFS aY) |
static boolean |
beginningWith(AnnotationFS aX,
int aYBegin,
int aYEnd) |
static boolean |
beginningWith(int aXBegin,
int aXEnd,
int aYBegin,
int aYEnd) |
static boolean |
colocated(AnnotationFS aX,
AnnotationFS aY)
X starts and ends at the same position as Y.
|
static boolean |
colocated(AnnotationFS aX,
int aYBegin,
int aYEnd) |
static boolean |
colocated(int aXBegin,
int aXEnd,
int aYBegin,
int aYEnd) |
static boolean |
coveredBy(AnnotationFS aX,
AnnotationFS aY)
Y is starting before or at the same position as A and ends after or at the same position as X.
|
static boolean |
coveredBy(AnnotationFS aX,
int aYBegin,
int aYEnd) |
static boolean |
coveredBy(int aXBegin,
int aXEnd,
int aYBegin,
int aYEnd) |
static boolean |
covering(AnnotationFS aX,
AnnotationFS aY)
X is starting before or at the same position as Y and ends after or at the same position as Y.
|
static boolean |
covering(AnnotationFS aX,
int aYBegin,
int aYEnd) |
static boolean |
covering(int aXBegin,
int aXEnd,
int aYBegin,
int aYEnd) |
static boolean |
endingWith(AnnotationFS aX,
AnnotationFS aY) |
static boolean |
endingWith(AnnotationFS aX,
int aYBegin,
int aYEnd) |
static boolean |
endingWith(int aXBegin,
int aXEnd,
int aYBegin,
int aYEnd) |
static boolean |
following(AnnotationFS aX,
AnnotationFS aY)
X starts at or after the position that Y ends.
|
static boolean |
following(AnnotationFS aX,
int aYBegin,
int aYEnd) |
static boolean |
following(int aXBegin,
int aXEnd,
int aYBegin,
int aYEnd) |
static boolean |
overlapping(AnnotationFS aX,
AnnotationFS aY)
The intersection of the spans X and Y is non-empty.
|
static boolean |
overlapping(AnnotationFS aX,
int aYBegin,
int aYEnd) |
static boolean |
overlapping(int aXBegin,
int aXEnd,
int aYBegin,
int aYEnd) |
static boolean |
overlappingAtBegin(AnnotationFS aX,
AnnotationFS aY)
X is starting before or at the same position as Y and ends before Y ends.
|
static boolean |
overlappingAtBegin(AnnotationFS aX,
int aYBegin,
int aYEnd) |
static boolean |
overlappingAtBegin(int aXBegin,
int aXEnd,
int aYBegin,
int aYEnd) |
static boolean |
overlappingAtEnd(AnnotationFS aX,
AnnotationFS aY)
X is starting after Y starts and ends after or at the same position as Y.
|
static boolean |
overlappingAtEnd(AnnotationFS aX,
int aYBegin,
int aYEnd) |
static boolean |
overlappingAtEnd(int aXBegin,
int aXEnd,
int aYBegin,
int aYEnd) |
static boolean |
preceding(AnnotationFS aX,
AnnotationFS aY)
X ends before or at the position that Y starts.
|
static boolean |
preceding(AnnotationFS aX,
int aYBegin,
int aYEnd) |
static boolean |
preceding(int aXBegin,
int aXEnd,
int aYBegin,
int aYEnd) |
public static boolean coveredBy(int aXBegin, int aXEnd, int aYBegin, int aYEnd)
public static boolean coveredBy(AnnotationFS aX, int aYBegin, int aYEnd)
public static boolean coveredBy(AnnotationFS aX, AnnotationFS aY)
aX
- XaY
- Ypublic static boolean covering(int aXBegin, int aXEnd, int aYBegin, int aYEnd)
public static boolean covering(AnnotationFS aX, int aYBegin, int aYEnd)
public static boolean covering(AnnotationFS aX, AnnotationFS aY)
aX
- XaY
- Ypublic static boolean colocated(int aXBegin, int aXEnd, int aYBegin, int aYEnd)
public static boolean colocated(AnnotationFS aX, int aYBegin, int aYEnd)
public static boolean colocated(AnnotationFS aX, AnnotationFS aY)
aX
- XaY
- Ypublic static boolean overlapping(int aXBegin, int aXEnd, int aYBegin, int aYEnd)
public static boolean overlapping(AnnotationFS aX, int aYBegin, int aYEnd)
public static boolean overlapping(AnnotationFS aX, AnnotationFS aY)
aX
- XaY
- Ypublic static boolean overlappingAtBegin(int aXBegin, int aXEnd, int aYBegin, int aYEnd)
public static boolean overlappingAtBegin(AnnotationFS aX, int aYBegin, int aYEnd)
public static boolean overlappingAtBegin(AnnotationFS aX, AnnotationFS aY)
aX
- XaY
- Ypublic static boolean overlappingAtEnd(int aXBegin, int aXEnd, int aYBegin, int aYEnd)
public static boolean overlappingAtEnd(AnnotationFS aX, int aYBegin, int aYEnd)
public static boolean overlappingAtEnd(AnnotationFS aX, AnnotationFS aY)
aX
- XaY
- Ypublic static boolean following(int aXBegin, int aXEnd, int aYBegin, int aYEnd)
public static boolean following(AnnotationFS aX, int aYBegin, int aYEnd)
public static boolean following(AnnotationFS aX, AnnotationFS aY)
aX
- XaY
- Ypublic static boolean preceding(int aXBegin, int aXEnd, int aYBegin, int aYEnd)
public static boolean preceding(AnnotationFS aX, int aYBegin, int aYEnd)
public static boolean preceding(AnnotationFS aX, AnnotationFS aY)
aX
- XaY
- Ypublic static boolean beginningWith(int aXBegin, int aXEnd, int aYBegin, int aYEnd)
public static boolean beginningWith(AnnotationFS aX, int aYBegin, int aYEnd)
public static boolean beginningWith(AnnotationFS aX, AnnotationFS aY)
public static boolean endingWith(int aXBegin, int aXEnd, int aYBegin, int aYEnd)
public static boolean endingWith(AnnotationFS aX, int aYBegin, int aYEnd)
public static boolean endingWith(AnnotationFS aX, AnnotationFS aY)
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.