|
Cytoscape 3.1.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Predicate>
org.cytoscape.filter.predicates.Predicate
public enum Predicate
Various predicates that can be used to test conditions in
Transformers
. Implementations are free to support any subset of
the predicates listed here.
Module: filter-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>filter-api</artifactId> </dependency>
Enum Constant Summary | |
---|---|
BETWEEN
A ternary predicate that tests whether the first parameter is greater than or equal to the second parameter, and less than or equal to the third parameter. |
|
CONTAINS
A binary predicate that tests whether the first parameter is contained within the second parameter. |
|
DOES_NOT_CONTAIN
A binary predicate that tests whether the first parameter does not contain the second parameter. |
|
GREATER_THAN
A binary predicate that tests whether the first parameter is greater than the second. |
|
GREATER_THAN_OR_EQUAL
A binary predicate that tests whether the first parameter is greater than or equal to the second. |
|
IS
A binary predicate that tests whether the first parameter is equal to the second. |
|
IS_NOT
A binary predicate that tests whether the first parameter is not equal to the second. |
|
LESS_THAN
A binary predicate that tests whether the first parameter is less than the second. |
|
LESS_THAN_OR_EQUAL
A binary predicate that tests whether the first parameter is less than or equal to the second. |
|
REGEX
A binary predicate that tests whether the first parameter matches a regular expression (second parameter). |
Method Summary | |
---|---|
static Predicate |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Predicate[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Predicate IS
public static final Predicate IS_NOT
public static final Predicate GREATER_THAN
public static final Predicate GREATER_THAN_OR_EQUAL
public static final Predicate LESS_THAN
public static final Predicate LESS_THAN_OR_EQUAL
public static final Predicate BETWEEN
public static final Predicate CONTAINS
public static final Predicate DOES_NOT_CONTAIN
public static final Predicate REGEX
Method Detail |
---|
public static Predicate[] values()
for (Predicate c : Predicate.values()) System.out.println(c);
public static Predicate valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
Cytoscape 3.1.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |