Package org.cytoscape.group.data
Enum Class AttributeHandlingType
- All Implemented Interfaces:
Serializable
,Comparable<AttributeHandlingType>
,java.lang.constant.Constable
The AttributeHandlingType enum contains the list of all of the
different ways that attributes can be aggregated. Note that there
is no explicit mapping from attribute type to allowable attribute
aggregation type. That mapping is contained within the various
AttributeHandlingType arrays defined below.
Cytoscape Backwards Compatibility (Enum): This class is an enum therefore can't be extended by users. This means that we may add methods or enum values for minor version updates. Methods or enum values will only be removed for major version updates.
Module: group-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>group-api</artifactId> </dependency>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAggregated as a logical AND of all values.Aggregated as the average of all values.Aggregated as a concatenation of all values.Aggregated as comma-separated values.Default, no aggregation.Aggregated as the maximum value.Aggregated as most common value.Aggregated as the median value.Aggregated as the minimum value.No aggregation.Aggregated as a logical OR of all values.Aggregated as the sum of all values.Aggregated as tab-separated values.Aggregated as unique values. -
Method Summary
Modifier and TypeMethodDescriptiontoString()
Returns a human readable name for this enum value.static AttributeHandlingType
Returns the enum constant of this class with the specified name.static AttributeHandlingType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
No aggregation. -
CSV
Aggregated as comma-separated values. -
TSV
Aggregated as tab-separated values. -
MCV
Aggregated as most common value. -
SUM
Aggregated as the sum of all values. -
AVG
Aggregated as the average of all values. -
MIN
Aggregated as the minimum value. -
MAX
Aggregated as the maximum value. -
MEDIAN
Aggregated as the median value. -
CONCAT
Aggregated as a concatenation of all values. -
UNIQUE
Aggregated as unique values. -
AND
Aggregated as a logical AND of all values. -
OR
Aggregated as a logical OR of all values. -
DEFAULT
Default, no aggregation.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
Returns a human readable name for this enum value.- Overrides:
toString
in classEnum<AttributeHandlingType>
- Returns:
- a human readable name for this enum value.
-