|
Cytoscape 3.0.0-beta1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ArgType>
org.cytoscape.equations.ArgType
public enum ArgType
An enum specifying a function argument type.
Enum Constant Summary | |
---|---|
ANY
Any scalar argument. |
|
ANY_LIST
One or more lists with arbitrary member element types and/or one or more scalars. |
|
BOOL
An argument that can be converted to a boolean. |
|
BOOLS
An non-empty sequence of arguments that consist of lists of booleans and scalars that can be converted to a boolean. |
|
FLOAT
An argument that can be converted to a floating point value. |
|
FLOATS
An non-empty sequence of arguments that consist of lists of floating point numbers and scalars that can be converted to a floating point number. |
|
INT
An argument that can be converted to an integer. |
|
INTS
An non-empty sequence of arguments that consist of lists of integers and scalars that can be converted to an integer. |
|
OPT_ANY_LIST
Zero or more lists with arbitrary member element types and/or zero or more scalars. |
|
OPT_BOOL
An optional boolean argument. |
|
OPT_BOOLS
Zero or more arguments that consist of lists of booleans and scalars that can be converted to a boolean. |
|
OPT_FLOAT
An optional floating point argument. |
|
OPT_FLOATS
Zero or more arguments that consist of lists of floating point numbers and scalars that can be converted to a floating point number. |
|
OPT_INT
An optional integer argument. |
|
OPT_INTS
Zero or more arguments that consist of lists of integers and scalars that can be converted to an integer. |
|
OPT_STRICT_BOOL
An optional boolean argument. |
|
OPT_STRICT_FLOAT
An optional floating point number argument. |
|
OPT_STRICT_INT
An optional integer argument. |
|
OPT_STRICT_STRING
An optional string argument. |
|
OPT_STRING
An optional string argument. |
|
OPT_STRINGS
Zero or more arguments that consist of lists of strings and scalars that can be converted to a string. |
|
STRICT_ANY_LIST
A list with arbitrary member element types. |
|
STRICT_BOOL
A single boolean argument. |
|
STRICT_FLOAT
A single floating point number argument. |
|
STRICT_INT
A singke integer argument. |
|
STRICT_STRING
A single string argument. |
|
STRING
An argument that can be converted to a string. |
|
STRINGS
An non-empty sequence of arguments that consist of lists of strings and scalars that can be converted to a string. |
Method Summary | |
---|---|
boolean |
acceptsMultipleArgs()
Returns true if this type accepts multiple args. |
Class[] |
getCompatibleTypes()
Returns an array of compatible Class types. |
boolean |
isOptional()
Returns true if this type is optional. |
static ArgType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ArgType[] |
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 ArgType INT
public static final ArgType FLOAT
public static final ArgType STRING
public static final ArgType BOOL
public static final ArgType ANY
public static final ArgType INTS
public static final ArgType FLOATS
public static final ArgType STRINGS
public static final ArgType BOOLS
public static final ArgType STRICT_INT
public static final ArgType STRICT_FLOAT
public static final ArgType STRICT_STRING
public static final ArgType STRICT_BOOL
public static final ArgType OPT_INT
public static final ArgType OPT_FLOAT
public static final ArgType OPT_STRING
public static final ArgType OPT_BOOL
public static final ArgType OPT_INTS
public static final ArgType OPT_FLOATS
public static final ArgType OPT_STRINGS
public static final ArgType OPT_BOOLS
public static final ArgType OPT_STRICT_INT
public static final ArgType OPT_STRICT_FLOAT
public static final ArgType OPT_STRICT_STRING
public static final ArgType OPT_STRICT_BOOL
public static final ArgType ANY_LIST
public static final ArgType STRICT_ANY_LIST
public static final ArgType OPT_ANY_LIST
Method Detail |
---|
public static ArgType[] values()
for (ArgType c : ArgType.values()) System.out.println(c);
public static ArgType 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 nullpublic boolean isOptional()
public boolean acceptsMultipleArgs()
public Class[] getCompatibleTypes()
|
Cytoscape 3.0.0-beta1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |