Package edu.uci.ics.jung.io.graphml
Enum Metadata.MetadataType
- java.lang.Object
-
- java.lang.Enum<Metadata.MetadataType>
-
- edu.uci.ics.jung.io.graphml.Metadata.MetadataType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Metadata.MetadataType>
- Enclosing interface:
- Metadata
public static enum Metadata.MetadataType extends java.lang.Enum<Metadata.MetadataType>
Metadata type enumeration
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Metadata.MetadataType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Metadata.MetadataType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GRAPH
public static final Metadata.MetadataType GRAPH
-
NODE
public static final Metadata.MetadataType NODE
-
EDGE
public static final Metadata.MetadataType EDGE
-
HYPEREDGE
public static final Metadata.MetadataType HYPEREDGE
-
PORT
public static final Metadata.MetadataType PORT
-
ENDPOINT
public static final Metadata.MetadataType ENDPOINT
-
-
Method Detail
-
values
public static Metadata.MetadataType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Metadata.MetadataType c : Metadata.MetadataType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Metadata.MetadataType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-