public static enum CyEdge.Type extends Enum<CyEdge.Type>
CyNetwork to restrict
the edges that match a query.| Enum Constant and Description |
|---|
ANY
matches any edge
|
DIRECTED
matches directed edges regardless of whether this node is the source or the target
|
INCOMING
matches either undirected edges or directed edges that end with this node
|
OUTGOING
matches either undirected edges or directed edges that start with this node
|
UNDIRECTED
matches only undirected edges
|
| Modifier and Type | Method and Description |
|---|---|
static CyEdge.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CyEdge.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CyEdge.Type UNDIRECTED
public static final CyEdge.Type INCOMING
public static final CyEdge.Type OUTGOING
public static final CyEdge.Type DIRECTED
public static final CyEdge.Type ANY
public static CyEdge.Type[] values()
for (CyEdge.Type c : CyEdge.Type.values()) System.out.println(c);
public static CyEdge.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright 2011 Cytoscape Consortium. All rights reserved.