edu.uci.ics.jung.io.graphml
Enum Metadata.MetadataType

java.lang.Object
  extended by java.lang.Enum<Metadata.MetadataType>
      extended by edu.uci.ics.jung.io.graphml.Metadata.MetadataType
All Implemented Interfaces:
Serializable, Comparable<Metadata.MetadataType>
Enclosing interface:
Metadata

public static enum Metadata.MetadataType
extends Enum<Metadata.MetadataType>

Metadata type enumeration


Enum Constant Summary
EDGE
           
ENDPOINT
           
GRAPH
           
HYPEREDGE
           
NODE
           
PORT
           
 
Method Summary
static Metadata.MetadataType valueOf(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.
 
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

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(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2011. All Rights Reserved.