edu.uci.ics.jung.io
Enum GraphMLReader.KeyType

java.lang.Object
  extended by java.lang.Enum<GraphMLReader.KeyType>
      extended by edu.uci.ics.jung.io.GraphMLReader.KeyType
All Implemented Interfaces:
Serializable, Comparable<GraphMLReader.KeyType>
Enclosing class:
GraphMLReader<G extends Hypergraph<V,E>,V,E>

protected static enum GraphMLReader.KeyType
extends Enum<GraphMLReader.KeyType>


Enum Constant Summary
ALL
           
EDGE
           
GRAPH
           
NONE
           
VERTEX
           
 
Method Summary
static GraphMLReader.KeyType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GraphMLReader.KeyType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NONE

public static final GraphMLReader.KeyType NONE

VERTEX

public static final GraphMLReader.KeyType VERTEX

EDGE

public static final GraphMLReader.KeyType EDGE

GRAPH

public static final GraphMLReader.KeyType GRAPH

ALL

public static final GraphMLReader.KeyType ALL
Method Detail

values

public static final GraphMLReader.KeyType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(GraphMLReader.KeyType c : GraphMLReader.KeyType.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static GraphMLReader.KeyType 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


Copyright © 2009. All Rights Reserved.