grafos
Enum TipoDeRepresentacao

java.lang.Object
  extended by java.lang.Enum<TipoDeRepresentacao>
      extended by grafos.TipoDeRepresentacao
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TipoDeRepresentacao>

public enum TipoDeRepresentacao
extends java.lang.Enum<TipoDeRepresentacao>

Indica o tipo de representacao a ser instanciado em memoria.


Enum Constant Summary
LISTA_DE_ADJACENCIA
           
MATRIZ_DE_ADJACENCIA
           
MATRIZ_DE_INCIDENCIA
           
 
Method Summary
static TipoDeRepresentacao valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TipoDeRepresentacao[] 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

MATRIZ_DE_ADJACENCIA

public static final TipoDeRepresentacao MATRIZ_DE_ADJACENCIA

MATRIZ_DE_INCIDENCIA

public static final TipoDeRepresentacao MATRIZ_DE_INCIDENCIA

LISTA_DE_ADJACENCIA

public static final TipoDeRepresentacao LISTA_DE_ADJACENCIA
Method Detail

values

public static TipoDeRepresentacao[] 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 (TipoDeRepresentacao c : TipoDeRepresentacao.values())
    System.out.println(c);

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

valueOf

public static TipoDeRepresentacao 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 name
java.lang.NullPointerException - if the argument is null